Class AbstractGroupPostServlet

  extended by javax.servlet.GenericServlet
      extended by
          extended by
              extended by
                  extended by
All Implemented Interfaces:, javax.servlet.Servlet, javax.servlet.ServletConfig
Direct Known Subclasses:
CreateGroupServlet, UpdateGroupServlet

public abstract class AbstractGroupPostServlet
extends AbstractAuthorizablePostServlet

Base class for servlets manipulating groups

See Also:
Serialized Form

Constructor Summary
Method Summary
protected  void updateGroupMembership(SlingHttpServletRequest request, authorizable, java.util.List<Modification> changes)
          Update the group membership based on the ":member" request parameters.
Methods inherited from class
activate, collectContent, deactivate, doPost, externalizePath, getItemPath, getRedirectUrl, handleOperation, hasItemPathPrefix, isSetStatus, processDeletes, requireItemPathPrefix, writeContent
Methods inherited from class
doDelete, doPut, getAllowedRequestMethods, isMethodValid, mayService
Methods inherited from class
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 AbstractGroupPostServlet()
Method Detail


protected void updateGroupMembership(SlingHttpServletRequest request,
                                     java.util.List<Modification> changes)
                              throws javax.jcr.RepositoryException
Update the group membership based on the ":member" request parameters. If the ":member" value ends with @Delete it is removed from the group membership, otherwise it is added to the group membership.

request -
authorizable -

Copyright © 2007-2009. All Rights Reserved.