Class FileDocumentActionHandler

All Implemented Interfaces:
JcmsConstants, JaliosConstants

public class FileDocumentActionHandler extends DocUploadHandler
  • Constructor Details

    • FileDocumentActionHandler

      public FileDocumentActionHandler()
  • 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 EditPublicationHandler
      Returns:
      false if no redirection is needed, true otherwise
      Throws:
      IOException - IO Exception
    • getControllerContext

      protected HashMap<String,Object> getControllerContext()
      Description copied from class: JcmsFormHandler
      Build a controller context. I.E. add request, response and loggedMember.
      Overrides:
      getControllerContext in class EditPublicationHandler
      Returns:
      the HashMap which contains the context
    • setActionStatusToJson

      public void setActionStatusToJson(ActionResult actionResult)
    • getJsonResponse

      public String getJsonResponse()
    • setJsonResponse

      public void setJsonResponse(String jsonResponse)
    • actionToJSon

      protected String actionToJSon(ActionResult actionResult)