|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.GenericServlet org.apache.sling.api.servlets.SlingSafeMethodsServlet org.apache.sling.api.servlets.SlingAllMethodsServlet org.apache.sling.jackrabbit.usermanager.post.AbstractAuthorizablePostServlet org.apache.sling.jackrabbit.usermanager.post.DeleteAuthorizableServlet
public class DeleteAuthorizableServlet
Sling Post Operation implementation for deleting one or more users and/or groups from the jackrabbit UserManager.
Constructor Summary | |
---|---|
DeleteAuthorizableServlet()
|
Method Summary | |
---|---|
protected java.util.Iterator<Resource> |
getApplyToResources(SlingHttpServletRequest request)
Returns an iterator on Resource instances addressed in the
SlingPostConstants.RP_APPLY_TO request parameter. |
protected void |
handleOperation(SlingHttpServletRequest request,
HtmlResponse htmlResponse,
java.util.List<Modification> changes)
Extending Servlet should implement this operation to do the work |
Methods inherited from class org.apache.sling.jackrabbit.usermanager.post.AbstractAuthorizablePostServlet |
---|
activate, collectContent, deactivate, doPost, externalizePath, getItemPath, getRedirectUrl, hasItemPathPrefix, isSetStatus, processDeletes, requireItemPathPrefix, writeContent |
Methods inherited from class org.apache.sling.api.servlets.SlingAllMethodsServlet |
---|
doDelete, doPut, getAllowedRequestMethods, isMethodValid, mayService |
Methods inherited from class org.apache.sling.api.servlets.SlingSafeMethodsServlet |
---|
doGeneric, doGet, doHead, doOptions, doTrace, getServletInfo, handleMethodNotImplemented, service, service |
Methods inherited from class javax.servlet.GenericServlet |
---|
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, init, log, log |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DeleteAuthorizableServlet()
Method Detail |
---|
protected void handleOperation(SlingHttpServletRequest request, HtmlResponse htmlResponse, java.util.List<Modification> changes) throws javax.jcr.RepositoryException
AbstractAuthorizablePostServlet
handleOperation
in class AbstractAuthorizablePostServlet
request
- the sling http request to processhtmlResponse
- the response
javax.jcr.RepositoryException
protected java.util.Iterator<Resource> getApplyToResources(SlingHttpServletRequest request)
Resource
instances addressed in the
SlingPostConstants.RP_APPLY_TO
request parameter. If the request
parameter is not set, null
is returned. If the parameter
is set with valid resources an empty iterator is returned. Any resources
addressed in the SlingPostConstants.RP_APPLY_TO
parameter is
ignored.
request
- The SlingHttpServletRequest
object used to
get the SlingPostConstants.RP_APPLY_TO
parameter.
null
if the parameter is not set in the request.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |