Class PolicyAgreementConfigTextParser
java.lang.Object
pl.edu.icm.unity.engine.api.policyAgreement.PolicyAgreementConfigTextParser
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic pl.edu.icm.unity.base.i18n.I18nString
convertTextToConfig
(Collection<PolicyDocumentWithRevision> policyDocuments, pl.edu.icm.unity.base.i18n.I18nString fromPresentation) static pl.edu.icm.unity.base.i18n.I18nString
convertTextToPresentation
(Collection<PolicyDocumentWithRevision> policyDocuments, pl.edu.icm.unity.base.i18n.I18nString fromConfig) getAllDocsPlaceholdersInConfigText
(pl.edu.icm.unity.base.i18n.I18nString text)
-
Field Details
-
DOC_PLACEHOLDER_PATTER
-
-
Constructor Details
-
PolicyAgreementConfigTextParser
public PolicyAgreementConfigTextParser()
-
-
Method Details
-
getAllDocsPlaceholdersInConfigText
public static Map<Long,PolicyAgreementConfigTextParser.DocPlaceholder> getAllDocsPlaceholdersInConfigText(pl.edu.icm.unity.base.i18n.I18nString text) throws Exception - Throws:
Exception
-
getAllDocsPlaceholdersInConfigText
public static Map<Long,PolicyAgreementConfigTextParser.DocPlaceholder> getAllDocsPlaceholdersInConfigText(String text) -
convertTextToConfig
public static pl.edu.icm.unity.base.i18n.I18nString convertTextToConfig(Collection<PolicyDocumentWithRevision> policyDocuments, pl.edu.icm.unity.base.i18n.I18nString fromPresentation) -
convertTextToPresentation
public static pl.edu.icm.unity.base.i18n.I18nString convertTextToPresentation(Collection<PolicyDocumentWithRevision> policyDocuments, pl.edu.icm.unity.base.i18n.I18nString fromConfig)
-