Class ExportCatListHandler

  • All Implemented Interfaces:
    JcmsConstants, JaliosConstants

    public class ExportCatListHandler
    extends JcmsFormHandler
    Exports a tree of categories to a .txt file.
    Since:
    jcms-10.0.4
    Version:
    $Revision: 122989 $
    Author:
    Sylvain Devaux
    • Constructor Detail

      • ExportCatListHandler

        public ExportCatListHandler()
    • Method Detail

      • processAction

        public boolean processAction()
                              throws java.io.IOException
        Description copied from class: JcmsFormHandler
        Method to be implemented to check/validate action to be performed and process them.

        Default implementation is to return false. No need to call super method.

        This method may NOT be invoked at all if security validation are not met.

        You must ensure your handler and JSP can work properly without any code invoked in this method.

        Overrides:
        processAction in class JcmsFormHandler
        Returns:
        false if no redirection is needed, true otherwise
        Throws:
        java.io.IOException - IO Exception
      • validateExport

        public boolean validateExport()
      • performExport

        public boolean performExport()
      • getAvailableRootCategory

        public Category getAvailableRootCategory()
      • setExportCatList_rootCatId

        public void setExportCatList_rootCatId​(java.lang.String v)
      • getFileContent

        protected java.lang.String getFileContent()
      • setExportCatList_opExport

        public void setExportCatList_opExport​(java.lang.String v)