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)
    Version:
    $Revision: 27753 $
    Author:
    Jean-Philippe Encausse
    See Also:
    Data
    • Field Detail

      • data

        protected Data data
      • workingData

        protected Data workingData
    • Constructor Detail

      • EditExtraDataHandler

        public EditExtraDataHandler()
    • 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 EditDataHandler
        Returns:
        false if no redirection is needed, true otherwise
        Throws:
        java.io.IOException - IO Exception
      • validateUpdate

        public boolean validateUpdate()
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • performUpdate

        public boolean performUpdate()
                              throws java.io.IOException
        Throws:
        java.io.IOException
      • restValidation

        protected boolean restValidation​(boolean result)
                                  throws java.io.IOException
        Overrides:
        restValidation in class EditDataHandler
        Throws:
        java.io.IOException