public class RegexBaseRestrictionHandler extends Handler
Constructor and Description |
---|
RegexBaseRestrictionHandler() |
RegexBaseRestrictionHandler(Set<String> regexPatterns) |
Modifier and Type | Method and Description |
---|---|
void |
addRegExPattern(String regExPattern) |
String |
move(RequestContext requestContext)
Move a resource in the registry.
|
String |
rename(RequestContext requestContext)
Rename a resource in the registry.
|
addAssociation, addComment, applyTag, copy, createLink, createVersion, delete, dump, dumpLite, editComment, equals, executeQuery, get, getAllAssociations, getAssociations, getAverageRating, getComments, getRating, getRegistryContext, getResourcePathsWithTag, getTags, getVersions, hashCode, importChild, importResource, invokeAspect, put, putChild, rateResource, removeAssociation, removeComment, removeLink, removeTag, resourceExists, restore, restoreVersion, searchContent
public void addRegExPattern(String regExPattern)
public String move(RequestContext requestContext) throws RegistryException
Handler
move
in class Handler
requestContext
- Information about the current request.
requestContext.sourcePath: Source/Current Path
requestContext.targetPath: Destination/New PathRegistryException
- if something went wrongpublic String rename(RequestContext requestContext) throws RegistryException
Handler
rename
in class Handler
requestContext
- Information about the current request.
requestContext.sourcePath: Source/Current Path
requestContext.targetPath: Destination/New PathRegistryException
- if something went wrongCopyright © 2016 WSO2 Inc. All Rights Reserved.