Class UpdateProfileAction

    • Constructor Detail

      • UpdateProfileAction

        public UpdateProfileAction()
    • Method Detail

      • handleForm

        public FormActionResult handleForm​(org.apache.sling.api.resource.Resource actionResource,
                                           FormRequest request)
                                    throws FormException
        Description copied from interface: FormAction
        Handle a form submission. The form can be assumed to have been validated.
        Specified by:
        handleForm in interface FormAction
        Parameters:
        actionResource - the configuration to use to configure the form action
        request - the form request to handle
        Returns:
        the result of the action
        Throws:
        FormException - an exception occurs handling the form
      • handles

        public boolean handles​(org.apache.sling.api.resource.Resource actionResource)
        Description copied from interface: FormAction
        Checks if the the Form Action should handle the specified request and action
        Specified by:
        handles in interface FormAction
        Parameters:
        actionResource - the resource to check
        Returns:
        true if this FormAction should handle the configuration, false otherwise