Interface ImportPolicyFilter

    • Method Detail

      • beforeImportData

        boolean beforeImportData​(org.jdom.Document doc,
                                 ImportOptions options,
                                 ImportStatus status,
                                 java.util.Map context)
        This method is called before an import. If it returns false, the import is rejected.
        Parameters:
        doc - the JDOM Document to import
        options - the Import options
        status - the Import status
        context - the import context
        Returns:
        If it returns false, the import is rejected.
        Since:
        jcms-5.7.3
      • afterImportData

        void afterImportData​(org.jdom.Document doc,
                             ImportOptions options,
                             ImportStatus status,
                             java.util.Map context)
        This methods is called after an import as been performed.
        Parameters:
        doc - the JDOM Document that has been imported
        options - the Import options
        status - the Import status
        context - the import context
        Since:
        jcms-5.7.3