Interface IMiscellaneousConfiguration
- All Superinterfaces:
IConfigurationAspect,ISavableConfigurationAspect,IStorableConfiguration<IMiscellaneousConfiguration>
public interface IMiscellaneousConfiguration
extends IStorableConfiguration<IMiscellaneousConfiguration>, IConfigurationAspect
This represents the instance specific configuration (c.f. cloud instance specific
configuration).
- Author:
- I-D Media AG
-
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate a simple XML (XOR to createXliff())booleanShould xliff File format be used (XOR to createSimpleXml())intHow "old" might elements be until they are to be removed from the database and considered "out of date"intIgnore files in translation after X daysbooleanGuess invalid UIDs, i.e.booleanMark FirstSpirit Pages as "translated"booleanMark FirstSpirit Section as "translated"booleanIf a formatted XML is being imported, normalization removes all empty lines and lines containing whitespaces onlybooleanStore status information if an XML has been createdbooleanStore status information if the XML is in translationbooleanStore status information if the XML has been imported into the CMSbooleanValidate job elements' existence before assigning them to a jobMethods inherited from interface com.idmedia.translationstudio.api.configuration.ISavableConfigurationAspect
saveToDiskMethods inherited from interface com.idmedia.translationstudio.api.configuration.IStorableConfiguration
createClone, isEmpty, saveToDisk, toXml
-
Method Details
-
validateJobElements
boolean validateJobElements()Validate job elements' existence before assigning them to a job- Returns:
-
guessInvalidUids
boolean guessInvalidUids()Guess invalid UIDs, i.e. convert - to _ space to _- Returns:
-
markFirstSpiritAsTranslated
boolean markFirstSpiritAsTranslated()Mark FirstSpirit Pages as "translated"- Returns:
-
markFirstSpiritSectionAsTranslated
boolean markFirstSpiritSectionAsTranslated()Mark FirstSpirit Section as "translated"- Returns:
-
createXliff
boolean createXliff()Should xliff File format be used (XOR to createSimpleXml())- Returns:
- true if xliff format should be used
-
createSimpleXml
boolean createSimpleXml()Create a simple XML (XOR to createXliff())- Returns:
-
normalilzeTranslatedXmls
boolean normalilzeTranslatedXmls()If a formatted XML is being imported, normalization removes all empty lines and lines containing whitespaces only- Returns:
-
getHibernateRemoveOldElementsAfterDays
int getHibernateRemoveOldElementsAfterDays()How "old" might elements be until they are to be removed from the database and considered "out of date"- Returns:
- days
-
storeTranslationStatusXmlCreated
boolean storeTranslationStatusXmlCreated()Store status information if an XML has been created- Returns:
-
storeTranslationStatusXmlForwarded
boolean storeTranslationStatusXmlForwarded()Store status information if the XML is in translation- Returns:
-
storeTranslationStatusXmlImported
boolean storeTranslationStatusXmlImported()Store status information if the XML has been imported into the CMS- Returns:
-
getIgnoreConnecorFilesInTranslationAfterDays
int getIgnoreConnecorFilesInTranslationAfterDays()Ignore files in translation after X days- Returns:
-