Uses of Class
org.apache.sling.servlets.post.Modification
Package
Description
-
Uses of Modification in org.apache.sling.jackrabbit.usermanager
Modifier and TypeMethodDescriptionorg.apache.jackrabbit.api.security.user.User
ChangeUserPassword.changePassword
(javax.jcr.Session jcrSession, String name, String oldPassword, String newPassword, String newPasswordConfirm, List<Modification> changes) Update the password of a user in the repositoryorg.apache.jackrabbit.api.security.user.Group
CreateGroup.createGroup
(javax.jcr.Session jcrSession, String name, Map<String, ?> properties, List<Modification> changes) Create a new group for the repositorydefault org.apache.jackrabbit.api.security.user.Group
CreateGroup.createGroup
(javax.jcr.Session jcrSession, Map<String, ?> properties, List<Modification> changes) Create a new group for the repository.org.apache.jackrabbit.api.security.user.User
CreateUser.createUser
(javax.jcr.Session jcrSession, String name, String password, String passwordConfirm, Map<String, ?> properties, List<Modification> changes) Create a new user for the repositorydefault org.apache.jackrabbit.api.security.user.User
CreateUser.createUser
(javax.jcr.Session jcrSession, String password, String passwordConfirm, Map<String, ?> properties, List<Modification> changes) Create a new user for the repository.void
DeleteAuthorizables.deleteAuthorizables
(javax.jcr.Session jcrSession, Resource baseResource, String[] paths, List<Modification> changes) Deletes one or more users or groups from the repositoryvoid
DeleteGroup.deleteGroup
(javax.jcr.Session jcrSession, String name, List<Modification> changes) Deletes a group from the repositoryvoid
DeleteUser.deleteUser
(javax.jcr.Session jcrSession, String name, List<Modification> changes) Deletes a user from the repositoryorg.apache.jackrabbit.api.security.user.Group
UpdateGroup.updateGroup
(javax.jcr.Session jcrSession, String name, Map<String, ?> properties, List<Modification> changes) Update a group in the repositoryorg.apache.jackrabbit.api.security.user.User
UpdateUser.updateUser
(javax.jcr.Session jcrSession, String name, Map<String, ?> properties, List<Modification> changes) Update a user in the repository -
Uses of Modification in org.apache.sling.jackrabbit.usermanager.impl.post
Modifier and TypeMethodDescriptionorg.apache.jackrabbit.api.security.user.User
ChangeUserPasswordServlet.changePassword
(javax.jcr.Session jcrSession, String name, String oldPassword, String newPassword, String newPasswordConfirm, List<Modification> changes) org.apache.jackrabbit.api.security.user.Group
CreateGroupServlet.createGroup
(javax.jcr.Session jcrSession, String name, Map<String, ?> properties, List<Modification> changes) org.apache.jackrabbit.api.security.user.User
CreateUserServlet.createUser
(javax.jcr.Session jcrSession, String name, String password, String passwordConfirm, Map<String, ?> properties, List<Modification> changes) void
DeleteAuthorizableServlet.deleteAuthorizables
(javax.jcr.Session jcrSession, Resource baseResource, String[] paths, List<Modification> changes) void
DeleteAuthorizableServlet.deleteGroup
(javax.jcr.Session jcrSession, String name, List<Modification> changes) void
DeleteAuthorizableServlet.deleteUser
(javax.jcr.Session jcrSession, String name, List<Modification> changes) protected void
AbstractPostServlet.handleOperation
(SlingHttpServletRequest request, AbstractPostResponse response, List<Modification> changes) Deprecated.protected abstract void
AbstractPostServlet.handleOperation
(SlingHttpServletRequest request, PostResponse response, List<Modification> changes) Extending Servlet should implement this operation to do the workprotected void
ChangeUserPasswordServlet.handleOperation
(SlingHttpServletRequest request, PostResponse response, List<Modification> changes) protected void
CreateGroupServlet.handleOperation
(SlingHttpServletRequest request, PostResponse response, List<Modification> changes) protected void
CreateUserServlet.handleOperation
(SlingHttpServletRequest request, PostResponse response, List<Modification> changes) protected void
DeleteAuthorizableServlet.handleOperation
(SlingHttpServletRequest request, PostResponse response, List<Modification> changes) protected void
UpdateGroupServlet.handleOperation
(SlingHttpServletRequest request, PostResponse response, List<Modification> changes) protected void
UpdateUserServlet.handleOperation
(SlingHttpServletRequest request, PostResponse response, List<Modification> changes) protected void
AbstractAuthorizablePostServlet.processCreate
(javax.jcr.Session session, org.apache.jackrabbit.api.security.user.Authorizable authorizable, Map<String, RequestProperty> reqProperties, List<Modification> changes) Create resource(s) according to current requestprotected void
AbstractAuthorizablePostServlet.processDeletes
(org.apache.jackrabbit.api.security.user.Authorizable authorizable, Collection<RequestProperty> reqProperties, List<Modification> changes) Removes all properties listed asRequestProperty.isDelete()
from the authorizable.org.apache.jackrabbit.api.security.user.Group
UpdateGroupServlet.updateGroup
(javax.jcr.Session jcrSession, String name, Map<String, ?> properties, List<Modification> changes) protected void
AbstractGroupPostServlet.updateGroupMembership
(Resource baseResource, Map<String, ?> properties, org.apache.jackrabbit.api.security.user.Authorizable authorizable, List<Modification> changes) Update the group membership based on the ":member" request parameters.org.apache.jackrabbit.api.security.user.User
UpdateUserServlet.updateUser
(javax.jcr.Session jcrSession, String name, Map<String, ?> properties, List<Modification> changes) protected void
AbstractAuthorizablePostServlet.writeContent
(javax.jcr.Session session, org.apache.jackrabbit.api.security.user.Authorizable authorizable, Collection<RequestProperty> reqProperties, List<Modification> changes) Writes back the content -
Uses of Modification in org.apache.sling.jcr.jackrabbit.accessmanager.post
Modifier and TypeMethodDescriptionprotected void
DeleteAcesServlet.deleteAces
(javax.jcr.Session jcrSession, String resourcePath, String[] principalNamesToDelete, List<Modification> changes) protected void
DeletePrincipalAcesServlet.deleteAces
(javax.jcr.Session jcrSession, String resourcePath, String[] principalNamesToDelete, List<Modification> changes) protected void
AbstractAccessPostServlet.handleOperation
(SlingHttpServletRequest request, AbstractPostResponse response, List<Modification> changes) Deprecated.protected abstract void
AbstractAccessPostServlet.handleOperation
(SlingHttpServletRequest request, PostResponse response, List<Modification> changes) Extending Servlet should implement this operation to do the workprotected void
DeleteAcesServlet.handleOperation
(SlingHttpServletRequest request, PostResponse htmlResponse, List<Modification> changes) protected void
ModifyAceServlet.handleOperation
(SlingHttpServletRequest request, PostResponse response, List<Modification> changes) protected void
ModifyAceServlet.modifyAce
(javax.jcr.Session jcrSession, String resourcePath, String principalId, Collection<LocalPrivilege> localPrivileges, String order, boolean autoSave, List<Modification> changes) protected void
ModifyAceServlet.modifyAce
(javax.jcr.Session jcrSession, String resourcePath, String principalId, Map<String, String> privileges, String order, Map<String, javax.jcr.Value> restrictions, Map<String, javax.jcr.Value[]> mvRestrictions, Set<String> removeRestrictionNames, boolean autoSave, List<Modification> changes) -
Uses of Modification in org.apache.sling.servlets.post
Modifier and TypeMethodDescriptionprotected static Modification
Modification.onChange
(ModificationType type, String source) protected static Modification
Modification.onChange
(ModificationType type, String source, String dest) static Modification
static Modification
Modification.onCheckout
(String path) static Modification
Records a 'copied' change.static Modification
Records a 'created' changestatic Modification
Records a 'deleted' changestatic Modification
Modification.onModified
(String path) Records a 'modified' changestatic Modification
Records a 'moved' change.static Modification
Records a 'order' change.static Modification
Modifier and TypeMethodDescriptionprotected void
AbstractPostOperation.checkoutIfNecessary
(javax.jcr.Node node, List<Modification> changes, VersioningConfiguration versioningConfiguration) Deprecated.protected abstract void
AbstractPostOperation.doRun
(SlingHttpServletRequest request, PostResponse response, List<Modification> changes) Deprecated.Actually performs the desired operation filling progress into thechanges
list and preparing and further information in theresponse
.protected abstract void
AbstractSlingPostOperation.doRun
(SlingHttpServletRequest request, HtmlResponse response, List<Modification> changes) Deprecated.protected void
AbstractSlingPostOperation.doRun
(SlingHttpServletRequest request, PostResponse response, List<Modification> changes) Deprecated.Implementation of theAbstractPostOperation.doRun(SlingHttpServletRequest, PostResponse, List)
method calling our ownAbstractSlingPostOperation.run(SlingHttpServletRequest, HtmlResponse, SlingPostProcessor[])
meethod with a proxy for the Sling APIHtmlResponse
.protected void
AbstractPostOperation.orderNode
(SlingHttpServletRequest request, javax.jcr.Item item, List<Modification> changes) Deprecated.Orders the given node according to the specified command.void
SlingPostProcessor.process
(SlingHttpServletRequest request, List<Modification> changes) Process the current request. -
Uses of Modification in org.apache.sling.servlets.post.impl.helper
Modifier and TypeMethodDescriptionJCRSupport.storeAsReference
(Resource resource, Object node, String name, String[] values, int type, boolean multiValued) Stores property value(s) as reference(s).JCRSupportImpl.storeAsReference
(Object n, String name, String[] values, int type, boolean multiValued) Modifier and TypeMethodDescriptionvoid
JCRSupport.checkoutIfNecessary
(Resource rsrc, List<Modification> changes, VersioningConfiguration versioningConfiguration) void
JCRSupportImpl.checkoutIfNecessary
(Resource resource, List<Modification> changes, VersioningConfiguration versioningConfiguration) void
SlingFileUploadHandler.setFile
(Resource parent, RequestProperty prop, List<Modification> changes) Uses the file(s) in the request parameter for creation of new nodes.StreamedChunk.store
(Resource fileResource, List<Modification> changes) Store the chunk in a file resource under a jcr:content sub node.ModifierConstructorDescriptionSlingPropertyValueHandler
(DateParser dateParser, JCRSupport jcrSupport, List<Modification> changes) Constructs a property value handler -
Uses of Modification in org.apache.sling.servlets.post.impl.operations
Modifier and TypeMethodDescriptionprotected abstract void
AbstractPostOperation.doRun
(SlingHttpServletRequest request, PostResponse response, List<Modification> changes) Actually performs the desired operation filling progress into thechanges
list and preparing and further information in theresponse
.protected void
CheckinOperation.doRun
(SlingHttpServletRequest request, PostResponse response, List<Modification> changes) protected void
CheckoutOperation.doRun
(SlingHttpServletRequest request, PostResponse response, List<Modification> changes) protected void
DeleteOperation.doRun
(SlingHttpServletRequest request, PostResponse response, List<Modification> changes) protected void
ImportOperation.doRun
(SlingHttpServletRequest request, PostResponse response, List<Modification> changes) protected void
ModifyOperation.doRun
(SlingHttpServletRequest request, PostResponse response, List<Modification> changes) protected void
RestoreOperation.doRun
(SlingHttpServletRequest request, PostResponse response, List<Modification> changes) protected void
StreamedUploadOperation.doRun
(SlingHttpServletRequest request, PostResponse response, List<Modification> changes) protected Resource
CopyOperation.execute
(List<Modification> changes, Resource source, String destParent, String destName, VersioningConfiguration versioningConfiguration) protected Resource
MoveOperation.execute
(List<Modification> changes, Resource source, String destParent, String destName, VersioningConfiguration versioningConfiguration) protected void
AbstractPostOperation.orderResource
(SlingHttpServletRequest request, Resource resource, List<Modification> changes) Orders the given resource according to the specified command. -
Uses of Modification in org.apache.sling.validation.impl.postprocessor
Modifier and TypeMethodDescriptionvoid
ValidationPostProcessor.process
(SlingHttpServletRequest request, List<Modification> changes)
AbstractPostServlet.handleOperation(SlingHttpServletRequest, PostResponse, List)
instead