Class ExportCategoriesHandler

All Implemented Interfaces:
JcmsConstants, JaliosConstants

public class ExportCategoriesHandler extends JcmsFormHandler
Exports a tree of categories to a .txt file.
Since:
jcms-10.0.4
Author:
Sylvain Devaux
  • Constructor Details

    • ExportCategoriesHandler

      public ExportCategoriesHandler()
  • Method Details

    • processAction

      public boolean processAction() throws 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:
      IOException - IO Exception
    • validateExport

      public boolean validateExport()
    • performExport

      public boolean performExport()
    • getDownloadTicket

      public BinaryFileServlet.DownloadTicket getDownloadTicket()
    • getAvailableRootCategory

      public Category getAvailableRootCategory()
    • setExportCatList_rootCatId

      public void setExportCatList_rootCatId(String v)
    • getFileContent

      protected String getFileContent()
    • setExportCatList_opExport

      public void setExportCatList_opExport(String v)