Class UploadActionsHandler

All Implemented Interfaces:
JcmsConstants, JaliosConstants

public class UploadActionsHandler extends JcmsJsonActionUploadHandler
  • Constructor Details

    • UploadActionsHandler

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

      public String getFile()
    • setFile

      public void setFile(String file)
    • isOpFileUpload

      public boolean isOpFileUpload()
    • setOpFileUpload

      public void setOpFileUpload(boolean opFileUpload)
    • getToken

      public String getToken()
    • setToken

      public void setToken(String token)
    • getField

      public String getField()
    • setField

      public void setField(String field)
    • getFilesUpload

      public String[] getFilesUpload()
    • setFilesUpload

      public void setFilesUpload(String[] filesUpload)
    • isOpProcessFileDocuments

      public boolean isOpProcessFileDocuments()
    • setOpProcessFileDocuments

      public void setOpProcessFileDocuments(boolean opProcessFileDocuments)