Class UpdateUserGeneratedContentAction
- java.lang.Object
-
- org.apache.sling.cms.reference.forms.impl.actions.UpdateUserGeneratedContentAction
-
- All Implemented Interfaces:
FormAction
public class UpdateUserGeneratedContentAction extends Object implements FormAction
-
-
Constructor Summary
Constructors Constructor Description UpdateUserGeneratedContentAction(org.apache.sling.api.resource.ResourceResolverFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormActionResulthandleForm(org.apache.sling.api.resource.Resource actionResource, FormRequest request)Handle a form submission.booleanhandles(org.apache.sling.api.resource.Resource actionResource)Checks if the the Form Action should handle the specified request and action
-
-
-
Method Detail
-
handleForm
public FormActionResult handleForm(org.apache.sling.api.resource.Resource actionResource, FormRequest request) throws FormException
Description copied from interface:FormActionHandle a form submission. The form can be assumed to have been validated.- Specified by:
handleFormin 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:FormActionChecks if the the Form Action should handle the specified request and action- Specified by:
handlesin interfaceFormAction- Parameters:
actionResource- the resource to check- Returns:
- true if this FormAction should handle the configuration, false otherwise
-
-