Class PolicyAgreementConfigTextParser


  • public class PolicyAgreementConfigTextParser
    extends java.lang.Object
    • Field Detail

      • DOC_PLACEHOLDER_PATTER

        public static java.lang.String DOC_PLACEHOLDER_PATTER
    • Constructor Detail

      • PolicyAgreementConfigTextParser

        public PolicyAgreementConfigTextParser()
    • 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
      • 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)