Class PolicyAgreementConfigTextParser
- java.lang.Object
-
- pl.edu.icm.unity.engine.api.policyAgreement.PolicyAgreementConfigTextParser
-
public class PolicyAgreementConfigTextParser extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPolicyAgreementConfigTextParser.DocPlaceholder
-
Field Summary
Fields Modifier and Type Field Description static StringDOC_PLACEHOLDER_PATTER
-
Constructor Summary
Constructors Constructor Description PolicyAgreementConfigTextParser()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static I18nStringconvertTextToConfig(Collection<PolicyDocumentWithRevision> policyDocuments, I18nString fromPresentation)static I18nStringconvertTextToPresentation(Collection<PolicyDocumentWithRevision> policyDocuments, I18nString fromConfig)static Map<Long,PolicyAgreementConfigTextParser.DocPlaceholder>getAllDocsPlaceholdersInConfigText(String text)static Map<Long,PolicyAgreementConfigTextParser.DocPlaceholder>getAllDocsPlaceholdersInConfigText(I18nString text)
-
-
-
Field Detail
-
DOC_PLACEHOLDER_PATTER
public static String DOC_PLACEHOLDER_PATTER
-
-
Method Detail
-
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)
-
-