Class BulkReplaceOperation
java.lang.Object
org.apache.sling.cms.core.internal.operations.BulkReplaceOperation
- All Implemented Interfaces:
org.apache.sling.servlets.post.PostOperation
public class BulkReplaceOperation
extends Object
implements org.apache.sling.servlets.post.PostOperation
The
BulkReplaceOperation class will update all of the properties
applicable to the supplied parameters under the resource for the operation,
replacing the find string with the replacement value.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from interface org.apache.sling.servlets.post.PostOperation
PROP_OPERATION_NAME, SERVICE_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrun(org.apache.sling.api.SlingHttpServletRequest request, org.apache.sling.servlets.post.PostResponse response, org.apache.sling.servlets.post.SlingPostProcessor[] processors)
-
Field Details
-
PN_UPDATE_PROPERTIES
- See Also:
-
MODE_REGEX
- See Also:
-
PN_FIND
- See Also:
-
PN_REPLACE
- See Also:
-
PN_MODE
- See Also:
-
-
Constructor Details
-
BulkReplaceOperation
public BulkReplaceOperation()
-
-
Method Details
-
run
public void run(org.apache.sling.api.SlingHttpServletRequest request, org.apache.sling.servlets.post.PostResponse response, org.apache.sling.servlets.post.SlingPostProcessor[] processors) - Specified by:
runin interfaceorg.apache.sling.servlets.post.PostOperation
-