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