Class EditExtraDataHandler

All Implemented Interfaces:
JcmsConstants, JaliosConstants

public class EditExtraDataHandler extends EditDataHandler
This form handler processes Data's Extra Data forms. It works on existing publication performing Update (no create no delete)
Author:
Jean-Philippe Encausse
See Also:
  • Field Details

    • data

      protected Data data
    • workingData

      protected Data workingData
  • Constructor Details

    • EditExtraDataHandler

      public EditExtraDataHandler()
  • Method Details

    • getDataClass

      public Class getDataClass()
      Specified by:
      getDataClass in class EditDataHandler
    • 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 EditDataHandler
      Returns:
      false if no redirection is needed, true otherwise
      Throws:
      IOException - IO Exception
    • validateUpdate

      public boolean validateUpdate() throws IOException
      Throws:
      IOException
    • performUpdate

      public boolean performUpdate() throws IOException
      Throws:
      IOException
    • restValidation

      protected boolean restValidation(boolean result) throws IOException
      Overrides:
      restValidation in class EditDataHandler
      Throws:
      IOException