Package com.ptc.tml.utils
Class WorkflowAdapter
java.lang.Object
com.ptc.tml.utils.WorkflowAdapter
Deprecated.
This class provides a thin layer around methods that workflow calls to facilitate refactoring without breaking
workflow.
Supported API: true
Supported API: true
-
Method Summary
Modifier and TypeMethodDescriptionstatic ManagedBaselinecreateBaseline(TranslationCollection collection, TmlLog log) Deprecated.UseTranslationProcess.createBaseline(TranslationCollection,TmlLog)instead
Supported API: truestatic FilecreateTranslationPackage(ManagedBaseline baseline, String sourceOid, String sourceLang, String targetLang, String userName, String outputDir, WTContainer contextContainer, TmlLog log) Deprecated.UseTranslationProcess.createTranslationPackage(ManagedBaseline,String,String,String,String,String,WTContainer,TmlLog)instead
Supported API: truestatic FilecreateTranslationQuotePackage(Collection<EPMDocument> docs, TranslationCollection collection, TmlLog log) Deprecated.UseTranslationProcess.createTranslationQuotePackage(Collection <EPMDocument>,TranslationCollection,TmlLog)instead
Supported API: trueexpandDocumentRefs(TranslationCollection collection, TmlLog log) Deprecated.UseTranslationProcess.expandDocumentRefs(TranslationCollection,TmlLog)instead
Supported API: truestatic voidimportTranslationPackage(ManagedBaseline baseline, String sourceLang, String targetLang, File packageFile, WTPrincipal user, TmlImportLog log) Deprecated.UseTranslationProcess.importTranslationPackage(ManagedBaseline,String,String,File,WTPrincipal,TmlImportLog)instead
Supported API: true
-
Method Details
-
createBaseline
@Deprecated public static ManagedBaseline createBaseline(TranslationCollection collection, TmlLog log) throws TranslationException Deprecated.UseTranslationProcess.createBaseline(TranslationCollection,TmlLog)instead
Supported API: trueCreate translation objects as well as a translation baseline from a TranslationCollection- Throws:
TranslationException
-
createTranslationPackage
@Deprecated public static File createTranslationPackage(ManagedBaseline baseline, String sourceOid, String sourceLang, String targetLang, String userName, String outputDir, WTContainer contextContainer, TmlLog log) throws TranslationException Deprecated.UseTranslationProcess.createTranslationPackage(ManagedBaseline,String,String,String,String,String,WTContainer,TmlLog)instead
Supported API: trueCreate a translation package from a translation baseline- Throws:
TranslationException
-
createTranslationQuotePackage
@Deprecated public static File createTranslationQuotePackage(Collection<EPMDocument> docs, TranslationCollection collection, TmlLog log) throws TranslationException Deprecated.UseTranslationProcess.createTranslationQuotePackage(Collection <EPMDocument>,TranslationCollection,TmlLog)instead
Supported API: trueCreate quote packages from a TranslationCollection- Throws:
TranslationException
-
expandDocumentRefs
@Deprecated public static ArrayList<String> expandDocumentRefs(TranslationCollection collection, TmlLog log) throws TranslationException Deprecated.UseTranslationProcess.expandDocumentRefs(TranslationCollection,TmlLog)instead
Supported API: trueConvert a translation collection to a list of document references- Throws:
TranslationException
-
importTranslationPackage
@Deprecated public static void importTranslationPackage(ManagedBaseline baseline, String sourceLang, String targetLang, File packageFile, WTPrincipal user, TmlImportLog log) throws TranslationException Deprecated.UseTranslationProcess.importTranslationPackage(ManagedBaseline,String,String,File,WTPrincipal,TmlImportLog)instead
Supported API: trueImport a translation package- Throws:
TranslationException
-
com.ptc.tml.utils.Translationprocessinstead