public class UserGeneratedContentAction extends Object implements FormAction
Constructor and Description |
---|
UserGeneratedContentAction() |
Modifier and Type | Method and 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
|
public FormActionResult handleForm(org.apache.sling.api.resource.Resource actionResource, FormRequest request) throws FormException
FormAction
handleForm
in interface FormAction
actionResource
- the configuration to use to configure the form actionrequest
- the form request to handleFormException
- an exception occurs handling the formpublic boolean handles(org.apache.sling.api.resource.Resource actionResource)
FormAction
handles
in interface FormAction
actionResource
- the resource to checkCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.