Class CreateUserAction

java.lang.Object
org.apache.sling.cms.reference.forms.impl.actions.CreateUserAction
All Implemented Interfaces:
FormAction

public class CreateUserAction extends Object implements FormAction
  • Field Details

  • Constructor Details

    • CreateUserAction

      public CreateUserAction(org.apache.sling.api.resource.ResourceResolverFactory factory)
  • Method Details

    • 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