Class UpdateProfileAction
- java.lang.Object
-
- org.apache.sling.cms.reference.forms.impl.actions.UpdateProfileAction
-
- All Implemented Interfaces:
FormAction
public class UpdateProfileAction extends Object implements FormAction
-
-
Field Summary
Fields Modifier and Type Field Description static String
RESOURCE_TYPE
-
Constructor Summary
Constructors Constructor Description UpdateProfileAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormActionResult
handleForm(org.apache.sling.api.resource.Resource actionResource, FormRequest request)
Handle a form submission.boolean
handles(org.apache.sling.api.resource.Resource actionResource)
Checks if the the Form Action should handle the specified request and action
-
-
-
Field Detail
-
RESOURCE_TYPE
public static final String RESOURCE_TYPE
- See Also:
- Constant Field Values
-
-
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 interfaceFormAction
- Parameters:
actionResource
- the configuration to use to configure the form actionrequest
- 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 interfaceFormAction
- Parameters:
actionResource
- the resource to check- Returns:
- true if this FormAction should handle the configuration, false otherwise
-
-