Class ImportCDMFrContext

    • Constructor Detail

      • ImportCDMFrContext

        public ImportCDMFrContext​(SynchronizableContentsCollection scc,
                                  Document document,
                                  String lang,
                                  String catalog,
                                  org.slf4j.Logger logger)
        Creates a CDM-fr context
        Parameters:
        scc - The synchronizable content collection
        document - the document that is being imported
        lang - the language of the imported content
        catalog - the catalog which will contain the imported content
        logger - the logger
    • Method Detail

      • getDocument

        public Document getDocument()
        Retrieves the document that is being imported
        Returns:
        the document that is being imported
      • setLang

        public void setLang​(String lang)
        Set the language of the content to import
        Parameters:
        lang - the language of the content to import
      • getLang

        public String getLang()
        Retrieves the language of the imported content
        Returns:
        the language of the imported content
      • getCatalog

        public String getCatalog()
        Retrieves the catalog which will contain the imported content
        Returns:
        the catalog which will contain the imported content
      • getLogger

        public org.slf4j.Logger getLogger()
        Retrieves the logger
        Returns:
        the logger