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 I18nString
convertTextToConfig
(Collection<PolicyDocumentWithRevision> policyDocuments, I18nString fromPresentation) static I18nString
convertTextToPresentation
(Collection<PolicyDocumentWithRevision> policyDocuments, I18nString fromConfig)
-
Field Details
-
DOC_PLACEHOLDER_PATTER
-
-
Constructor Details
-
PolicyAgreementConfigTextParser
public PolicyAgreementConfigTextParser()
-
-
Method Details
-
getAllDocsPlaceholdersInConfigText
public static Map<Long,PolicyAgreementConfigTextParser.DocPlaceholder> getAllDocsPlaceholdersInConfigText(I18nString text) throws Exception - Throws:
Exception
-
getAllDocsPlaceholdersInConfigText
public static Map<Long,PolicyAgreementConfigTextParser.DocPlaceholder> getAllDocsPlaceholdersInConfigText(String text) -
convertTextToConfig
public static I18nString convertTextToConfig(Collection<PolicyDocumentWithRevision> policyDocuments, I18nString fromPresentation) -
convertTextToPresentation
public static I18nString convertTextToPresentation(Collection<PolicyDocumentWithRevision> policyDocuments, I18nString fromConfig)
-