Modifier and Type | Method and Description |
---|---|
boolean |
RemoteRegistry.addAspect(String name,
Aspect aspect) |
void |
RemoteRegistry.addAssociation(String sourcePath,
String associationPaths,
String associationType) |
String |
RemoteRegistry.addComment(String resourcePath,
Comment comment) |
void |
RemoteRegistry.addUser(String userName,
String password,
String confirmPassword,
String roleName,
String friendlyName)
Deprecated.
|
void |
RemoteRegistry.applyTag(String resourcePath,
String tag) |
void |
RemoteRegistry.associateAspect(String resourcePath,
String aspect) |
void |
RemoteRegistry.beginTransaction() |
void |
RemoteRegistry.commitTransaction() |
String |
RemoteRegistry.copy(String sourcePath,
String targetPath) |
void |
RemoteRegistry.createLink(String path,
String target) |
void |
RemoteRegistry.createLink(String path,
String target,
String subTargetPath) |
void |
RemoteRegistry.createVersion(String path) |
void |
RemoteRegistry.delete(String path) |
void |
RemoteRegistry.dump(String path,
int timeout,
Writer writer)
check out the given path as an xml
|
void |
RemoteRegistry.dump(String path,
Writer writer) |
void |
RemoteRegistry.dumpLite(String path,
int timeout,
Writer writer)
check out the given path as an xml
|
void |
RemoteRegistry.dumpLite(String path,
Writer writer) |
void |
RemoteRegistry.editComment(String commentPath,
String text) |
Collection |
RemoteRegistry.executeQuery(String path,
Map parameters) |
Resource |
RemoteRegistry.get(String path) |
Collection |
RemoteRegistry.get(String path,
int start,
int pageSize) |
Association[] |
RemoteRegistry.getAllAssociations(String resourcePath) |
String[] |
RemoteRegistry.getAspectActions(String resourcePath,
String aspectName) |
Association[] |
RemoteRegistry.getAssociations(String resourcePath,
String associationType) |
float |
RemoteRegistry.getAverageRating(String resourcePath) |
Comment[] |
RemoteRegistry.getComments(String _resourcePath) |
UserRegistry |
RemoteRegistryService.getConfigSystemRegistry() |
UserRegistry |
RemoteRegistryService.getConfigSystemRegistry(int tenantId) |
UserRegistry |
RemoteRegistryService.getConfigUserRegistry() |
UserRegistry |
RemoteRegistryService.getConfigUserRegistry(String userName) |
UserRegistry |
RemoteRegistryService.getConfigUserRegistry(String userName,
int tenantId) |
UserRegistry |
RemoteRegistryService.getConfigUserRegistry(String userName,
String password) |
UserRegistry |
RemoteRegistryService.getConfigUserRegistry(String userName,
String password,
int tenantId) |
Object |
RemoteResourceImpl.getContent() |
InputStream |
RemoteResourceImpl.getContentStream() |
static EmbeddedRegistryService |
Utils.getEmbeddedRegistryService()
Method to obtain the embedded registry service instance.
|
String |
RemoteRegistry.getEventingServiceURL(String path) |
UserRegistry |
RemoteRegistryService.getGovernanceSystemRegistry() |
UserRegistry |
RemoteRegistryService.getGovernanceSystemRegistry(int tenantId) |
UserRegistry |
RemoteRegistryService.getGovernanceUserRegistry() |
UserRegistry |
RemoteRegistryService.getGovernanceUserRegistry(String userName) |
UserRegistry |
RemoteRegistryService.getGovernanceUserRegistry(String userName,
int tenantId) |
UserRegistry |
RemoteRegistryService.getGovernanceUserRegistry(String userName,
String password) |
UserRegistry |
RemoteRegistryService.getGovernanceUserRegistry(String userName,
String password,
int tenantId) |
UserRegistry |
RemoteRegistryService.getLocalRepository() |
UserRegistry |
RemoteRegistryService.getLocalRepository(int tenantId) |
LogEntryCollection |
RemoteRegistry.getLogCollection(String resourcePath,
int action,
String userName,
Date from,
Date to,
boolean recentFirst) |
LogEntry[] |
RemoteRegistry.getLogs(String _resourcePath,
int action,
String userName,
Date from,
Date to,
boolean recentFirst) |
Resource |
RemoteRegistry.getMetaData(String path) |
int |
RemoteRegistry.getRating(String path,
String userName) |
UserRegistry |
RemoteRegistryService.getRegistry() |
Registry |
RemoteRegistryFactory.getRegistry()
Deprecated.
|
static UserRegistry |
Utils.getRegistry(javax.servlet.http.HttpServletRequest request)
Method to obtain the registry from the session.
|
UserRegistry |
RemoteRegistryService.getRegistry(String userName) |
UserRegistry |
RemoteRegistryService.getRegistry(String userName,
int tenantId) |
UserRegistry |
RemoteRegistryService.getRegistry(String userName,
int tenantId,
String chroot) |
UserRegistry |
RemoteRegistryService.getRegistry(String userName,
String password) |
Registry |
RemoteRegistryFactory.getRegistry(String username,
String password)
Deprecated.
|
UserRegistry |
RemoteRegistryService.getRegistry(String userName,
String password,
int tenantId) |
UserRegistry |
RemoteRegistryService.getRegistry(String userName,
String password,
int tenantId,
String chroot) |
TaggedResourcePath[] |
RemoteRegistry.getResourcePathsWithTag(String tag) |
UserRegistry |
RemoteRegistryService.getSystemRegistry() |
UserRegistry |
RemoteRegistryService.getSystemRegistry(int tenantId) |
UserRegistry |
RemoteRegistryService.getSystemRegistry(int tenantId,
String chroot) |
Tag[] |
RemoteRegistry.getTags(String resourcePath) |
static int |
RegistryResolver.getTenantId(String userNameWithDomain) |
static String |
RegistryResolver.getUserName(String userNameWithDomain) |
org.wso2.carbon.user.core.UserRealm |
RemoteRegistryService.getUserRealm(int tenantId) |
UserRegistry |
RemoteRegistryService.getUserRegistry() |
UserRegistry |
RemoteRegistryService.getUserRegistry(String userName) |
UserRegistry |
RemoteRegistryService.getUserRegistry(String userName,
int tenantId) |
UserRegistry |
RemoteRegistryService.getUserRegistry(String userName,
int tenantId,
String chroot) |
UserRegistry |
RemoteRegistryService.getUserRegistry(String username,
String password) |
UserRegistry |
RemoteRegistryService.getUserRegistry(String username,
String password,
int tenantId) |
UserRegistry |
RemoteRegistryService.getUserRegistry(String username,
String password,
int tenantId,
String chroot) |
String[] |
RemoteRegistry.getVersions(String path) |
String |
RemoteRegistry.importResource(String suggestedPath,
String sourceURL,
Resource resource) |
void |
RemoteRegistry.invokeAspect(String resourcePath,
String aspectName,
String action) |
void |
RemoteRegistry.invokeAspect(String resourcePath,
String aspectName,
String action,
Map<String,String> parameters) |
String |
RemoteRegistry.move(String currentPath,
String newPath) |
Collection |
RemoteRegistry.newCollection() |
Resource |
RemoteRegistry.newResource() |
String |
RemoteRegistry.put(String suggestedPath,
Resource resource) |
void |
RemoteRegistry.rateResource(String resourcePath,
int rating) |
boolean |
RemoteRegistry.removeAspect(String aspect) |
void |
RemoteRegistry.removeAssociation(String sourcePath,
String associationPaths,
String associationType) |
void |
RemoteRegistry.removeComment(String commentPath) |
void |
RemoteRegistry.removeLink(String path) |
void |
RemoteRegistry.removeTag(String path,
String tag) |
boolean |
RemoteRegistry.removeVersionHistory(String path,
long snapshotId) |
String |
RemoteRegistry.rename(String currentPath,
String newPath) |
boolean |
RemoteRegistry.resourceExists(String path) |
void |
RemoteRegistry.restore(String path,
Reader reader) |
void |
RemoteRegistry.restore(String path,
Reader reader,
int timeout)
check in the input axiom element into database
|
void |
RemoteRegistry.restoreVersion(String versionPath) |
void |
RemoteRegistry.rollbackTransaction() |
Collection |
RemoteRegistry.searchContent(String keywords) |
void |
RemoteRegistry.setEventingServiceURL(String path,
String eventingServiceURL) |
Constructor and Description |
---|
RegistryAdapter(RegistryResolver resolver,
EmbeddedRegistryService embeddedRegistryService)
Deprecated.
|
RemoteRegistry(String registryURL,
String userName,
String password)
To create a remote registry to connect to a secure registry or a registry where we need to
pass userName and the password to perform any operation.
|
RemoteRegistry(URL registryURL,
String userName,
String password)
To create a remote registry to connect to a secure registry or a registry where we need to
pass userName and the password to perform any operation.
|
RemoteRegistryService(String registryURL,
String username,
String password)
Creates a new remote registry service.
|
RemoteRegistryService(String registryURL,
String username,
String password,
org.wso2.carbon.user.core.service.RealmService realmService,
String chroot)
Creates a new remote registry service.
|
RemoteRegistryService(String registryURL,
String username,
String password,
org.wso2.carbon.user.core.service.RealmService realmService,
String chroot,
boolean populateConfiguration)
Creates a new remote registry service.
|
RemoteRegistryService(String registryURL,
String username,
String password,
String chroot)
Creates a new remote registry service.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Registry.addAspect(String name,
Aspect aspect)
Add aspect by passing a name and the aspect object.
|
void |
Registry.addAssociation(String sourcePath,
String targetPath,
String associationType)
Adds an association stating that the resource at "associationPath" associate on the resource
at "associationPath".
|
String |
Registry.addComment(String resourcePath,
Comment comment)
Adds a comment to a resource.
|
void |
Registry.applyTag(String resourcePath,
String tag)
Applies the given tag to the resource in the given path.
|
abstract void |
Aspect.associate(Resource resource,
Registry registry)
Associate a new Resource with this aspect.
|
void |
Registry.associateAspect(String resourcePath,
String aspect)
Associate an Aspect with a resource.
|
String |
Registry.copy(String sourcePath,
String targetPath)
Copy a resource in the registry.
|
void |
Registry.createLink(String path,
String target)
Create a symbolic link or mount a registry
|
void |
Registry.createLink(String path,
String target,
String subTargetPath)
Create a symbolic link or mount a registry
|
void |
Registry.createVersion(String path)
Creates a new version of the resource.
|
void |
CoreRegistry.delete(String path)
Deletes the resource at the given path.
|
void |
Registry.dump(String path,
Writer writer)
Check out the given path as an xml.
|
void |
Registry.dumpLite(String path,
Writer writer)
Check out the given path as an xml.
|
void |
Registry.editComment(String commentPath,
String text)
Change the text of an existing comment.
|
Collection |
Registry.executeQuery(String path,
Map parameters)
Executes a custom query which lives at the given path in the Registry.
|
void |
CollectionImpl.fillCollectionCopy(CollectionImpl collection)
Copy all the values of the current collection attribute to the passed collection.
|
protected ResourceImpl |
ResourceImpl.fillResourceCopy(ResourceImpl resource)
Fill the resource.
|
Resource |
CoreRegistry.get(String path)
Returns the resource at the given path.
|
Collection |
CoreRegistry.get(String path,
int start,
int pageSize)
Returns the Collection at the given path, with the content paginated according to the
arguments.
|
Association[] |
Registry.getAllAssociations(String resourcePath)
Get all associations of the given resource.
|
String[] |
Registry.getAspectActions(String resourcePath,
String aspectName)
Obtain a list of the available actions on a given resource for a given Aspect.
|
Association[] |
Registry.getAssociations(String resourcePath,
String associationType)
Get all associations of the given resource for a give association type.
|
float |
Registry.getAverageRating(String resourcePath)
Returns the average rating for the given resource.
|
int |
CollectionVersionImpl.getChildCount()
Method to return the the number of children.
|
int |
CollectionImpl.getChildCount()
Method to return the the number of children.
|
int |
Collection.getChildCount()
Method to return the the number of children.
|
String[] |
CollectionVersionImpl.getChildren()
Method to return the absolute paths of the children of the collection.
|
String[] |
CollectionImpl.getChildren()
Method to return the children.
|
String[] |
Collection.getChildren()
Method to return the absolute paths of the children of the collection
|
String[] |
CollectionVersionImpl.getChildren(int start,
int pageLen)
Method to return the paths of the selected range of children.
|
String[] |
CollectionImpl.getChildren(int start,
int pageLen)
Method to return the paths of the selected range of children.
|
String[] |
Collection.getChildren(int start,
int pageLen)
Method to return the paths of the selected range of children.
|
Comment[] |
Registry.getComments(String resourcePath)
Get all comments for the given resource.
|
Object |
ResourceImpl.getContent()
Method to get the content of the resource.
|
Object |
Resource.getContent()
Method to get the content of the resource.
|
Object |
Comment.getContent()
Get the comment text.
|
Object |
CollectionVersionImpl.getContent()
Collection's content is a string array, which contains paths of its children.
|
Object |
CollectionImpl.getContent()
Collection's content is a string array, which contains paths of its children.
|
InputStream |
ResourceImpl.getContentStream()
Method to get the content stream.
|
InputStream |
Resource.getContentStream()
Method to get the content stream.
|
String |
Registry.getEventingServiceURL(String path)
Gets the URL of the WS-Eventing Service.
|
LogEntryCollection |
Registry.getLogCollection(String resourcePath,
int action,
String userName,
Date from,
Date to,
boolean recentFirst)
Deprecated.
|
LogEntry[] |
LogEntryCollection.getLogEntries()
Returns an array of log entries filtered by the provided information.
|
LogEntry[] |
LogEntryCollection.getLogEntries(int start,
int pageLen)
Returns an array of log entries filtered by the provided information and in the provided
range.
|
LogEntry[] |
Registry.getLogs(String resourcePath,
int action,
String userName,
Date from,
Date to,
boolean recentFirst)
Returns the logs of the activities occurred in the registry.
|
Resource |
Registry.getMetaData(String path)
Returns the meta data of the resource at a given path.
|
int |
Registry.getRating(String path,
String userName)
Returns the rating given to the specified resource by the given user
|
abstract Registry |
RegistryFactory.getRegistry()
Deprecated.
Get a Registry with no security credentials.
|
abstract Registry |
RegistryFactory.getRegistry(String username,
String password)
Deprecated.
Get a Registry with the provided credentials.
|
TaggedResourcePath[] |
Registry.getResourcePathsWithTag(String tag)
Returns the paths of all Resources that are tagged with the given tag.
|
ResourceImpl |
ResourceImpl.getShallowCopy()
Create a shallow copy of the resource.
|
ResourceImpl |
CollectionImpl.getShallowCopy()
Method to return a shallow copy of a collection.
|
Tag[] |
Registry.getTags(String resourcePath)
Returns all tags used for tagging the given resource.
|
String[] |
Registry.getVersions(String path)
Get a list of all versions of the resource located at the given path.
|
void |
ResourceImporter.importDirectory(String fromURL,
String toPath)
Deprecated.
|
String |
Registry.importResource(String suggestedPath,
String sourceURL,
Resource resource)
Creates a resource by fetching the resource content from the given URL.
|
abstract void |
Aspect.invoke(RequestContext context,
String action)
Do something - action names are aspect-specific, and it's up to the implementation to decide
if a given action is allowed, and what to do if so.
|
void |
Aspect.invoke(RequestContext context,
String action,
Map<String,String> parameters)
Do something - action names are aspect-specific, and it's up to the implementation to decide
if a given action is allowed, and what to do if so.
|
void |
Registry.invokeAspect(String resourcePath,
String aspectName,
String action)
This invokes an action on a specified Aspect, which must be associated with the Resource at
the given path.
|
void |
Registry.invokeAspect(String resourcePath,
String aspectName,
String action,
Map<String,String> parameters)
This invokes an action on a specified Aspect, which must be associated with the Resource at
the given path.
|
String |
Registry.move(String currentPath,
String newPath)
Move a resource in the registry.
|
Collection |
CoreRegistry.newCollection()
Creates a new collection.
|
static RegistryFactory |
RegistryFactory.newInstance()
Deprecated.
Get a Registry instance, using the defaults.
|
static RegistryFactory |
RegistryFactory.newInstance(Properties properties)
Deprecated.
Get a Registry, passing specific configuration information via a Properties object.
|
static RegistryFactory |
RegistryFactory.newInstance(String propertyFileName)
Deprecated.
Get a Registry instance, using the specified property file.
|
Resource |
CoreRegistry.newResource()
Creates a new resource.
|
void |
ResourceImpl.prepareContentForPut()
Prepare the resource content to be put.
|
protected void |
ResourceImpl.pullContentFromOriginal()
A method to retrieve content from the original resource.
|
String |
CoreRegistry.put(String suggestedPath,
Resource resource)
Adds or updates resources in the registry.
|
void |
Registry.rateResource(String resourcePath,
int rating)
Rate the given resource.
|
boolean |
Registry.removeAspect(String aspect)
Remove the given aspect from registry context.
|
void |
Registry.removeAssociation(String sourcePath,
String targetPath,
String associationType)
To remove an association for a given resource
|
void |
Registry.removeComment(String commentPath)
Delete an existing comment.
|
void |
Registry.removeLink(String path)
Remove a symbolic link or mount point created
|
void |
Registry.removeTag(String path,
String tag)
Removes a tag on a resource.
|
boolean |
Registry.removeVersionHistory(String path,
long snapshotId)
Removes a given version history of a resource.
|
String |
Registry.rename(String currentPath,
String newName)
Rename a resource in the registry.
|
boolean |
CoreRegistry.resourceExists(String path)
Check whether a resource exists at the given path
|
void |
Registry.restore(String path,
Reader reader)
Check in the input axiom element into database.
|
void |
Registry.restoreVersion(String versionPath)
Reverts a resource to a given version.
|
Collection |
Registry.searchContent(String keywords)
Search the content of resources
|
void |
CollectionImpl.setChildren(String[] paths)
Method to set the absolute paths of the children belonging to this collection.
|
void |
Collection.setChildren(String[] paths)
Method to set the absolute paths of the children belonging to this collection.
|
void |
ResourceImpl.setContent(Object content)
Set the content of the resource.
|
void |
Resource.setContent(Object content)
Set the content of the resource.
|
void |
CollectionImpl.setContent(Object content)
Implementation for the setContent.
|
void |
ResourceImpl.setContentStream(InputStream contentStream)
Invalidates the current file based content and creates a new file based content for the new
content stream.
|
void |
Resource.setContentStream(InputStream contentStream)
Method to set the content stream.
|
void |
ResourceImpl.setContentStreamWithNoUpdate(InputStream contentStream)
Invalidates the current file based content and creates a new file based content for the new
content stream.
|
void |
ResourceImpl.setContentWithNoUpdate(Object content)
Set the content of the resource without setting the modified flag.
|
void |
CollectionImpl.setContentWithNoUpdate(Object content)
Set the resource content without marking the collection as updated.Here the content should
always be a array of strings which corresponding to the children paths.
|
void |
Registry.setEventingServiceURL(String path,
String eventingServiceURL)
Sets the URL of the WS-Eventing Service.
|
Modifier and Type | Method and Description |
---|---|
boolean |
CacheBackedRegistry.addAspect(String name,
Aspect aspect) |
void |
CacheBackedRegistry.addAssociation(String sourcePath,
String targetPath,
String associationType) |
String |
CacheBackedRegistry.addComment(String resourcePath,
Comment comment) |
void |
CacheBackedRegistry.applyTag(String resourcePath,
String tag) |
void |
CacheBackedRegistry.associateAspect(String resourcePath,
String aspect) |
void |
CacheBackedRegistry.beginTransaction() |
void |
CacheBackedRegistry.commitTransaction() |
String |
CachingHandler.copy(RequestContext requestContext) |
String |
CacheBackedRegistry.copy(String sourcePath,
String targetPath) |
void |
CachingHandler.createLink(RequestContext requestContext) |
void |
CacheBackedRegistry.createLink(String path,
String target) |
void |
CacheBackedRegistry.createLink(String path,
String target,
String subTargetPath) |
void |
CacheBackedRegistry.createVersion(String path) |
void |
CachingHandler.delete(RequestContext requestContext) |
void |
CacheBackedRegistry.delete(String path) |
void |
CacheBackedRegistry.dump(String path,
Writer writer) |
void |
CacheBackedRegistry.dumpLite(String path,
Writer writer) |
void |
CacheBackedRegistry.editComment(String commentPath,
String text) |
Collection |
CacheBackedRegistry.executeQuery(String path,
Map parameters) |
Resource |
CacheBackedRegistry.get(String path) |
Collection |
CacheBackedRegistry.get(String path,
int start,
int pageSize) |
Association[] |
CacheBackedRegistry.getAllAssociations(String resourcePath) |
String[] |
CacheBackedRegistry.getAspectActions(String resourcePath,
String aspectName) |
Association[] |
CacheBackedRegistry.getAssociations(String resourcePath,
String associationType) |
float |
CacheBackedRegistry.getAverageRating(String resourcePath) |
Comment[] |
CacheBackedRegistry.getComments(String resourcePath) |
String |
CacheBackedRegistry.getEventingServiceURL(String path) |
LogEntryCollection |
CacheBackedRegistry.getLogCollection(String resourcePath,
int action,
String userName,
Date from,
Date to,
boolean recentFirst) |
LogEntry[] |
CacheBackedRegistry.getLogs(String resourcePath,
int action,
String userName,
Date from,
Date to,
boolean recentFirst) |
Resource |
CacheBackedRegistry.getMetaData(String path) |
int |
CacheBackedRegistry.getRating(String path,
String userName) |
TaggedResourcePath[] |
CacheBackedRegistry.getResourcePathsWithTag(String tag) |
Tag[] |
CacheBackedRegistry.getTags(String resourcePath) |
String[] |
CacheBackedRegistry.getVersions(String path) |
void |
CachingHandler.importResource(RequestContext requestContext) |
String |
CacheBackedRegistry.importResource(String suggestedPath,
String sourceURL,
Resource resource) |
void |
CacheBackedRegistry.invokeAspect(String resourcePath,
String aspectName,
String action) |
void |
CacheBackedRegistry.invokeAspect(String resourcePath,
String aspectName,
String action,
Map<String,String> parameters) |
String |
CachingHandler.move(RequestContext requestContext) |
String |
CacheBackedRegistry.move(String currentPath,
String newPath) |
Collection |
CacheBackedRegistry.newCollection() |
Resource |
CacheBackedRegistry.newResource() |
void |
CachingHandler.put(RequestContext requestContext) |
String |
CacheBackedRegistry.put(String suggestedPath,
Resource resource) |
void |
CacheBackedRegistry.rateResource(String resourcePath,
int rating) |
boolean |
CacheBackedRegistry.removeAspect(String aspect) |
void |
CacheBackedRegistry.removeAssociation(String sourcePath,
String targetPath,
String associationType) |
void |
CacheBackedRegistry.removeComment(String commentPath) |
void |
CachingHandler.removeLink(RequestContext requestContext) |
void |
CacheBackedRegistry.removeLink(String path) |
void |
CacheBackedRegistry.removeTag(String path,
String tag) |
boolean |
CacheBackedRegistry.removeVersionHistory(String path,
long snapshotId) |
String |
CachingHandler.rename(RequestContext requestContext) |
String |
CacheBackedRegistry.rename(String currentPath,
String newName) |
boolean |
CacheBackedRegistry.resourceExists(String path) |
void |
CachingHandler.restore(RequestContext requestContext) |
void |
CacheBackedRegistry.restore(String path,
Reader reader) |
void |
CachingHandler.restoreVersion(RequestContext requestContext) |
void |
CacheBackedRegistry.restoreVersion(String versionPath) |
void |
CacheBackedRegistry.rollbackTransaction() |
Collection |
CacheBackedRegistry.searchContent(String keywords) |
void |
CacheBackedRegistry.setEventingServiceURL(String path,
String eventingServiceURL) |
Modifier and Type | Method and Description |
---|---|
static void |
NodeGroupLock.init(DataAccessManager dataAccessManager)
Initializes the Node Group Lock Object.
|
static void |
NodeGroupLock.lock(String lockName)
Creates a lock by the given name
|
static void |
NodeGroupLock.unlock(String lockName)
Unlocks a named lock.
|
Modifier and Type | Method and Description |
---|---|
EmbeddedRegistryService |
RegistryContext.getEmbeddedRegistryService()
Return a embedded registry service.
|
static void |
RegistryConfigurationProcessor.initializeAspects(org.apache.axiom.om.OMElement configElement,
RegistryContext registryContext)
Creates and initializes an aspect.
|
static void |
RegistryConfigurationProcessor.populateRegistryConfig(InputStream in,
RegistryContext registryContext)
Read XML configuration from the passed InputStream, or from the classpath.
|
static Aspect |
RegistryConfigurationProcessor.updateAspects(org.apache.axiom.om.OMElement configElement)
Updates an aspect based on given configuration.
|
static boolean |
RegistryConfigurationProcessor.updateHandler(org.apache.axiom.om.OMElement configElement,
RegistryContext registryContext,
String lifecyclePhase)
Updates a handler based on given configuration.
|
Constructor and Description |
---|
RegistryConfiguration(String carbonXMLPath)
Deprecated.
Initialize the registry configuration located in carbon.xml provided the carbon.xml path as
an argument.
|
RegistryContext(InputStream configStream,
org.wso2.carbon.user.core.service.RealmService realmService)
Create a registry context with custom configuration and realm service.
|
RegistryContext(InputStream configStream,
org.wso2.carbon.user.core.service.RealmService realmService,
boolean populateConfiguration)
Create a registry context with custom configuration and realm service.
|
RegistryContext(InputStream configStream,
RegistryContext.RegURLSupplier urlSupplier)
Create a registry context with custom configuration and realm service.
|
RegistryContext(org.wso2.carbon.user.core.service.RealmService realmService,
boolean populateConfiguration)
Create a new registry context object with a custom realm service
|
Modifier and Type | Method and Description |
---|---|
void |
ResourceDAO.add(String path,
ResourceIDImpl parentID,
ResourceImpl resourceImpl)
Add the resource to a pat when resource instance and the parent resource id is given.
|
void |
AssociationDAO.addAssociation(String sourcePath,
String targetPath,
String associationType)
Method to persist an association.
|
int |
CommentsDAO.addComment(ResourceImpl resource,
String userID,
Comment comment)
Method to persist a comment.
|
void |
CommentsDAO.addComments(ResourceImpl resource,
CommentDO[] commentDOs)
Method to persist comments.
|
void |
ResourceDAO.addContent(ResourceImpl resourceImpl)
Add the content for a resource.
|
int |
ResourceDAO.addContentBytes(InputStream contentStream)
Add the content to the content table and return the auto generated id of content table.
|
void |
ResourceDAO.addProperties(ResourceImpl resource)
Add the properties to the database from given resource
|
void |
RatingsDAO.addRating(ResourceImpl resourceImpl,
String userID,
int rating)
Method to persist a rating.
|
void |
RatingsDAO.addRatings(ResourceImpl resource,
RatingDO[] ratingDOs)
Method to persist ratings.
|
void |
ResourceDAO.addResourceDO(ResourceDO resourceDO)
Add the resource data object.
|
void |
ResourceDAO.addResourceWithNoUpdate(ResourceImpl resourceImpl)
Add a resource without setting the resource modified flag on.
|
void |
ResourceDAO.addResourceWithoutContentId(ResourceImpl resourceImpl,
boolean isUpdatingExisting)
Add a resource without a content id, provided whether it is overwriting existing one or not.
|
void |
ResourceDAO.addRoot(ResourceImpl resourceImpl)
Add the root collection.
|
void |
TagsDAO.addTagging(String tagName,
ResourceImpl resource,
String userID)
Method to persist a tag.
|
void |
TagsDAO.addTaggings(ResourceImpl resource,
TaggingDO[] taggingDOs)
Method to persist tags.
|
void |
AssociationDAO.copyAssociations(String fromPath,
String toPath)
Method to copy associations for a given path to a new path.
|
void |
CommentsDAO.copyComments(ResourceImpl sourceResource,
ResourceImpl targetResource)
Method to copy comments.
|
void |
RatingsDAO.copyRatings(ResourceImpl fromResource,
ResourceImpl toResource)
Method to copy ratings.
|
void |
TagsDAO.copyTags(ResourceImpl fromResource,
ResourceImpl toResource)
Method to copy tags.
|
void |
ResourceDAO.createAndApplyResourceID(String path,
ResourceIDImpl parentID,
ResourceImpl resourceImpl)
The method to create a resource id and assign to resource instance
|
ResourceIDImpl |
ResourceDAO.createResourceID(String path,
ResourceIDImpl parentID,
boolean isCollection)
Create a resource ID for a path given the parent resource id and whether it is a collection
or not.
|
long |
ResourceVersionDAO.createSnapshot(int pathId,
String name,
InputStream versionsStream)
Creates a new snapshot of the resource.
|
void |
CommentsDAO.deleteComment(long commentId)
Method to delete a comment.
|
void |
ResourceDAO.deleteContentStream(int contentID)
delete the content for a given content id.
|
void |
ResourceDAO.deleteResource(ResourceDO resourceDO)
Delete the resource provided as a resource DO
|
void |
ResourceDAO.fillChildren(CollectionImpl collection,
DataAccessManager dataAccessManager)
Fill the children for a resource that already filled with meta data.
|
void |
ResourceDAO.fillChildren(CollectionImpl collection,
int start,
int pageLen)
Fill the children for a resource that already filled with meta data.
|
void |
ResourceVersionDAO.fillChildren(CollectionImpl collectionImpl,
VersionRetriever versionRetriever,
int parentVersionIndex,
int start,
int pageLen,
long snapshotID)
Fill the children for a resource that already filled with meta data.
|
void |
ResourceDAO.fillResource(CollectionImpl collection,
int start,
int pageLen)
Fill the children and the properties for a resource that already filled with meta data.
|
void |
ResourceDAO.fillResource(ResourceImpl resourceImpl)
Fill the content (for non-collection) and the properties for a resource that already filled
meta data
|
void |
ResourceDAO.fillResourceContent(ResourceImpl resourceImpl)
Fill resource content for a given resource implementation.
|
void |
ResourceVersionDAO.fillResourceContentArchived(ResourceImpl resourceImpl)
Fill the archived content to the resource object.
|
void |
ResourceDAO.fillResourceContentWithNoUpdate(ResourceImpl resourceImpl)
Fill resource content for a given resource implementation without setting the resource
modified flag on.
|
void |
ResourceDAO.fillResourceProperties(ResourceImpl resourceImpl)
Fill the properties for a resource, this will change the properties modified flag.
|
void |
ResourceDAO.fillResourcePropertiesWithNoUpdate(ResourceImpl resourceImpl)
Fill the properties for a resource without making the properties modified flag.
|
ResourceImpl |
ResourceDAO.get(ResourceIDImpl resourceID)
Returns the resource in the given path filled with meta-data and access to the content.
|
CollectionImpl |
ResourceDAO.get(ResourceIDImpl resourceID,
int start,
int pageLen)
Return a collection with children only at the range of the intersect of the given range and
resource existence range provided the resource id.
|
ResourceImpl |
ResourceVersionDAO.get(ResourceIDImpl resourceID,
long snapshotID)
Returns the resource in the given path filled with meta-data and access to the content.
|
CollectionImpl |
ResourceVersionDAO.get(ResourceIDImpl resourceID,
long snapshotID,
int start,
int pageLen)
Return a collection with children only at the range of the intersect of the given range and
resource existence range provided the resource path.
|
ResourceImpl |
ResourceDAO.get(String path)
Returns the resource in the given path filled with meta-data and access to the content.
|
CollectionImpl |
ResourceDAO.get(String path,
int start,
int pageLen)
Return a collection with children only at the range of the intersect of the given range and
resource existence range provided the resource path.
|
Association[] |
AssociationDAO.getAllAssociations(String resourcePath)
Method to get all association.
|
Association[] |
AssociationDAO.getAllAssociationsForType(String resourcePath,
String associationType)
Method to get all association of a given type.
|
float |
RatingsDAO.getAverageRating(ResourceImpl resourceImpl)
Method to get the average rating added to a given resource.
|
int |
ResourceDAO.getChildCount(CollectionImpl collection,
DataAccessManager dataAccessManager)
Method to return a child count of a collection (database connection should also be provided)
|
List<ResourceIDImpl> |
ResourceDAO.getChildPathIds(ResourceIDImpl resourceID)
Get the child path ids of a resource, (should be a collection)
|
String[] |
ResourceVersionDAO.getChildPaths(ResourceIDImpl resourceID,
VersionRetriever versionRetriever,
int parentVersionIndex,
int start,
int pageLen,
long snapshotID,
DataAccessManager dataAccessManager)
Get the child paths of a resource, (should be a collection)
|
String[] |
ResourceDAO.getChildren(CollectionImpl collection,
int start,
int pageLen)
Get the children of the collection.
|
String[] |
ResourceDAO.getChildren(CollectionImpl collection,
int start,
int pageLen,
DataAccessManager dataAccessManager)
Get the children of the collection.
|
Comment |
CommentsDAO.getComment(long commentID,
String resourcePath)
Method to get a comment added to a given resource.
|
Comment[] |
CommentsDAO.getComments(ResourceImpl resource)
Method to get comments added to a given resource.
|
InputStream |
ResourceDAO.getContentStream(int contentID)
Get the content input stream for a given content id.
|
List |
LogsDAO.getLogList(String resourcePath,
int action,
String userName,
Date from,
Date to,
boolean descending,
DataAccessManager dataAccessManager)
Method to get a list of log entries.
|
LogEntry[] |
LogsDAO.getLogs(String resourcePath,
int action,
String userName,
Date from,
Date to,
boolean descending,
DataAccessManager dataAccessManager)
Method to get a list of log entries.
|
LogEntry[] |
LogsDAO.getLogs(String resourcePath,
int action,
String userName,
Date from,
Date to,
boolean descending,
int start,
int pageLen,
DataAccessManager dataAccessManager)
Method to get a list of log entries.
|
int |
LogsDAO.getLogsCount(String resourcePath,
int action,
String userName,
Date from,
Date to,
boolean descending)
Method to get the number of log entries available
|
String |
ResourceDAO.getPath(int pathId,
String resourceName,
boolean checkExistence)
Get the path given the path id, resource name and provided whether the resourceExistence
should be checked.
|
String |
ResourceDAO.getPath(long version)
Get the path provided the resource version.
|
String |
ResourceDAO.getPathFromId(int pathId)
Get the path from the path id.
|
List |
TagsDAO.getPathsWithAnyTag(String[] tags)
Method to obtain the list of paths having any of the given tags.
|
String[] |
RatingsDAO.getRatedUserNames(ResourceImpl resourceImpl)
Method to get users who rated the given resource.
|
int |
RatingsDAO.getRateID(ResourceImpl resourceImpl,
String userID)
Method to get a id of a rating added to a given resource.
|
int |
RatingsDAO.getRating(ResourceImpl resourceImpl,
String userID)
Method to get a rating added to a given resource.
|
RatingDO |
RatingsDAO.getRatingDO(ResourceImpl resourceImpl,
String userID)
Method to get a rating added by the given user to the given resource.
|
ResourceDO |
ResourceDAO.getResourceDO(long version)
Method to return resourceDO from a version number.
|
ResourceDO |
ResourceDAO.getResourceDO(ResourceIDImpl resourceID)
Method to get resource from resource id.
|
ResourceIDImpl |
ResourceDAO.getResourceID(String path)
Returns the resource ID (RID) of the resource referred by the given path.
|
ResourceIDImpl |
ResourceDAO.getResourceID(String path,
boolean isCollection)
Returns the resource ID (RID) of the resource referred by the given path.
|
ResourceImpl |
ResourceDAO.getResourceMetaData(ResourceIDImpl resourceID)
Method to return the resource meta data (excluding properties, content and children)
|
ResourceImpl |
ResourceDAO.getResourceMetaData(String path)
Method to return the resource meta data (excluding properties, content and children)
|
RatingDO[] |
RatingsDAO.getResourceRatingDO(ResourceImpl resourceImpl)
Method to get ratings added by all users to the given resource.
|
ResourceImpl |
TagsDAO.getResourceWithMinimumData(String path)
Gets the resource with sufficient data to differentiate it from another resource.
|
ResourceImpl |
RatingsDAO.getResourceWithMinimumData(String path)
Gets the resource with sufficient data to differentiate it from another resource.
|
ResourceImpl |
CommentsDAO.getResourceWithMinimumData(String path)
Gets the resource with sufficient data to differentiate it from another resource.
|
ResourceImpl |
ResourceDAO.getResourceWithNoUpdate(ResourceIDImpl resourceID)
Method to get resource without setting the resource modified flags on.
|
Long[] |
ResourceVersionDAO.getSnapshotIDs(String resourcePath)
Get the identifiers of the snapshots created for a given path.
|
long |
TagsDAO.getTagCount(ResourceImpl resourceImpl,
String tag)
Method to get the number of tags added to the given resource, by the given name.
|
List<TaggingDO> |
TagsDAO.getTagDOs(ResourceImpl resourceImpl)
Method to get the data objects of tags added to the given resource.
|
TaggingDO |
TagsDAO.getTagging(long taggingID)
Method to get a tagging by the given id.
|
TaggingDO[] |
TagsDAO.getTagging(ResourceImpl resource)
Method to get all taggings added to a given resource.
|
TaggingDO[] |
TagsDAO.getTagging(ResourceImpl resource,
String tag,
String userID)
Method to get a tagging added to a given resource by the given user.
|
String[] |
TagsDAO.getTags(ResourceImpl resourceImpl)
Method to get the names of tags added to the given resource.
|
Tag[] |
TagsDAO.getTagsWithCount(ResourceImpl resourceImpl)
Method to get tags added to the given resource, along with the count.
|
long |
ResourceDAO.getVersion(ResourceIDImpl resourceID)
Method to return the version of a resource from resourceID
|
VersionRetriever |
ResourceVersionDAO.getVersionList(long snapshotID)
Creates version retriever that can be used to get the list of versions of a given snapshot,
which includes the versions of the children.
|
VersionRetriever |
ResourceVersionDAO.getVersionList(ResourceIDImpl resourceID,
long snapshotID)
Creates version retriever that can be used to get the list of versions of a given snapshot,
which includes the versions of the children if this was a collection.
|
boolean |
ResourceVersionDAO.isContentHistoryExist(int contentId)
Check whether the content is already in the history.
|
boolean |
ResourceVersionDAO.isResourceHistoryExist(long version)
Check whether the resource is already in the history with the give version
|
boolean |
ResourceVersionDAO.isResourceHistoryExist(ResourceIDImpl resourceID)
Check whether the resource is already in the history with the give resourceID
|
boolean |
ResourceVersionDAO.isResourceHistoryExist(String path)
Check whether the resource is already in the history with the give path
|
void |
CommentsDAO.moveCommentPaths(ResourceIDImpl source,
ResourceIDImpl target)
Method to move comment paths.
|
void |
CommentsDAO.moveComments(ResourceIDImpl source,
ResourceIDImpl target)
Method to move comments.
|
void |
ResourceDAO.moveProperties(ResourceIDImpl source,
ResourceIDImpl target)
Move the properties.
|
void |
ResourceDAO.movePropertyPaths(ResourceIDImpl source,
ResourceIDImpl target)
this function will move the paths from one path id to another regardless of the resource
name
|
void |
RatingsDAO.moveRatingPaths(ResourceIDImpl source,
ResourceIDImpl target)
Method to move rating paths.
|
void |
RatingsDAO.moveRatings(ResourceIDImpl source,
ResourceIDImpl target)
Method to move ratings.
|
void |
ResourceDAO.moveResourcePaths(ResourceIDImpl source,
ResourceIDImpl target)
This method will move the paths from one path id to another regardless of the resource name
|
void |
ResourceDAO.moveResources(ResourceIDImpl source,
ResourceIDImpl target)
Move resource provided the source and target resource ids.
|
void |
TagsDAO.moveTagPaths(ResourceIDImpl source,
ResourceIDImpl target)
Method to move tag paths.
|
void |
TagsDAO.moveTags(ResourceIDImpl source,
ResourceIDImpl target)
Method to move tags.
|
void |
ResourceVersionDAO.putResourceToHistory(ResourceDO resourceDO)
Method to Archive Resource.
|
void |
AssociationDAO.removeAllAssociations(String resourcePath)
Method to remove all associations for a given path.
|
void |
AssociationDAO.removeAssociation(String sourcePath,
String targetPath,
String associationType)
Method to remove an association.
|
void |
CommentsDAO.removeComments(ResourceImpl resource)
Method to remove all comments added to a resource.
|
void |
ResourceDAO.removeProperties(ResourceDO resourceDO)
Remove properties of a resource.
|
void |
ResourceVersionDAO.removePropertyValues(long regVersionId)
Removes any properties associated with a given version of a resource.
|
void |
RatingsDAO.removeRating(ResourceImpl resourceImpl,
int rateID)
Method to remove rating added to a resource.
|
void |
RatingsDAO.removeRatings(ResourceImpl resourceImpl)
Method to remove all ratings added to a resource.
|
void |
ResourceVersionDAO.removeSnapshot(long snapshotId)
Removes a snapshot of a given resource.
|
void |
TagsDAO.removeTags(ResourceImpl resource)
Removes all tags added to the given resource by user with the given id.
|
void |
TagsDAO.removeTags(ResourceImpl resource,
String tag)
Removes a tag by the given name added to the given resource by any user.
|
void |
TagsDAO.removeTags(ResourceImpl resource,
String tag,
String userID)
Removes a tag by the given name added to the given resource by user with the given id.
|
void |
CommentsDAO.removeVersionComments(long regVersion)
Removes all comments added to the given resource for a given version.
|
void |
RatingsDAO.removeVersionRatings(long version)
Removes all ratings added to the given resource of a given version.
|
void |
TagsDAO.removeVersionTags(long regVersion)
Removes all tags added to the given resource of a given version.
|
void |
AssociationDAO.replaceAssociations(String oldPath,
String newPath)
Method to replace all associations, when moving or renaming a resource.
|
boolean |
ResourceDAO.resourceExists(ResourceIDImpl resourceID)
Method to check the whether a resource in the provided resource id exist or not.
|
boolean |
ResourceVersionDAO.resourceExists(ResourceIDImpl resourceID,
long snapshotID)
Method to check the resource existence for a given path.
|
boolean |
ResourceDAO.resourceExists(String path)
Method to check the resource existence for a given path.
|
boolean |
ResourceDAO.resourceExists(String path,
boolean isCollection)
Method to check the resource existence for a given path provided the resource is collection
or not.
|
String |
ResourceVersionDAO.restoreResources(long version,
long snapshotID)
Restore the resource to the given version.
|
void |
LogsDAO.saveLogBatch(LogRecord[] logRecords)
Save batch of log records
|
boolean |
TagsDAO.taggingExists(String tagName,
ResourceImpl resourceImpl,
String userID)
Method to determine whether the given tag exists.
|
void |
ResourceDAO.update(ResourceImpl resourceImpl)
Save the updates of a given resource.
|
void |
ResourceDAO.updateCollectionLastUpdatedTime(ResourceIDImpl resourceID)
Update the last updated time of a resource, This is called to update the parent's last
updated time when a child is created, deleted or moved out/in, copy in.
|
void |
CommentsDAO.updateComment(long commentId,
String text)
Method to update a comment.
|
void |
ResourceDAO.updateContentId(ResourceImpl resourceImpl)
Update the content id of a resource, Normally this should be called after calling
addResourceWithoutContentId is called.
|
void |
RatingsDAO.updateRating(ResourceImpl resourceImpl,
int rateID,
int rating)
Method to update a rating added to a resource.
|
void |
ResourceVersionDAO.versionResource(ResourceDO resourceDO,
boolean keepProperties)
Create a version of the given resource.
|
Modifier and Type | Method and Description |
---|---|
void |
TransactionManager.beginTransaction()
Start a new transaction
|
void |
TransactionManager.commitTransaction()
Commit the currently active transaction
|
void |
DataAccessManager.createDatabase()
Method to create the database for the registry.
|
Collection |
QueryProcessor.executeQuery(Registry registry,
Resource query,
Map parameters)
This method will be called when a query of a registered type is executed.
|
void |
ClusterLock.init(DataAccessManager dataAccessManager,
String clusterLockTableStatement)
Initializes the Node Group Lock Object.
|
void |
ClusterLock.lock(String lockName)
Creates a lock by the given name
|
void |
TransactionManager.rollbackTransaction()
Rollback the currently active transaction
|
void |
ClusterLock.unlock(String lockName)
Unlocks a named lock.
|
Modifier and Type | Class and Description |
---|---|
class |
ConcurrentModificationException
This is thrown when a requested resource is concurrently updated, by two users.
|
class |
ResourceNotFoundException
This is thrown when a requested resource cannot be located in the Registry.
|
Modifier and Type | Method and Description |
---|---|
boolean |
GhostRegistry.addAspect(String name,
Aspect aspect) |
void |
GhostRegistry.addAssociation(String sourcePath,
String targetPath,
String associationType) |
String |
GhostRegistry.addComment(String resourcePath,
Comment comment) |
void |
GhostRegistry.applyTag(String resourcePath,
String tag) |
void |
GhostRegistry.associateAspect(String resourcePath,
String aspect) |
void |
GhostRegistry.beginTransaction() |
void |
GhostRegistry.commitTransaction() |
String |
GhostRegistry.copy(String sourcePath,
String targetPath) |
void |
GhostRegistry.createLink(String path,
String target) |
void |
GhostRegistry.createLink(String path,
String target,
String subTargetPath) |
void |
GhostRegistry.createVersion(String path) |
void |
GhostRegistry.delete(String path) |
void |
GhostRegistry.dump(String path,
Writer writer) |
void |
GhostRegistry.dumpLite(String path,
Writer writer) |
void |
GhostRegistry.editComment(String commentPath,
String text) |
Collection |
GhostRegistry.executeQuery(String path,
Map parameters) |
Resource |
GhostRegistry.get(String path) |
Collection |
GhostRegistry.get(String path,
int start,
int pageSize) |
Association[] |
GhostRegistry.getAllAssociations(String resourcePath) |
String[] |
GhostRegistry.getAspectActions(String resourcePath,
String aspectName) |
Association[] |
GhostRegistry.getAssociations(String resourcePath,
String associationType) |
float |
GhostRegistry.getAverageRating(String resourcePath) |
Comment[] |
GhostRegistry.getComments(String resourcePath) |
String |
GhostRegistry.getEventingServiceURL(String path) |
LogEntryCollection |
GhostRegistry.getLogCollection(String resourcePath,
int action,
String userName,
Date from,
Date to,
boolean recentFirst)
Deprecated.
|
LogEntry[] |
GhostRegistry.getLogs(String resourcePath,
int action,
String userName,
Date from,
Date to,
boolean recentFirst) |
Resource |
GhostRegistry.getMetaData(String path) |
int |
GhostRegistry.getRating(String path,
String userName) |
TaggedResourcePath[] |
GhostRegistry.getResourcePathsWithTag(String tag) |
Tag[] |
GhostRegistry.getTags(String resourcePath) |
String[] |
GhostRegistry.getVersions(String path) |
String |
GhostRegistry.importResource(String suggestedPath,
String sourceURL,
Resource resource) |
void |
GhostRegistry.invokeAspect(String resourcePath,
String aspectName,
String action) |
void |
GhostRegistry.invokeAspect(String resourcePath,
String aspectName,
String action,
Map<String,String> parameters) |
String |
GhostRegistry.move(String currentPath,
String newPath) |
Collection |
GhostRegistry.newCollection() |
Resource |
GhostRegistry.newResource() |
String |
GhostRegistry.put(String suggestedPath,
Resource resource) |
void |
GhostRegistry.rateResource(String resourcePath,
int rating) |
boolean |
GhostRegistry.removeAspect(String aspect) |
void |
GhostRegistry.removeAssociation(String sourcePath,
String targetPath,
String associationType) |
void |
GhostRegistry.removeComment(String commentPath) |
void |
GhostRegistry.removeLink(String path) |
void |
GhostRegistry.removeTag(String path,
String tag) |
boolean |
GhostRegistry.removeVersionHistory(String path,
long snapshotId) |
String |
GhostRegistry.rename(String currentPath,
String newName) |
boolean |
GhostRegistry.resourceExists(String path) |
void |
GhostRegistry.restore(String path,
Reader reader) |
void |
GhostRegistry.restoreVersion(String versionPath) |
void |
GhostRegistry.rollbackTransaction() |
Collection |
GhostRegistry.searchContent(String keywords) |
void |
GhostRegistry.setEventingServiceURL(String path,
String eventingServiceURL) |
Modifier and Type | Method and Description |
---|---|
void |
RegistryCoreServiceComponent.registerBuiltInHandlers(RegistryService registryService)
Method to register built-in handlers.
|
Modifier and Type | Method and Description |
---|---|
boolean |
EmbeddedRegistry.addAspect(String name,
Aspect aspect) |
void |
EmbeddedRegistry.addAssociation(String sourcePath,
String targetPath,
String associationType) |
String |
EmbeddedRegistry.addComment(String resourcePath,
Comment comment) |
void |
VersionRepository.addDescendants(ResourceIDImpl resourceID,
ArrayList<Long> versionList,
boolean isRenewing,
boolean keepProperties)
Here the versions of the descendants of the resource is added to the versionList array.
|
void |
EmbeddedRegistry.applyTag(String resourcePath,
String tag) |
void |
EmbeddedRegistry.associateAspect(String resourcePath,
String aspectName) |
void |
EmbeddedRegistry.beginTransaction() |
void |
EmbeddedRegistry.commitTransaction() |
void |
EmbeddedRegistry.configure(DataAccessManager dataAccessManager,
org.wso2.carbon.user.core.service.RealmService realmService)
Configures and initiates the Embedded registry with a (new) data source and a realm.
|
protected void |
EmbeddedRegistryService.configure(org.wso2.carbon.user.core.service.RealmService realmService)
Method to configure the embedded registry service.
|
String |
Repository.copy(ResourcePath sourceResourcePath,
ResourcePath targetResourcePath)
Method to copy a resource from source to target.
|
String |
RecursionRepository.copy(ResourcePath sourceResourcePath,
ResourcePath targetResourcePath)
Method to do a copy from source to target.
|
String |
EmbeddedRegistry.copy(String sourcePath,
String targetPath) |
void |
EmbeddedRegistry.createLink(String path,
String target) |
void |
EmbeddedRegistry.createLink(String path,
String target,
String targetSubPath) |
void |
VersionRepository.createSnapshot(Resource resource,
boolean isRenewing,
boolean keepProperties)
Method used to create a snapshot of a given resource.
|
void |
VersionRepository.createSnapshot(ResourcePath resourcePath,
boolean isRenewing,
boolean keepProperties)
Method used to create a snapshot of a given resource.
|
void |
EmbeddedRegistry.createVersion(String path) |
void |
Repository.delete(String _path)
Deletes the pure resource referred by the path.
|
void |
EmbeddedRegistry.delete(String path) |
void |
Repository.deleteNode(ResourceIDImpl resourceID,
ResourceDO resourceDO,
boolean keepAuthorization)
Method to delete just the node in the collection hierarchy.
|
void |
Repository.deleteSubTree(ResourceIDImpl resourceID,
ResourceDO resourceDO,
boolean keepAuthorization)
Method to delete a sub tree of the collection hierarchy.
|
void |
RecursionRepository.deleteSubTree(ResourceIDImpl resourceID,
ResourceDO resourceDO,
boolean keepAuthorization)
Method to delete a sub tree of the collection hierarchy.
|
void |
Repository.dump(String _path,
Writer writer)
Method to do a dump.
|
void |
EmbeddedRegistry.dump(String path,
Writer writer) |
protected void |
Repository.dumpLite(String _path,
Writer writer) |
void |
EmbeddedRegistry.dumpLite(String path,
Writer writer) |
void |
RecursionRepository.dumpRecursively(String path,
Writer writer)
Method to dump a tree of resources recursively.
|
void |
RecursionRepository.dumpRecursivelyLite(String path,
Writer writer)
Method to dump a tree of resources recursively.
|
void |
EmbeddedRegistry.editComment(String commentPath,
String text) |
Collection |
EmbeddedRegistry.executeQuery(String path,
Map parameters) |
Resource |
Repository.get(String path)
Gets the pure resource referred by the given path.
|
Resource |
EmbeddedRegistry.get(String path) |
Collection |
Repository.get(String path,
int start,
int pageLen)
Method to get a paged collection.
|
Collection |
EmbeddedRegistry.get(String path,
int start,
int pageSize) |
Resource |
VersionRepository.get(VersionedPath versionedPath)
Gets the pure resource referred by the given path.
|
Collection |
VersionRepository.get(VersionedPath versionedPath,
int start,
int pageLen)
Method to get a paged collection.
|
Association[] |
EmbeddedRegistry.getAllAssociations(String resourcePath) |
String[] |
EmbeddedRegistry.getAspectActions(String resourcePath,
String aspectName) |
Association[] |
EmbeddedRegistry.getAssociations(String resourcePath,
String associationType) |
float |
EmbeddedRegistry.getAverageRating(String path) |
Comment[] |
EmbeddedRegistry.getComments(String path) |
UserRegistry |
EmbeddedRegistryService.getConfigSystemRegistry() |
UserRegistry |
EmbeddedRegistryService.getConfigSystemRegistry(int tenantId) |
UserRegistry |
EmbeddedRegistryService.getConfigUserRegistry() |
UserRegistry |
EmbeddedRegistryService.getConfigUserRegistry(String userName) |
UserRegistry |
EmbeddedRegistryService.getConfigUserRegistry(String userName,
int tenantId) |
UserRegistry |
EmbeddedRegistryService.getConfigUserRegistry(String userName,
String password) |
UserRegistry |
EmbeddedRegistryService.getConfigUserRegistry(String userName,
String password,
int tenantId) |
String |
EmbeddedRegistry.getEventingServiceURL(String path) |
UserRegistry |
EmbeddedRegistryService.getGovernanceSystemRegistry() |
UserRegistry |
EmbeddedRegistryService.getGovernanceSystemRegistry(int tenantId) |
UserRegistry |
EmbeddedRegistryService.getGovernanceUserRegistry() |
UserRegistry |
EmbeddedRegistryService.getGovernanceUserRegistry(String userName) |
UserRegistry |
EmbeddedRegistryService.getGovernanceUserRegistry(String userName,
int tenantId) |
UserRegistry |
EmbeddedRegistryService.getGovernanceUserRegistry(String userName,
String password) |
UserRegistry |
EmbeddedRegistryService.getGovernanceUserRegistry(String userName,
String password,
int tenantId) |
UserRegistry |
EmbeddedRegistryService.getLocalRepository() |
UserRegistry |
EmbeddedRegistryService.getLocalRepository(int tenantId) |
LogEntryCollection |
EmbeddedRegistry.getLogCollection(String resourcePath,
int action,
String userName,
Date from,
Date to,
boolean recentFirst) |
LogEntry[] |
EmbeddedRegistry.getLogs(String resourcePath,
int action,
String userName,
Date from,
Date to,
boolean recentFirst) |
Resource |
Repository.getMetaData(String path)
Gets the meta data of resource referred by the given path.
|
Resource |
EmbeddedRegistry.getMetaData(String path) |
Resource |
VersionRepository.getMetaData(VersionedPath versionedPath)
Gets the meta data of resource referred by the given path.
|
int |
EmbeddedRegistry.getRating(String path,
String userName) |
UserRegistry |
EmbeddedRegistryService.getRegistry() |
UserRegistry |
EmbeddedRegistryService.getRegistry(String userName) |
UserRegistry |
EmbeddedRegistryService.getRegistry(String userName,
int tenantId) |
UserRegistry |
EmbeddedRegistryService.getRegistry(String userName,
int tenantId,
String chroot) |
UserRegistry |
EmbeddedRegistryService.getRegistry(String userName,
String password) |
UserRegistry |
EmbeddedRegistryService.getRegistry(String userName,
String password,
int tenantId) |
UserRegistry |
EmbeddedRegistryService.getRegistry(String userName,
String password,
int tenantId,
String chroot) |
TaggedResourcePath[] |
EmbeddedRegistry.getResourcePathsWithTag(String tag) |
UserRegistry |
EmbeddedRegistryService.getSystemRegistry()
Returns a registry to be used for system operations.
|
UserRegistry |
EmbeddedRegistryService.getSystemRegistry(int tenantId)
Returns a registry to be used for system operations.
|
UserRegistry |
EmbeddedRegistryService.getSystemRegistry(int tenantId,
String chroot)
Returns a registry to be used for system operations.
|
Tag[] |
EmbeddedRegistry.getTags(String path) |
org.wso2.carbon.user.core.UserRealm |
EmbeddedRegistryService.getUserRealm(int tenantId) |
UserRegistry |
EmbeddedRegistryService.getUserRegistry()
Creates a UserRegistry instance for anonymous user.
|
UserRegistry |
EmbeddedRegistryService.getUserRegistry(String userName)
Creates a UserRegistry instance for the given user.
|
UserRegistry |
EmbeddedRegistryService.getUserRegistry(String userName,
int tenantId)
Creates a UserRegistry instance for the given user.
|
UserRegistry |
EmbeddedRegistryService.getUserRegistry(String userName,
int tenantId,
String chroot)
Creates a UserRegistry instance for the given user.
|
UserRegistry |
EmbeddedRegistryService.getUserRegistry(String userName,
String password)
Creates UserRegistry instances for normal users.
|
UserRegistry |
EmbeddedRegistryService.getUserRegistry(String userName,
String password,
int tenantId)
Creates UserRegistry instances for normal users.
|
UserRegistry |
EmbeddedRegistryService.getUserRegistry(String userName,
String password,
int tenantId,
String chroot)
Creates UserRegistry instances for normal users.
|
String[] |
VersionRepository.getVersions(String resourcePath)
Method to obtain a list of versioned paths.
|
String[] |
EmbeddedRegistry.getVersions(String path) |
String |
Repository.importResource(String path,
String sourceURL,
Resource metaResource)
Creates a resource with the content imported from the source URL and meta data extracted from
the given meta data resource instance.
|
String |
EmbeddedRegistry.importResource(String suggestedPath,
String sourceURL,
Resource metaResource) |
void |
EmbeddedRegistry.invokeAspect(String resourcePath,
String aspectName,
String action) |
void |
EmbeddedRegistry.invokeAspect(String resourcePath,
String aspectName,
String action,
Map<String,String> parameters) |
String |
Repository.move(ResourcePath oldResourcePath,
String newPath)
Moves the resource at oldPath to the newPath.
|
String |
EmbeddedRegistry.move(String currentPath,
String newPath) |
String |
Repository.moveRecursively(ResourceIDImpl sourceID,
String targetPath,
ResourceIDImpl targetParentResourceID)
Method to do a recursive move.
|
String |
RecursionRepository.moveRecursively(ResourceIDImpl sourceID,
String targetPath,
ResourceIDImpl targetParentResourceID)
Method to do a recursive move operation.
|
Collection |
EmbeddedRegistry.newCollection() |
Resource |
EmbeddedRegistry.newResource() |
void |
Repository.prepareDumpRestore(String path)
This will delete only the current resource, keeps the authorizations.
|
void |
Repository.prepareVersionRestore(String _path)
This will delete the entire resource, except it keeps the authorizations.
|
void |
Repository.put(String path,
Resource resource)
Adds or updates the resource in the given path with the given resource.
|
String |
EmbeddedRegistry.put(String suggestedPath,
Resource resource) |
void |
EmbeddedRegistry.rateResource(String resourcePath,
int rating) |
boolean |
EmbeddedRegistry.removeAspect(String name) |
void |
EmbeddedRegistry.removeAssociation(String sourcePath,
String targetPath,
String associationType) |
void |
EmbeddedRegistry.removeComment(String commentPath) |
void |
EmbeddedRegistry.removeLink(String path) |
void |
EmbeddedRegistry.removeTag(String path,
String tag) |
boolean |
VersionRepository.removeVersionHistory(String path,
long snapshotId) |
boolean |
EmbeddedRegistry.removeVersionHistory(String path,
long snapshotId) |
String |
Repository.rename(ResourcePath oldResourcePath,
String newName)
Renames the resource at oldPath with the given newName.
|
String |
EmbeddedRegistry.rename(String currentPath,
String newName) |
boolean |
Repository.resourceExists(String path)
Checks if a pure resource exists in the given path.
|
boolean |
EmbeddedRegistry.resourceExists(String path) |
boolean |
VersionRepository.resourceExists(VersionedPath versionedPath)
Checks if a pure resource exists in the given path.
|
void |
Repository.restore(String _path,
Reader reader)
Method to restore a dump.
|
void |
EmbeddedRegistry.restore(String path,
Reader reader) |
void |
RecursionRepository.restoreRecursively(String path,
Reader reader)
Method to restore a tree of resource recursively.
|
void |
VersionRepository.restoreVersion(ResourcePath resourcePath)
Method to restore a version.
|
void |
EmbeddedRegistry.restoreVersion(String versionPath) |
void |
EmbeddedRegistry.rollbackTransaction() |
Collection |
EmbeddedRegistry.searchContent(String keywords) |
void |
EmbeddedRegistry.setEventingServiceURL(String path,
String eventingServiceURL) |
Constructor and Description |
---|
EmbeddedRegistry(RegistryContext registryContext,
org.wso2.carbon.user.core.service.RealmService realmService)
Constructs a Embedded registry to be used with secure registries.
|
EmbeddedRegistryService(RegistryContext context)
Instantiates the EmbeddedRegistry using the configuration given in the context and the given
UserRealm.
|
InMemoryEmbeddedRegistry()
Creates an in-memory H2 database based registry without the support for authentication and
authorization.
|
InMemoryEmbeddedRegistryService()
Default constructor
|
InMemoryEmbeddedRegistryService(InputStream configStream)
This constructor can be used to create a registry service by providing a registry.xml config
file as a stream
|
Modifier and Type | Method and Description |
---|---|
void |
JDBCResourceDAO.add(String path,
ResourceIDImpl parentID,
ResourceImpl resourceImpl) |
void |
JDBCAssociationDAO.addAssociation(String sourcePath,
String targetPath,
String associationType) |
int |
JDBCCommentsVersionDAO.addComment(ResourceImpl resource,
String userID,
Comment comment)
Method to persist a comment.
|
int |
JDBCCommentsDAO.addComment(ResourceImpl resource,
String userID,
Comment comment) |
void |
JDBCCommentsVersionDAO.addComments(ResourceImpl resource,
CommentDO[] commentDOs)
Method to persist comments.
|
void |
JDBCCommentsDAO.addComments(ResourceImpl resource,
CommentDO[] commentDOs) |
void |
JDBCResourceDAO.addContent(ResourceImpl resourceImpl) |
int |
JDBCResourceDAO.addContentBytes(InputStream contentStream) |
int |
JDBCPathCache.addEntry(String path,
int parentPathId)
Method to add resource path entry to the database.
|
void |
JDBCResourceDAO.addProperties(ResourceImpl resource) |
void |
JDBCRatingsVersionDAO.addRating(ResourceImpl resourceImpl,
String userID,
int rating)
Method to persist a rating.
|
void |
JDBCRatingsDAO.addRating(ResourceImpl resourceImpl,
String userID,
int rating) |
void |
JDBCRatingsDAO.addRatings(ResourceImpl resource,
RatingDO[] ratingDOs) |
void |
JDBCResourceDAO.addResourceDO(ResourceDO resourceDO) |
void |
JDBCResourceDAO.addResourceWithNoUpdate(ResourceImpl resourceImpl) |
void |
JDBCResourceDAO.addResourceWithoutContentId(ResourceImpl resourceImpl,
boolean isUpdatingExisting) |
void |
JDBCResourceDAO.addRoot(ResourceImpl resourceImpl) |
void |
JDBCTagsVersionDAO.addTagging(String tagName,
ResourceImpl resource,
String userID)
Method to persist a tag.
|
void |
JDBCTagsDAO.addTagging(String tagName,
ResourceImpl resource,
String userID) |
void |
JDBCTagsVersionDAO.addTaggings(ResourceImpl resource,
TaggingDO[] taggingDOs)
Method to persist tags.
|
void |
JDBCTagsDAO.addTaggings(ResourceImpl resource,
TaggingDO[] taggingDOs) |
void |
JDBCAssociationDAO.copyAssociations(String fromPath,
String toPath) |
void |
JDBCCommentsVersionDAO.copyComments(ResourceImpl sourceResource,
ResourceImpl targetResource)
Method to copy comments.
|
void |
JDBCCommentsDAO.copyComments(ResourceImpl sourceResource,
ResourceImpl targetResource) |
void |
JDBCRatingsVersionDAO.copyRatings(ResourceImpl fromResource,
ResourceImpl toResource)
Method to copy ratings.
|
void |
JDBCRatingsDAO.copyRatings(ResourceImpl fromResource,
ResourceImpl toResource) |
void |
JDBCTagsVersionDAO.copyTags(ResourceImpl fromResource,
ResourceImpl toResource)
Method to copy tags.
|
void |
JDBCTagsDAO.copyTags(ResourceImpl fromResource,
ResourceImpl toResource) |
void |
JDBCResourceDAO.createAndApplyResourceID(String path,
ResourceIDImpl parentID,
ResourceImpl resourceImpl) |
ResourceIDImpl |
JDBCResourceDAO.createResourceID(String path,
ResourceIDImpl parentID,
boolean isCollection) |
long |
JDBCResourceVersionDAO.createSnapshot(int pathId,
String name,
InputStream versionsStream) |
void |
JDBCCommentsDAO.deleteComment(long commentId) |
void |
JDBCResourceDAO.deleteContentStream(int contentID) |
void |
JDBCResourceDAO.deleteResource(ResourceDO resourceDO) |
void |
JDBCResourceDAO.fillChildren(CollectionImpl collection,
DataAccessManager dataAccessManager) |
void |
JDBCResourceDAO.fillChildren(CollectionImpl collection,
int start,
int pageLen) |
void |
JDBCResourceDAO.fillChildren(CollectionImpl collection,
int start,
int pageLen,
Connection conn)
Fill the children for a resource that already filled with meta data.
|
void |
JDBCResourceVersionDAO.fillChildren(CollectionImpl collectionImpl,
VersionRetriever versionRetriever,
int parentVersionIndex,
int start,
int pageLen,
long snapshotID) |
void |
JDBCResourceDAO.fillResource(CollectionImpl collection,
int start,
int pageLen) |
void |
JDBCResourceDAO.fillResource(ResourceImpl resourceImpl) |
void |
JDBCResourceDAO.fillResourceContent(ResourceImpl resourceImpl) |
void |
JDBCResourceVersionDAO.fillResourceContentArchived(ResourceImpl resourceImpl) |
void |
JDBCResourceDAO.fillResourceContentWithNoUpdate(ResourceImpl resourceImpl) |
void |
JDBCResourceDAO.fillResourceProperties(ResourceImpl resourceImpl) |
void |
JDBCResourceDAO.fillResourcePropertiesWithNoUpdate(ResourceImpl resourceImpl) |
ResourceImpl |
JDBCResourceDAO.get(ResourceIDImpl resourceID) |
CollectionImpl |
JDBCResourceDAO.get(ResourceIDImpl resourceID,
int start,
int pageLen) |
ResourceImpl |
JDBCResourceVersionDAO.get(ResourceIDImpl resourceID,
long snapshotID) |
CollectionImpl |
JDBCResourceVersionDAO.get(ResourceIDImpl resourceID,
long snapshotID,
int start,
int pageLen) |
ResourceImpl |
JDBCResourceDAO.get(String path) |
CollectionImpl |
JDBCResourceDAO.get(String path,
int start,
int pageLen) |
Association[] |
JDBCAssociationDAO.getAllAssociations(String resourcePath) |
Association[] |
JDBCAssociationDAO.getAllAssociationsForType(String resourcePath,
String associationType) |
float |
JDBCRatingsVersionDAO.getAverageRating(ResourceImpl resourceImpl)
Method to get the average rating added to a given resource.
|
float |
JDBCRatingsDAO.getAverageRating(ResourceImpl resourceImpl) |
int |
JDBCResourceDAO.getChildCount(CollectionImpl collection,
Connection conn)
Method to return a child count of a collection (database connection should also be provided)
|
int |
JDBCResourceDAO.getChildCount(CollectionImpl collection,
DataAccessManager dataAccessManager) |
int |
JDBCResourceVersionDAO.getChildCount(String resourceID,
long versionNumber,
Connection conn)
Method to return a child count of a collection (database connection should also be provided)
|
List<ResourceIDImpl> |
JDBCResourceDAO.getChildPathIds(ResourceIDImpl resourceID) |
String[] |
JDBCResourceVersionDAO.getChildPaths(ResourceIDImpl resourceID,
VersionRetriever versionRetriever,
int parentVersionIndex,
int start,
int pageLen,
long snapshotID,
Connection conn)
Get the child paths of a resource, (should be a collection)
|
String[] |
JDBCResourceVersionDAO.getChildPaths(ResourceIDImpl resourceID,
VersionRetriever versionRetriever,
int parentVersionIndex,
int start,
int pageLen,
long snapshotID,
DataAccessManager dataAccessManager) |
String[] |
JDBCResourceDAO.getChildren(CollectionImpl collection,
int start,
int pageLen) |
String[] |
JDBCResourceDAO.getChildren(CollectionImpl collection,
int start,
int pageLen,
Connection conn)
Get the children of the collection.
|
String[] |
JDBCResourceDAO.getChildren(CollectionImpl collection,
int start,
int pageLen,
DataAccessManager dataAccessManager) |
Comment |
JDBCCommentsDAO.getComment(long commentID,
String resourcePath) |
Comment[] |
JDBCCommentsVersionDAO.getComments(ResourceImpl resource)
Method to get comments added to a given resource.
|
Comment[] |
JDBCCommentsDAO.getComments(ResourceImpl resource) |
InputStream |
JDBCResourceDAO.getContentStream(int contentID) |
List |
JDBCLogsDAO.getLogList(String path,
int action,
String userName,
Date from,
Date to,
boolean descending,
DataAccessManager dataAccessManager) |
LogEntry[] |
JDBCLogsDAO.getLogs(String path,
int action,
String userName,
Date from,
Date to,
boolean descending,
DataAccessManager dataAccessManager) |
LogEntry[] |
JDBCLogsDAO.getLogs(String path,
int action,
String userName,
Date from,
Date to,
boolean descending,
int start,
int pageLen,
DataAccessManager dataAccessManager) |
int |
JDBCLogsDAO.getLogsCount(String resourcePath,
int action,
String userName,
Date from,
Date to,
boolean descending) |
String |
JDBCResourceDAO.getPath(int pathId,
String resourceName,
boolean checkExistence) |
String |
JDBCResourceDAO.getPath(long version) |
String |
JDBCResourceDAO.getPathFromId(int pathId) |
List |
JDBCTagsVersionDAO.getPathsWithAnyTag(String[] tags)
Method to obtain the list of paths having any of the given tags.
|
List |
JDBCTagsDAO.getPathsWithAnyTag(String[] tags) |
String[] |
JDBCTagsDAO.getPathsWithTag(String tag,
Connection conn)
Method to get resource paths containing the given tag.
|
String[] |
JDBCRatingsVersionDAO.getRatedUserNames(ResourceImpl resourceImpl)
Method to get users who rated the given resource.
|
String[] |
JDBCRatingsDAO.getRatedUserNames(ResourceImpl resourceImpl) |
int |
JDBCRatingsVersionDAO.getRateID(ResourceImpl resourceImpl,
String userID)
Method to get a id of a rating added to a given resource.
|
int |
JDBCRatingsDAO.getRateID(ResourceImpl resourceImpl,
String userID) |
RatingDO |
JDBCRatingsVersionDAO.getRating(long ratingID)
Method to get a rating corresponding to the given id.
|
RatingDO |
JDBCRatingsDAO.getRating(long ratingID)
Method to get a rating corresponding to the given id.
|
int |
JDBCRatingsDAO.getRating(ResourceImpl resourceImpl,
String userID) |
RatingDO |
JDBCRatingsVersionDAO.getRatingDO(ResourceImpl resourceImpl,
String userID)
Method to get a rating added by the given user to the given resource.
|
RatingDO |
JDBCRatingsDAO.getRatingDO(ResourceImpl resourceImpl,
String userID) |
ResourceDO |
JDBCResourceDAO.getResourceDO(long version) |
ResourceDO |
JDBCResourceDAO.getResourceDO(ResourceIDImpl resourceID) |
ResourceIDImpl |
JDBCResourceDAO.getResourceID(String path) |
ResourceIDImpl |
JDBCResourceDAO.getResourceID(String path,
boolean isCollection) |
ResourceImpl |
JDBCResourceDAO.getResourceMetaData(ResourceIDImpl resourceID) |
ResourceImpl |
JDBCResourceDAO.getResourceMetaData(String path) |
String[] |
JDBCCommentsVersionDAO.getResourcePathsOfComments(Long[] commentIDs,
Connection conn)
Method to get resource paths of comments.
|
String[] |
JDBCCommentsDAO.getResourcePathsOfComments(Long[] commentIDs,
Connection conn)
Method to get resource paths of comments.
|
RatingDO[] |
JDBCRatingsVersionDAO.getResourceRatingDO(ResourceImpl resourceImpl)
Method to get ratings added by all users to the given resource.
|
RatingDO[] |
JDBCRatingsDAO.getResourceRatingDO(ResourceImpl resourceImpl) |
ResourceImpl |
JDBCTagsVersionDAO.getResourceWithMinimumData(String path)
Gets the resource with sufficient data to differentiate it from another resource.
|
ResourceImpl |
JDBCTagsDAO.getResourceWithMinimumData(String path) |
ResourceImpl |
JDBCRatingsVersionDAO.getResourceWithMinimumData(String path)
Gets the resource with sufficient data to differentiate it from another resource.
|
ResourceImpl |
JDBCRatingsDAO.getResourceWithMinimumData(String path) |
ResourceImpl |
JDBCCommentsVersionDAO.getResourceWithMinimumData(String path)
Gets the resource with sufficient data to differentiate it from another resource.
|
ResourceImpl |
JDBCCommentsDAO.getResourceWithMinimumData(String path) |
ResourceImpl |
JDBCResourceDAO.getResourceWithNoUpdate(ResourceIDImpl resourceID) |
Long[] |
JDBCResourceVersionDAO.getSnapshotIDs(String resourcePath) |
long |
JDBCTagsVersionDAO.getTagCount(ResourceImpl resourceImpl,
String tag)
Method to get the number of tags added to the given resource, by the given name.
|
long |
JDBCTagsDAO.getTagCount(ResourceImpl resourceImpl,
String tag) |
List<TaggingDO> |
JDBCTagsVersionDAO.getTagDOs(ResourceImpl resourceImpl)
Method to get the data objects of tags added to the given resource.
|
List<TaggingDO> |
JDBCTagsDAO.getTagDOs(ResourceImpl resourceImpl) |
TaggingDO |
JDBCTagsVersionDAO.getTagging(long taggingID)
Method to get a tagging by the given id.
|
TaggingDO |
JDBCTagsDAO.getTagging(long taggingID) |
TaggingDO[] |
JDBCTagsVersionDAO.getTagging(ResourceImpl resource)
Method to get all taggings added to a given resource.
|
TaggingDO[] |
JDBCTagsDAO.getTagging(ResourceImpl resource) |
TaggingDO[] |
JDBCTagsVersionDAO.getTagging(ResourceImpl resource,
String tag,
String userID)
Method to get a tagging added to a given resource by the given user.
|
TaggingDO[] |
JDBCTagsDAO.getTagging(ResourceImpl resource,
String tag,
String userID) |
String[] |
JDBCTagsVersionDAO.getTags(ResourceImpl resourceImpl)
Method to get the names of tags added to the given resource.
|
String[] |
JDBCTagsDAO.getTags(ResourceImpl resourceImpl) |
Tag[] |
JDBCTagsVersionDAO.getTagsWithCount(ResourceImpl resourceImpl)
Method to get tags added to the given resource, along with the count.
|
Tag[] |
JDBCTagsDAO.getTagsWithCount(ResourceImpl resourceImpl) |
long |
JDBCResourceDAO.getVersion(ResourceIDImpl resourceID) |
VersionRetriever |
JDBCResourceVersionDAO.getVersionList(long snapshotID) |
VersionRetriever |
JDBCResourceVersionDAO.getVersionList(ResourceIDImpl resourceID,
long snapshotID) |
boolean |
JDBCResourceVersionDAO.isContentHistoryExist(int contentId) |
boolean |
JDBCResourceVersionDAO.isResourceHistoryExist(long version) |
boolean |
JDBCResourceVersionDAO.isResourceHistoryExist(ResourceIDImpl resourceID) |
boolean |
JDBCResourceVersionDAO.isResourceHistoryExist(String path) |
void |
JDBCCommentsVersionDAO.moveCommentPaths(ResourceIDImpl source,
ResourceIDImpl target)
Method to move comment paths.
|
void |
JDBCCommentsDAO.moveCommentPaths(ResourceIDImpl source,
ResourceIDImpl target) |
void |
JDBCCommentsVersionDAO.moveComments(ResourceIDImpl source,
ResourceIDImpl target)
Method to move comments.
|
void |
JDBCCommentsDAO.moveComments(ResourceIDImpl source,
ResourceIDImpl target) |
void |
JDBCResourceDAO.moveProperties(ResourceIDImpl source,
ResourceIDImpl target) |
void |
JDBCResourceDAO.movePropertyPaths(ResourceIDImpl source,
ResourceIDImpl target) |
void |
JDBCRatingsVersionDAO.moveRatingPaths(ResourceIDImpl source,
ResourceIDImpl target)
Method to move rating paths.
|
void |
JDBCRatingsDAO.moveRatingPaths(ResourceIDImpl source,
ResourceIDImpl target) |
void |
JDBCRatingsVersionDAO.moveRatings(ResourceIDImpl source,
ResourceIDImpl target)
Method to move ratings.
|
void |
JDBCRatingsDAO.moveRatings(ResourceIDImpl source,
ResourceIDImpl target) |
void |
JDBCResourceDAO.moveResourcePaths(ResourceIDImpl source,
ResourceIDImpl target) |
void |
JDBCResourceDAO.moveResources(ResourceIDImpl source,
ResourceIDImpl target) |
void |
JDBCTagsVersionDAO.moveTagPaths(ResourceIDImpl source,
ResourceIDImpl target)
Method to move tag paths.
|
void |
JDBCTagsDAO.moveTagPaths(ResourceIDImpl source,
ResourceIDImpl target) |
void |
JDBCTagsVersionDAO.moveTags(ResourceIDImpl source,
ResourceIDImpl target)
Method to move tags.
|
void |
JDBCTagsDAO.moveTags(ResourceIDImpl source,
ResourceIDImpl target) |
void |
JDBCResourceVersionDAO.putResourceToHistory(ResourceDO resourceDO) |
void |
JDBCAssociationDAO.removeAllAssociations(String resourcePath) |
void |
JDBCAssociationDAO.removeAssociation(String sourcePath,
String targetPath,
String associationType) |
void |
JDBCCommentsDAO.removeComments(ResourceImpl resource) |
void |
JDBCResourceDAO.removeProperties(ResourceDO resourceDO) |
void |
JDBCResourceVersionDAO.removePropertyValues(long regVersionId) |
void |
JDBCRatingsDAO.removeRating(ResourceImpl resourceImpl,
int ratingID) |
void |
JDBCRatingsDAO.removeRatings(ResourceImpl resourceImpl) |
void |
JDBCResourceVersionDAO.removeSnapshot(long snapshotId) |
void |
JDBCTagsDAO.removeTags(ResourceImpl resource) |
void |
JDBCTagsDAO.removeTags(ResourceImpl resource,
String tag) |
void |
JDBCTagsDAO.removeTags(ResourceImpl resource,
String tag,
String userID) |
void |
JDBCCommentsDAO.removeVersionComments(long regVersion) |
void |
JDBCRatingsDAO.removeVersionRatings(long regVersion) |
void |
JDBCTagsDAO.removeVersionTags(long regVersion) |
void |
JDBCAssociationDAO.replaceAssociations(String oldPath,
String newPath) |
boolean |
JDBCResourceDAO.resourceExists(ResourceIDImpl resourceID) |
boolean |
JDBCResourceVersionDAO.resourceExists(ResourceIDImpl resourceID,
long snapshotID) |
boolean |
JDBCResourceDAO.resourceExists(String path) |
boolean |
JDBCResourceDAO.resourceExists(String path,
boolean isCollection) |
String |
JDBCResourceVersionDAO.restoreResources(long version,
long snapshotID) |
void |
JDBCLogsDAO.saveLogBatch(LogRecord[] logRecords) |
boolean |
JDBCTagsVersionDAO.taggingExists(String tagName,
ResourceImpl resourceImpl,
String userID)
Method to determine whether the given tag exists.
|
boolean |
JDBCTagsDAO.taggingExists(String tagName,
ResourceImpl resourceImpl,
String userID) |
void |
JDBCResourceDAO.update(ResourceImpl resourceImpl) |
void |
JDBCResourceDAO.updateCollectionLastUpdatedTime(ResourceIDImpl resourceID) |
void |
JDBCCommentsDAO.updateComment(long commentId,
String text) |
void |
JDBCResourceDAO.updateContentId(ResourceImpl resourceImpl) |
void |
JDBCRatingsDAO.updateRating(ResourceImpl resourceImpl,
int rateID,
int rating) |
void |
JDBCResourceVersionDAO.versionResource(ResourceDO resourceDO,
boolean keepProperties) |
Modifier and Type | Method and Description |
---|---|
void |
JDBCTransactionManager.beginTransaction() |
void |
JDBCTransactionManager.commitTransaction() |
void |
JDBCDataAccessManager.createDatabase() |
Collection |
SQLQueryProcessor.executeQuery(Registry registry,
Resource query,
Map parameters) |
void |
JDBCClusterLock.init(DataAccessManager dataAccessManager,
String clusterLockTableStatement) |
void |
JDBCClusterLock.lock(String lockName) |
void |
JDBCTransactionManager.rollbackTransaction() |
void |
JDBCClusterLock.unlock(String lockName) |
Constructor and Description |
---|
TenantAwareSQLTransformer(String sqlQuery)
Construct the TenantAwareSQLTransformer for a given query
|
Modifier and Type | Method and Description |
---|---|
void |
UserDefinedHandlerManager.addAssociation(RequestContext requestContext) |
void |
HandlerManager.addAssociation(RequestContext requestContext)
Manages the handler invocations of ADD_ASSOCIATION method.
|
void |
HandlerLifecycleManager.addAssociation(RequestContext requestContext) |
void |
Handler.addAssociation(RequestContext requestContext)
Gets called when an Association is added.
|
String |
UserDefinedHandlerManager.addComment(RequestContext requestContext) |
String |
HandlerManager.addComment(RequestContext requestContext)
Manages the handler invocations of ADD_COMMENT method.
|
String |
HandlerLifecycleManager.addComment(RequestContext requestContext) |
String |
Handler.addComment(RequestContext requestContext)
Gets called when adding a comment.
|
void |
UserDefinedHandlerManager.applyTag(RequestContext requestContext) |
void |
HandlerManager.applyTag(RequestContext requestContext)
Manages the handler invocations of APPLY_TAG method.
|
void |
HandlerLifecycleManager.applyTag(RequestContext requestContext) |
void |
Handler.applyTag(RequestContext requestContext)
Gets called when a tag is applied.
|
String |
UserDefinedHandlerManager.copy(RequestContext requestContext) |
String |
HandlerManager.copy(RequestContext requestContext)
Manages the handler invocations of COPY method.
|
String |
HandlerLifecycleManager.copy(RequestContext requestContext) |
String |
Handler.copy(RequestContext requestContext)
Copy a resource in the registry.
|
void |
UserDefinedHandlerManager.createLink(RequestContext requestContext) |
void |
HandlerManager.createLink(RequestContext requestContext)
Manages the handler invocations of CREATE_LINK method.
|
void |
HandlerLifecycleManager.createLink(RequestContext requestContext) |
void |
Handler.createLink(RequestContext requestContext)
Create a symbolic link or mount a registry.
|
void |
UserDefinedHandlerManager.createVersion(RequestContext requestContext) |
void |
HandlerManager.createVersion(RequestContext requestContext)
Manages the handler invocations of CREATE_VERSION method.
|
void |
HandlerLifecycleManager.createVersion(RequestContext requestContext) |
void |
Handler.createVersion(RequestContext requestContext)
Gets called when creating a version.
|
void |
UserDefinedHandlerManager.delete(RequestContext requestContext) |
void |
HandlerManager.delete(RequestContext requestContext)
Manages the handler invocations of DELETE method.
|
void |
HandlerLifecycleManager.delete(RequestContext requestContext) |
void |
Handler.delete(RequestContext requestContext)
Processes the DELETE action of the media type.
|
org.apache.axiom.om.OMElement |
UserDefinedHandlerManager.dump(RequestContext requestContext) |
org.apache.axiom.om.OMElement |
HandlerManager.dump(RequestContext requestContext)
Manages the handler invocations of DUMP method.
|
org.apache.axiom.om.OMElement |
HandlerLifecycleManager.dump(RequestContext requestContext) |
void |
Handler.dump(RequestContext requestContext)
Gets called when dumping an path
|
org.apache.axiom.om.OMElement |
UserDefinedHandlerManager.dumpLite(RequestContext requestContext) |
org.apache.axiom.om.OMElement |
HandlerManager.dumpLite(RequestContext requestContext)
Manages the handler invocations of DUMP method.
|
org.apache.axiom.om.OMElement |
HandlerLifecycleManager.dumpLite(RequestContext requestContext) |
protected void |
Handler.dumpLite(RequestContext requestContext)
Gets called when dumping an path from registry depsync
|
void |
UserDefinedHandlerManager.editComment(RequestContext requestContext) |
void |
HandlerManager.editComment(RequestContext requestContext)
Manages the handler invocations of REMOVE_COMMENT method.
|
void |
HandlerLifecycleManager.editComment(RequestContext requestContext) |
void |
Handler.editComment(RequestContext requestContext)
Gets called when editing a comment.
|
Collection |
UserDefinedHandlerManager.executeQuery(RequestContext requestContext) |
Collection |
HandlerManager.executeQuery(RequestContext requestContext)
Manages the handler invocations of EXECUTE_QUERY method.
|
Collection |
HandlerLifecycleManager.executeQuery(RequestContext requestContext) |
Collection |
Handler.executeQuery(RequestContext requestContext)
Gets called when executing Queries.
|
Resource |
UserDefinedHandlerManager.get(RequestContext requestContext) |
Resource |
UIEnabledHandler.get(RequestContext requestContext)
Implementation of the
Handler.get(org.wso2.carbon.registry.core.jdbc.handlers.RequestContext) method of the Handler class. |
Resource |
HandlerManager.get(RequestContext requestContext)
Manages the handler invocations of GET method.
|
Resource |
HandlerLifecycleManager.get(RequestContext requestContext) |
Resource |
Handler.get(RequestContext requestContext)
Processes the GET action for resource path of the requestContext.
|
Association[] |
UserDefinedHandlerManager.getAllAssociations(RequestContext requestContext) |
Association[] |
HandlerManager.getAllAssociations(RequestContext requestContext)
Manages the handler invocations of GET_ALL_ASSOCIATIONS method.
|
Association[] |
HandlerLifecycleManager.getAllAssociations(RequestContext requestContext) |
Association[] |
Handler.getAllAssociations(RequestContext requestContext)
Gets called when getting all Associations.
|
Association[] |
UserDefinedHandlerManager.getAssociations(RequestContext requestContext) |
Association[] |
HandlerManager.getAssociations(RequestContext requestContext)
Manages the handler invocations of GET_ASSOCIATIONS method.
|
Association[] |
HandlerLifecycleManager.getAssociations(RequestContext requestContext) |
Association[] |
Handler.getAssociations(RequestContext requestContext)
Gets called when getting Associations of given type.
|
float |
UserDefinedHandlerManager.getAverageRating(RequestContext requestContext) |
float |
HandlerManager.getAverageRating(RequestContext requestContext)
Manages the handler invocations of GET_AVERAGE_RATING method.
|
float |
HandlerLifecycleManager.getAverageRating(RequestContext requestContext) |
float |
Handler.getAverageRating(RequestContext requestContext)
Gets called when getting average rating.
|
Resource |
XSLTBasedUIEnabledHandler.getBrowseView(String viewKey,
RequestContext requestContext)
Deprecated.
|
Resource |
UIEnabledHandler.getBrowseView(String browseViewKey,
RequestContext requestContext)
Implementations of this method should generate a HTML UI for rendering the resource content
and set it as the content of the returned resource.
|
Comment[] |
UserDefinedHandlerManager.getComments(RequestContext requestContext) |
Comment[] |
HandlerManager.getComments(RequestContext requestContext)
Manages the handler invocations of GET_COMMENTS method.
|
Comment[] |
HandlerLifecycleManager.getComments(RequestContext requestContext) |
Comment[] |
Handler.getComments(RequestContext requestContext)
Gets called when retrieving comments.
|
Resource |
XSLTBasedUIEnabledHandler.getEditView(String editViewKey,
RequestContext requestContext)
Deprecated.
|
Resource |
UIEnabledHandler.getEditView(String editViewKey,
RequestContext requestContext)
Implementations of this method should generate a HTML UI for editing the resource content and
set it as the content of the returned resource.
|
Resource |
XSLTBasedUIEnabledHandler.getNewView(String newViewKey,
RequestContext requestContext)
Deprecated.
|
Resource |
UIEnabledHandler.getNewView(String newViewKey,
RequestContext requestContext)
Implementations of this method should generate a HTML UI for creating a new resource content
and set it as the content of the returned resource.
|
int |
UserDefinedHandlerManager.getRating(RequestContext requestContext) |
int |
HandlerManager.getRating(RequestContext requestContext)
Manages the handler invocations of GET_RATING method.
|
int |
HandlerLifecycleManager.getRating(RequestContext requestContext) |
int |
Handler.getRating(RequestContext requestContext)
Gets called when getting a rating given by a specific user.
|
Resource |
UIEnabledHandler.getRawResource(RequestContext requestContext)
Returns a Resource instance specified in the requestContext.
|
protected Registry |
EditProcessor.getRegistry(javax.servlet.http.HttpServletRequest request)
Obtains an instance of the Registry that the user can work with.
|
TaggedResourcePath[] |
UserDefinedHandlerManager.getResourcePathsWithTag(RequestContext requestContext) |
TaggedResourcePath[] |
HandlerManager.getResourcePathsWithTag(RequestContext requestContext)
Manages the handler invocations of GET_RESOURCE_PATHS_WITH_TAG method.
|
TaggedResourcePath[] |
HandlerLifecycleManager.getResourcePathsWithTag(RequestContext requestContext) |
TaggedResourcePath[] |
Handler.getResourcePathsWithTag(RequestContext requestContext)
Gets called when getting the resource paths corresponding to the given tag.
|
Registry |
RequestContext.getSystemRegistry()
Method to get the System Registry.
|
Tag[] |
UserDefinedHandlerManager.getTags(RequestContext requestContext) |
Tag[] |
HandlerManager.getTags(RequestContext requestContext)
Manages the handler invocations of GET_TAGS method.
|
Tag[] |
HandlerLifecycleManager.getTags(RequestContext requestContext) |
Tag[] |
Handler.getTags(RequestContext requestContext)
Gets called when getting tags.
|
String[] |
UserDefinedHandlerManager.getVersions(RequestContext requestContext) |
String[] |
HandlerManager.getVersions(RequestContext requestContext)
Manages the handler invocations of GET_VERSIONS method.
|
String[] |
HandlerLifecycleManager.getVersions(RequestContext requestContext) |
String[] |
Handler.getVersions(RequestContext requestContext)
Gets called when getting versions.
|
void |
UserDefinedHandlerManager.importChild(RequestContext requestContext) |
void |
HandlerManager.importChild(RequestContext requestContext)
Manages the handler invocations of IMPORT_CHILD method.
|
void |
HandlerLifecycleManager.importChild(RequestContext requestContext) |
void |
Handler.importChild(RequestContext requestContext)
Invokes when a child resource is imported.
|
String |
UserDefinedHandlerManager.importResource(RequestContext requestContext) |
String |
HandlerManager.importResource(RequestContext requestContext)
Manages the handler invocations of IMPORT method.
|
String |
HandlerLifecycleManager.importResource(RequestContext requestContext) |
void |
Handler.importResource(RequestContext requestContext)
Creates a resource in the given path by fetching the resource content from the given URL.
|
void |
UserDefinedHandlerManager.invokeAspect(RequestContext requestContext) |
void |
HandlerManager.invokeAspect(RequestContext requestContext)
Manages the handler invocations of INVOKE_ASPECT method.
|
void |
HandlerLifecycleManager.invokeAspect(RequestContext requestContext) |
void |
Handler.invokeAspect(RequestContext requestContext)
Gets called when an Associated Aspect gets invoked.
|
String |
UserDefinedHandlerManager.move(RequestContext requestContext) |
String |
HandlerManager.move(RequestContext requestContext)
Manages the handler invocations of MOVE method.
|
String |
HandlerLifecycleManager.move(RequestContext requestContext) |
String |
Handler.move(RequestContext requestContext)
Move a resource in the registry.
|
void |
CustomEditManager.process(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles edit and new resource requests generated from custom UIs by delegating them to
corresponding EditProcessors.
|
boolean |
TextEditProcessor.processEditContent(String path,
String editViewKey,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Extracts text based user input from a HTML control named "generic-text-input" and sets it as
the resource content.
|
abstract boolean |
EditProcessor.processEditContent(String path,
String editViewKey,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Implementations of this method should extract input parameters from edit view and update the
resource content.
|
boolean |
TextEditProcessor.processNewContent(String path,
String newViewKey,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
abstract boolean |
EditProcessor.processNewContent(String parentPath,
String newViewKey,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Implementations of this method should extract input parameters from new view and create a new
resource with that content.
|
String |
UserDefinedHandlerManager.put(RequestContext requestContext) |
String |
HandlerManager.put(RequestContext requestContext)
Manages the handler invocations of PUT method.
|
String |
HandlerLifecycleManager.put(RequestContext requestContext) |
void |
Handler.put(RequestContext requestContext)
Processes the PUT action.
|
void |
UserDefinedHandlerManager.putChild(RequestContext requestContext) |
void |
HandlerManager.putChild(RequestContext requestContext)
Manages the handler invocations of PUT_CHILD method.
|
void |
HandlerLifecycleManager.putChild(RequestContext requestContext) |
void |
Handler.putChild(RequestContext requestContext)
Invokes when a child resource is added.
|
void |
UserDefinedHandlerManager.rateResource(RequestContext requestContext) |
void |
HandlerManager.rateResource(RequestContext requestContext)
Manages the handler invocations of RATE_RESOURCE method.
|
void |
HandlerLifecycleManager.rateResource(RequestContext requestContext) |
void |
Handler.rateResource(RequestContext requestContext)
Gets called when rating a resource.
|
void |
UserDefinedHandlerManager.removeAssociation(RequestContext requestContext) |
void |
HandlerManager.removeAssociation(RequestContext requestContext)
Manages the handler invocations of REMOVE_ASSOCIATION method.
|
void |
HandlerLifecycleManager.removeAssociation(RequestContext requestContext) |
void |
Handler.removeAssociation(RequestContext requestContext)
Gets called when an Association is removed.
|
void |
UserDefinedHandlerManager.removeComment(RequestContext requestContext) |
void |
HandlerManager.removeComment(RequestContext requestContext)
Manages the handler invocations of EDIT_COMMENT method.
|
void |
HandlerLifecycleManager.removeComment(RequestContext requestContext) |
void |
Handler.removeComment(RequestContext requestContext)
Gets called when removing a comment.
|
void |
UserDefinedHandlerManager.removeLink(RequestContext requestContext) |
void |
HandlerManager.removeLink(RequestContext requestContext)
Manages the handler invocations of REMOVE_LINK method.
|
void |
HandlerLifecycleManager.removeLink(RequestContext requestContext) |
void |
Handler.removeLink(RequestContext requestContext)
Remove a symbolic link or un-mount a registry.
|
void |
UserDefinedHandlerManager.removeTag(RequestContext requestContext) |
void |
HandlerManager.removeTag(RequestContext requestContext)
Manages the handler invocations of REMOVE_TAG method.
|
void |
HandlerLifecycleManager.removeTag(RequestContext requestContext) |
void |
Handler.removeTag(RequestContext requestContext)
Gets called when a tag is removed.
|
String |
UserDefinedHandlerManager.rename(RequestContext requestContext) |
String |
HandlerManager.rename(RequestContext requestContext)
Manages the handler invocations of RENAME method.
|
String |
HandlerLifecycleManager.rename(RequestContext requestContext) |
String |
Handler.rename(RequestContext requestContext)
Rename a resource in the registry.
|
boolean |
UserDefinedHandlerManager.resourceExists(RequestContext requestContext) |
boolean |
HandlerManager.resourceExists(RequestContext requestContext)
Manages the handler invocations of RESOURCE_EXISTS method.
|
boolean |
HandlerLifecycleManager.resourceExists(RequestContext requestContext) |
boolean |
Handler.resourceExists(RequestContext requestContext)
Gets called when searching for existence of resource.
|
void |
UserDefinedHandlerManager.restore(RequestContext requestContext) |
void |
HandlerManager.restore(RequestContext requestContext)
Manages the handler invocations of RESTORE method.
|
void |
HandlerLifecycleManager.restore(RequestContext requestContext) |
void |
Handler.restore(RequestContext requestContext)
Gets called when restoring a path
|
void |
UserDefinedHandlerManager.restoreVersion(RequestContext requestContext) |
void |
HandlerManager.restoreVersion(RequestContext requestContext)
Manages the handler invocations of RESTORE_VERSION method.
|
void |
HandlerLifecycleManager.restoreVersion(RequestContext requestContext) |
void |
Handler.restoreVersion(RequestContext requestContext)
Gets called when restoring a version.
|
Collection |
UserDefinedHandlerManager.searchContent(RequestContext requestContext) |
Collection |
HandlerManager.searchContent(RequestContext requestContext)
Manages the handler invocations of SEARCH_CONTENT method.
|
Collection |
HandlerLifecycleManager.searchContent(RequestContext requestContext) |
Collection |
Handler.searchContent(RequestContext requestContext)
Gets called when searching for content.
|
void |
XSLTBasedUIEnabledHandler.setBrowseXSLT(org.apache.axiom.om.OMElement browseElement)
Deprecated.
|
void |
XSLTBasedUIEnabledHandler.setEditXSLT(org.apache.axiom.om.OMElement editElement)
Deprecated.
|
void |
XSLTBasedUIEnabledHandler.setNewHTML(org.apache.axiom.om.OMElement newElement)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
SymLinkHandler.addAssociation(RequestContext requestContext) |
void |
SimulationHandler.addAssociation(RequestContext requestContext) |
void |
OperationStatisticsHandler.addAssociation(RequestContext requestContext) |
void |
MountHandler.addAssociation(RequestContext requestContext) |
String |
SymLinkHandler.addComment(RequestContext requestContext) |
String |
SimulationHandler.addComment(RequestContext requestContext) |
String |
MountHandler.addComment(RequestContext requestContext) |
void |
SymLinkHandler.applyTag(RequestContext requestContext) |
void |
SimulationHandler.applyTag(RequestContext requestContext) |
void |
MountHandler.applyTag(RequestContext requestContext) |
String |
SymLinkHandler.copy(RequestContext requestContext) |
String |
SimulationHandler.copy(RequestContext requestContext) |
String |
OperationStatisticsHandler.copy(RequestContext requestContext) |
String |
MountHandler.copy(RequestContext requestContext) |
void |
SimulationHandler.createLink(RequestContext requestContext) |
void |
SimulationHandler.createVersion(RequestContext requestContext) |
void |
SymLinkHandler.delete(RequestContext requestContext) |
void |
SimulationHandler.delete(RequestContext requestContext) |
void |
OperationStatisticsHandler.delete(RequestContext requestContext) |
void |
MountHandler.delete(RequestContext requestContext) |
void |
CommentURLHandler.delete(RequestContext requestContext) |
void |
SimulationHandler.dump(RequestContext requestContext) |
void |
OperationStatisticsHandler.dump(RequestContext requestContext) |
void |
MountHandler.dump(RequestContext requestContext) |
void |
SimulationHandler.dumpLite(RequestContext requestContext) |
void |
OperationStatisticsHandler.dumpLite(RequestContext requestContext) |
void |
MountHandler.dumpLite(RequestContext requestContext) |
void |
SimulationHandler.editComment(RequestContext requestContext) |
Collection |
SimulationHandler.executeQuery(RequestContext requestContext) |
Collection |
OperationStatisticsHandler.executeQuery(RequestContext requestContext) |
Collection |
MountHandler.executeQuery(RequestContext requestContext) |
Resource |
TagURLHandler.get(RequestContext requestContext) |
Resource |
TagCollectionURLHandler.get(RequestContext requestContext)
Deprecated.
|
Resource |
SymLinkHandler.get(RequestContext requestContext) |
Resource |
SQLQueryHandler.get(RequestContext requestContext) |
Resource |
SimulationHandler.get(RequestContext requestContext) |
Resource |
RatingURLHandler.get(RequestContext requestContext) |
Resource |
RatingCollectionURLHandler.get(RequestContext requestContext) |
Resource |
OperationStatisticsHandler.get(RequestContext requestContext) |
Resource |
MountHandler.get(RequestContext requestContext) |
Resource |
CommentURLHandler.get(RequestContext requestContext) |
Resource |
CommentCollectionURLHandler.get(RequestContext requestContext) |
Association[] |
SymLinkHandler.getAllAssociations(RequestContext requestContext) |
Association[] |
SimulationHandler.getAllAssociations(RequestContext requestContext) |
Association[] |
OperationStatisticsHandler.getAllAssociations(RequestContext requestContext) |
Association[] |
MountHandler.getAllAssociations(RequestContext requestContext) |
Association[] |
SymLinkHandler.getAssociations(RequestContext requestContext) |
Association[] |
SimulationHandler.getAssociations(RequestContext requestContext) |
Association[] |
OperationStatisticsHandler.getAssociations(RequestContext requestContext) |
Association[] |
MountHandler.getAssociations(RequestContext requestContext) |
float |
SymLinkHandler.getAverageRating(RequestContext requestContext) |
float |
SimulationHandler.getAverageRating(RequestContext requestContext) |
float |
MountHandler.getAverageRating(RequestContext requestContext) |
Comment[] |
SymLinkHandler.getComments(RequestContext requestContext) |
Comment[] |
SimulationHandler.getComments(RequestContext requestContext) |
Comment[] |
MountHandler.getComments(RequestContext requestContext) |
int |
SymLinkHandler.getRating(RequestContext requestContext) |
int |
SimulationHandler.getRating(RequestContext requestContext) |
int |
MountHandler.getRating(RequestContext requestContext) |
TaggedResourcePath[] |
SimulationHandler.getResourcePathsWithTag(RequestContext requestContext) |
TaggedResourcePath[] |
MountHandler.getResourcePathsWithTag(RequestContext requestContext) |
Tag[] |
SymLinkHandler.getTags(RequestContext requestContext) |
Tag[] |
SimulationHandler.getTags(RequestContext requestContext) |
Tag[] |
MountHandler.getTags(RequestContext requestContext) |
String[] |
SimulationHandler.getVersions(RequestContext requestContext) |
void |
SimulationHandler.importChild(RequestContext requestContext) |
void |
SymLinkHandler.importResource(RequestContext requestContext) |
void |
SimulationHandler.importResource(RequestContext requestContext) |
void |
OperationStatisticsHandler.importResource(RequestContext requestContext) |
void |
MountHandler.importResource(RequestContext requestContext) |
void |
SimulationHandler.invokeAspect(RequestContext requestContext) |
String |
SymLinkHandler.move(RequestContext requestContext) |
String |
SimulationHandler.move(RequestContext requestContext) |
String |
RegexBaseRestrictionHandler.move(RequestContext requestContext) |
String |
OperationStatisticsHandler.move(RequestContext requestContext) |
String |
MountHandler.move(RequestContext requestContext) |
void |
SymLinkHandler.put(RequestContext requestContext) |
void |
SQLQueryHandler.put(RequestContext requestContext) |
void |
SimulationHandler.put(RequestContext requestContext) |
void |
OperationStatisticsHandler.put(RequestContext requestContext) |
void |
MountHandler.put(RequestContext requestContext) |
void |
SymLinkHandler.rateResource(RequestContext requestContext) |
void |
SimulationHandler.rateResource(RequestContext requestContext) |
void |
MountHandler.rateResource(RequestContext requestContext) |
void |
SymLinkHandler.removeAssociation(RequestContext requestContext) |
void |
SimulationHandler.removeAssociation(RequestContext requestContext) |
void |
OperationStatisticsHandler.removeAssociation(RequestContext requestContext) |
void |
MountHandler.removeAssociation(RequestContext requestContext) |
void |
SimulationHandler.removeComment(RequestContext requestContext) |
void |
MountHandler.removeComment(RequestContext requestContext) |
void |
SimulationHandler.removeLink(RequestContext requestContext) |
void |
SymLinkHandler.removeTag(RequestContext requestContext) |
void |
SimulationHandler.removeTag(RequestContext requestContext) |
void |
MountHandler.removeTag(RequestContext requestContext) |
String |
SymLinkHandler.rename(RequestContext requestContext) |
String |
SimulationHandler.rename(RequestContext requestContext) |
String |
RegexBaseRestrictionHandler.rename(RequestContext requestContext) |
String |
OperationStatisticsHandler.rename(RequestContext requestContext) |
String |
MountHandler.rename(RequestContext requestContext) |
boolean |
SymLinkHandler.resourceExists(RequestContext requestContext) |
boolean |
SimulationHandler.resourceExists(RequestContext requestContext) |
boolean |
OperationStatisticsHandler.resourceExists(RequestContext requestContext) |
boolean |
MountHandler.resourceExists(RequestContext requestContext) |
void |
SimulationHandler.restore(RequestContext requestContext) |
void |
OperationStatisticsHandler.restore(RequestContext requestContext) |
void |
MountHandler.restore(RequestContext requestContext) |
void |
SimulationHandler.restoreVersion(RequestContext requestContext) |
Collection |
SimulationHandler.searchContent(RequestContext requestContext) |
Modifier and Type | Method and Description |
---|---|
boolean |
URLMatcher.handleAddAssociation(RequestContext requestContext) |
boolean |
SimulationFilter.handleAddAssociation(RequestContext requestContext) |
boolean |
Filter.handleAddAssociation(RequestContext requestContext)
Determines whether the associating handler should handle the addAssociation action.
|
boolean |
URLMatcher.handleAddComment(RequestContext requestContext) |
boolean |
SimulationFilter.handleAddComment(RequestContext requestContext) |
boolean |
Filter.handleAddComment(RequestContext requestContext)
Determines whether the associating handler should handle the addComment action.
|
boolean |
URLMatcher.handleApplyTag(RequestContext requestContext) |
boolean |
SimulationFilter.handleApplyTag(RequestContext requestContext) |
boolean |
Filter.handleApplyTag(RequestContext requestContext)
Determines whether the associating handler should handle the applyTag action.
|
boolean |
URLMatcher.handleCopy(RequestContext requestContext) |
boolean |
SimulationFilter.handleCopy(RequestContext requestContext) |
boolean |
MediaTypeMatcher.handleCopy(RequestContext requestContext)
Matches if the media type of the current resource is equal to the handler's media type.
|
boolean |
Filter.handleCopy(RequestContext requestContext)
Determines whether the associating handler should handle the copy action.
|
boolean |
URLMatcher.handleCreateLink(RequestContext requestContext) |
boolean |
SimulationFilter.handleCreateLink(RequestContext requestContext) |
boolean |
MediaTypeMatcher.handleCreateLink(RequestContext requestContext)
Matches if the media type of the current resource is equal to the handler's media type.
|
boolean |
Filter.handleCreateLink(RequestContext requestContext)
Determines whether the associating handler should handle the createLink action.
|
boolean |
URLMatcher.handleCreateVersion(RequestContext requestContext) |
boolean |
SimulationFilter.handleCreateVersion(RequestContext requestContext) |
boolean |
Filter.handleCreateVersion(RequestContext requestContext)
Determines whether the associating handler should handle the createVersion action.
|
boolean |
URLMatcher.handleDelete(RequestContext requestContext) |
boolean |
SimulationFilter.handleDelete(RequestContext requestContext) |
boolean |
MediaTypeMatcher.handleDelete(RequestContext requestContext)
Matches if the media type of the current resource is equal to the handler's media type.
|
abstract boolean |
Filter.handleDelete(RequestContext requestContext)
Determines whether the associating handler should handle the delete action.
|
boolean |
URLMatcher.handleDump(RequestContext requestContext) |
boolean |
SimulationFilter.handleDump(RequestContext requestContext) |
boolean |
Filter.handleDump(RequestContext requestContext)
Determines whether the associating handler should handle the dump action.
|
boolean |
URLMatcher.handleEditComment(RequestContext requestContext) |
boolean |
SimulationFilter.handleEditComment(RequestContext requestContext) |
boolean |
Filter.handleEditComment(RequestContext requestContext)
Determines whether the associating handler should handle the editComment action.
|
boolean |
URLMatcher.handleExecuteQuery(RequestContext requestContext) |
boolean |
SimulationFilter.handleExecuteQuery(RequestContext requestContext) |
boolean |
Filter.handleExecuteQuery(RequestContext requestContext)
Determines whether the associating handler should handle the executeQuery action.
|
boolean |
URLMatcher.handleGet(RequestContext requestContext) |
boolean |
SimulationFilter.handleGet(RequestContext requestContext) |
boolean |
MediaTypeMatcher.handleGet(RequestContext requestContext)
Matches if the media type of the current resource is equal to the handler's media type.
|
abstract boolean |
Filter.handleGet(RequestContext requestContext)
Determines whether the associating handler should handle the get action.
|
boolean |
URLMatcher.handleGetAllAssociations(RequestContext requestContext) |
boolean |
SimulationFilter.handleGetAllAssociations(RequestContext requestContext) |
boolean |
Filter.handleGetAllAssociations(RequestContext requestContext)
Determines whether the associating handler should handle the getAllAssociations action.
|
boolean |
URLMatcher.handleGetAssociations(RequestContext requestContext) |
boolean |
SimulationFilter.handleGetAssociations(RequestContext requestContext) |
boolean |
Filter.handleGetAssociations(RequestContext requestContext)
Determines whether the associating handler should handle the getAssociations action.
|
boolean |
URLMatcher.handleGetAverageRating(RequestContext requestContext) |
boolean |
SimulationFilter.handleGetAverageRating(RequestContext requestContext) |
boolean |
Filter.handleGetAverageRating(RequestContext requestContext)
Determines whether the associating handler should handle the getAverageRating action.
|
boolean |
URLMatcher.handleGetComments(RequestContext requestContext) |
boolean |
SimulationFilter.handleGetComments(RequestContext requestContext) |
boolean |
Filter.handleGetComments(RequestContext requestContext)
Determines whether the associating handler should handle the getComments action.
|
boolean |
URLMatcher.handleGetRating(RequestContext requestContext) |
boolean |
SimulationFilter.handleGetRating(RequestContext requestContext) |
boolean |
Filter.handleGetRating(RequestContext requestContext)
Determines whether the associating handler should handle the getRating action.
|
boolean |
SimulationFilter.handleGetResourcePathsWithTag(RequestContext requestContext) |
boolean |
Filter.handleGetResourcePathsWithTag(RequestContext requestContext)
Determines whether the associating handler should handle the getResourcePathsWithTag action.
|
boolean |
URLMatcher.handleGetTags(RequestContext requestContext) |
boolean |
SimulationFilter.handleGetTags(RequestContext requestContext) |
boolean |
Filter.handleGetTags(RequestContext requestContext)
Determines whether the associating handler should handle the getTags action.
|
boolean |
URLMatcher.handleGetVersions(RequestContext requestContext) |
boolean |
SimulationFilter.handleGetVersions(RequestContext requestContext) |
boolean |
Filter.handleGetVersions(RequestContext requestContext)
Determines whether the associating handler should handle the getVersions action.
|
boolean |
URLMatcher.handleImportChild(RequestContext requestContext) |
boolean |
SimulationFilter.handleImportChild(RequestContext requestContext) |
boolean |
MediaTypeMatcher.handleImportChild(RequestContext requestContext)
Matches if the media type of the parent collection of the current resource is equal to the
handler's media type.
|
abstract boolean |
Filter.handleImportChild(RequestContext requestContext)
Determines whether the associating handler should handle the importChild action.
|
boolean |
URLMatcher.handleImportResource(RequestContext requestContext) |
boolean |
SimulationFilter.handleImportResource(RequestContext requestContext) |
boolean |
MediaTypeMatcher.handleImportResource(RequestContext requestContext)
Matches if the media type of the current resource is equal to the handler's media type.
|
abstract boolean |
Filter.handleImportResource(RequestContext requestContext)
Determines whether the associating handler should handle the import resource action.
|
boolean |
URLMatcher.handleInvokeAspect(RequestContext requestContext) |
boolean |
SimulationFilter.handleInvokeAspect(RequestContext requestContext) |
boolean |
MediaTypeMatcher.handleInvokeAspect(RequestContext requestContext)
Matches if the media type of the current resource is equal to the handler's media type.
|
boolean |
Filter.handleInvokeAspect(RequestContext requestContext)
Determines whether the associating handler should handle the invokeAspect action.
|
boolean |
URLMatcher.handleMove(RequestContext requestContext) |
boolean |
SimulationFilter.handleMove(RequestContext requestContext) |
boolean |
MediaTypeMatcher.handleMove(RequestContext requestContext)
Matches if the media type of the current resource is equal to the handler's media type.
|
boolean |
Filter.handleMove(RequestContext requestContext)
Determines whether the associating handler should handle the move action.
|
boolean |
URLMatcher.handlePut(RequestContext requestContext) |
boolean |
SimulationFilter.handlePut(RequestContext requestContext) |
boolean |
MediaTypeMatcher.handlePut(RequestContext requestContext)
Matches if the media type of the current resource is equal to the handler's media type.
|
abstract boolean |
Filter.handlePut(RequestContext requestContext)
Determines whether the associating handler should handle the put action.
|
boolean |
URLMatcher.handlePutChild(RequestContext requestContext) |
boolean |
SimulationFilter.handlePutChild(RequestContext requestContext) |
boolean |
MediaTypeMatcher.handlePutChild(RequestContext requestContext)
Matches if the media type of the parent collection of the current resource is equal to the
handler's media type.
|
abstract boolean |
Filter.handlePutChild(RequestContext requestContext)
Determines whether the associating handler should handle the putChild action.
|
boolean |
URLMatcher.handleRateResource(RequestContext requestContext) |
boolean |
SimulationFilter.handleRateResource(RequestContext requestContext) |
boolean |
Filter.handleRateResource(RequestContext requestContext)
Determines whether the associating handler should handle the rateResource action.
|
boolean |
URLMatcher.handleRemoveAssociation(RequestContext requestContext) |
boolean |
SimulationFilter.handleRemoveAssociation(RequestContext requestContext) |
boolean |
Filter.handleRemoveAssociation(RequestContext requestContext)
Determines whether the associating handler should handle the removeAssociation action.
|
boolean |
URLMatcher.handleRemoveComment(RequestContext requestContext) |
boolean |
SimulationFilter.handleRemoveComment(RequestContext requestContext) |
boolean |
Filter.handleRemoveComment(RequestContext requestContext)
Determines whether the associating handler should handle the removeComment action.
|
boolean |
URLMatcher.handleRemoveLink(RequestContext requestContext) |
boolean |
SimulationFilter.handleRemoveLink(RequestContext requestContext) |
boolean |
MediaTypeMatcher.handleRemoveLink(RequestContext requestContext)
Matches if the media type of the current resource is equal to the handler's media type.
|
boolean |
Filter.handleRemoveLink(RequestContext requestContext)
Determines whether the associating handler should handle the removeLink action.
|
boolean |
URLMatcher.handleRemoveTag(RequestContext requestContext) |
boolean |
SimulationFilter.handleRemoveTag(RequestContext requestContext) |
boolean |
Filter.handleRemoveTag(RequestContext requestContext)
Determines whether the associating handler should handle the removeTag action.
|
boolean |
URLMatcher.handleRename(RequestContext requestContext) |
boolean |
SimulationFilter.handleRename(RequestContext requestContext) |
boolean |
MediaTypeMatcher.handleRename(RequestContext requestContext)
Matches if the media type of the current resource is equal to the handler's media type.
|
boolean |
Filter.handleRename(RequestContext requestContext)
Determines whether the associating handler should handle the rename action.
|
boolean |
URLMatcher.handleResourceExists(RequestContext requestContext) |
boolean |
SimulationFilter.handleResourceExists(RequestContext requestContext) |
boolean |
Filter.handleResourceExists(RequestContext requestContext)
Determines whether the associating handler should handle the resourceExists action.
|
boolean |
URLMatcher.handleRestore(RequestContext requestContext) |
boolean |
SimulationFilter.handleRestore(RequestContext requestContext) |
boolean |
Filter.handleRestore(RequestContext requestContext)
Determines whether the associating handler should handle the restore action.
|
boolean |
URLMatcher.handleRestoreVersion(RequestContext requestContext) |
boolean |
SimulationFilter.handleRestoreVersion(RequestContext requestContext) |
boolean |
Filter.handleRestoreVersion(RequestContext requestContext)
Determines whether the associating handler should handle the restoreVersion action.
|
boolean |
SimulationFilter.handleSearchContent(RequestContext requestContext) |
boolean |
Filter.handleSearchContent(RequestContext requestContext)
Determines whether the associating handler should handle the searchContent action.
|
Modifier and Type | Method and Description |
---|---|
Collection |
QueryProcessorManager.executeQuery(Registry registry,
Resource queryResource,
Map parameters)
Execute a query using the query processor associated with the media type of the query.
|
Constructor and Description |
---|
QueryProcessorManager(DataAccessManager dataAccessManager,
RegistryContext registryContext)
Construct a query processor manager object from the data source and registry context.
|
Modifier and Type | Method and Description |
---|---|
void |
InMemoryRealmService.setup()
Setup the realm service.
|
Constructor and Description |
---|
InMemoryRealmService()
Construct a in memory realm service.
|
RegistryRealm(org.wso2.carbon.user.core.UserRealm userRealm)
Construct a realm wrapping a user realm.
|
Modifier and Type | Method and Description |
---|---|
static String |
ServiceConfigUtil.getConfigFile()
Method to obtain configuration file content as a String.
|
static String |
ServiceConfigUtil.getConfigSchemaFile()
Method to obtain services config schema file content as a String.
|
long |
VersionRetriever.getVersion(int versionIndex)
Method to fetch the version at the given index.
|
Modifier and Type | Class and Description |
---|---|
class |
AuthorizationFailedException
Class for capturing exception due to inadequate authorizations to proceed with various registry
operations and related utility methods.
|
Modifier and Type | Method and Description |
---|---|
UserRegistry |
RegistryService.getConfigSystemRegistry()
Returns a registry to be used for system operations.
|
UserRegistry |
RegistryService.getConfigSystemRegistry(int tenantId)
Returns a registry to be used for system operations.
|
UserRegistry |
RegistryService.getConfigUserRegistry()
Creates a Registry instance for anonymous user from the configuration registry space.
|
UserRegistry |
RegistryService.getConfigUserRegistry(String userName)
Creates a Registry instance for the given user from the configuration registry space.
|
UserRegistry |
RegistryService.getConfigUserRegistry(String userName,
int tenantId)
Creates a Registry instance for the given user from the configuration registry space with the
tenant id.
|
UserRegistry |
RegistryService.getConfigUserRegistry(String userName,
String password)
Creates Registry instances for normal users from the configuration registry space.
|
UserRegistry |
RegistryService.getConfigUserRegistry(String userName,
String password,
int tenantId)
Creates Registry instances for normal users from the configuration registry space.
|
UserRegistry |
RegistryService.getGovernanceSystemRegistry()
Creates a Registry instance for the Governance space.
|
UserRegistry |
RegistryService.getGovernanceSystemRegistry(int tenantId)
Creates a Registry instance for the Governance space.
|
UserRegistry |
RegistryService.getGovernanceUserRegistry()
Creates a Registry instance for anonymous user from the Governance space.
|
UserRegistry |
RegistryService.getGovernanceUserRegistry(String userName)
Creates a Registry instance for anonymous user from the Governance space.
|
UserRegistry |
RegistryService.getGovernanceUserRegistry(String userName,
int tenantId)
Creates a Registry instance for anonymous user from the Governance space.
|
UserRegistry |
RegistryService.getGovernanceUserRegistry(String userName,
String password)
Creates a Registry instance for anonymous user from the Governance space.
|
UserRegistry |
RegistryService.getGovernanceUserRegistry(String userName,
String password,
int tenantId)
Creates a Registry instance for anonymous user from the Governance space.
|
UserRegistry |
RegistryService.getLocalRepository()
Returns a registry to be used for node-specific system operations.
|
UserRegistry |
RegistryService.getLocalRepository(int tenantId)
Returns a registry to be used for node-specific system operations.
|
UserRegistry |
RegistryService.getRegistry()
Creates a Registry instance for anonymous user which contains the entire registry tree
starting from '/'.
|
UserRegistry |
RegistryService.getRegistry(String userName)
Creates a Registry instance for anonymous user which contains the entire registry tree
starting from '/'.
|
UserRegistry |
RegistryService.getRegistry(String userName,
int tenantId)
Creates a Registry instance for anonymous user which contains the entire registry tree
starting from '/'.
|
UserRegistry |
RegistryService.getRegistry(String userName,
int tenantId,
String chroot)
Creates a Registry instance for anonymous user which contains the entire registry tree
starting from '/'.
|
UserRegistry |
RegistryService.getRegistry(String userName,
String password)
Creates a Registry instance for anonymous user which contains the entire registry tree
starting from '/'.
|
UserRegistry |
RegistryService.getRegistry(String userName,
String password,
int tenantId)
Creates a Registry instance for anonymous user which contains the entire registry tree
starting from '/'.
|
UserRegistry |
RegistryService.getRegistry(String userName,
String password,
int tenantId,
String chroot)
Creates a Registry instance for anonymous user which contains the entire registry tree
starting from '/'.
|
Registry |
RegistryProvider.getRegistry(String registryURL,
String username,
String password)
Method to obtain a new registry instance.
|
UserRegistry |
RegistryService.getSystemRegistry()
Deprecated.
|
UserRegistry |
RegistryService.getSystemRegistry(int tenantId)
Deprecated.
|
UserRegistry |
RegistryService.getSystemRegistry(int tenantId,
String chroot)
Deprecated.
|
org.wso2.carbon.user.core.UserRealm |
RegistryService.getUserRealm(int tenantId)
This will return a realm specific to the tenant.
|
UserRegistry |
RegistryService.getUserRegistry()
Deprecated.
|
UserRegistry |
RegistryService.getUserRegistry(String userName)
Deprecated.
|
UserRegistry |
RegistryService.getUserRegistry(String userName,
int tenantId)
Deprecated.
|
UserRegistry |
RegistryService.getUserRegistry(String userName,
int tenantId,
String chroot)
Deprecated.
|
UserRegistry |
RegistryService.getUserRegistry(String userName,
String password)
Deprecated.
|
UserRegistry |
RegistryService.getUserRegistry(String userName,
String password,
int tenantId)
Deprecated.
|
UserRegistry |
RegistryService.getUserRegistry(String userName,
String password,
int tenantId,
String chroot)
Deprecated.
|
void |
TenantRegistryLoader.loadTenantRegistry(int tenantId)
Load the Registry for the given tenant.
|
Modifier and Type | Method and Description |
---|---|
static Resource |
ResourceRequestProcessor.getResource(javax.servlet.http.HttpServletRequest request,
String path)
Deprecated.
|
static UserRegistry |
ResourceRequestProcessor.getUserRegistry(javax.servlet.http.HttpServletRequest request)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static UserRegistry |
Utils.getSecureRegistry(javax.servlet.http.HttpServletRequest request)
Deprecated.
Returns the registry associated with the current session.
|
static boolean |
UserUtil.isAuthorizeAllowed(String userName,
String resourcePath,
javax.servlet.http.HttpServletRequest request)
Deprecated.
|
static boolean |
UserUtil.isDeleteAllowed(String userName,
String resourcePath,
javax.servlet.http.HttpServletRequest request)
Deprecated.
|
static boolean |
UserUtil.isPutAllowed(String userName,
String resourcePath,
javax.servlet.http.HttpServletRequest request)
Deprecated.
|
static void |
Utils.logInUser(javax.servlet.http.HttpServletRequest request,
String userName,
String password)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
UserRegistry.addAspect(String name,
Aspect aspect) |
void |
UserRegistry.addAssociation(String sourcePath,
String targetPath,
String associationType) |
String |
UserRegistry.addComment(String resourcePath,
org.wso2.carbon.registry.api.Comment comment) |
String |
UserRegistry.addComment(String resourcePath,
Comment comment) |
void |
UserRegistry.applyTag(String resourcePath,
String tag) |
void |
UserRegistry.associateAspect(String resourcePath,
String aspect) |
void |
UserRegistry.beginTransaction() |
void |
UserRegistry.commitTransaction() |
String |
UserRegistry.copy(String sourcePath,
String targetPath) |
void |
UserRegistry.createLink(String path,
String target) |
void |
UserRegistry.createLink(String path,
String target,
String subTargetPath) |
void |
UserRegistry.createVersion(String path) |
void |
UserRegistry.delete(String path) |
void |
UserRegistry.dump(String path,
Writer writer) |
void |
UserRegistry.dumpLite(String path,
Writer writer) |
void |
UserRegistry.editComment(String commentPath,
String text) |
Collection |
UserRegistry.executeQuery(String path,
Map parameters) |
Collection |
ChrootWrapper.filterSearchResult(Collection collection)
Filter search results, so the results outside the base prefix will be ignored and results
inside the base prefix will be converted to relative paths.
|
Resource |
UserRegistry.get(String path) |
Collection |
UserRegistry.get(String path,
int start,
int pageSize) |
Association[] |
UserRegistry.getAllAssociations(String resourcePath) |
String[] |
UserRegistry.getAspectActions(String resourcePath,
String aspectName) |
Association[] |
UserRegistry.getAssociations(String resourcePath,
String associationType) |
float |
UserRegistry.getAverageRating(String resourcePath) |
UserRegistry |
UserRegistry.getChrootedRegistry(String chroot)
returns a chrooted registry for a given prefix
|
Comment[] |
UserRegistry.getComments(String resourcePath) |
String |
UserRegistry.getEventingServiceURL(String path) |
LogEntryCollection |
UserRegistry.getLogCollection(String resourcePath,
int action,
String userName,
Date from,
Date to,
boolean recentFirst) |
LogEntry[] |
UserRegistry.getLogs(String resourcePath,
int action,
String userName,
Date from,
Date to,
boolean recentFirst) |
Resource |
UserRegistry.getMetaData(String path) |
Collection |
ChrootWrapper.getOutCollection(Collection collection)
When returning collection (with pagination) it need to unset the collection content.
|
Resource |
ChrootWrapper.getOutResource(Resource resource)
The resource needed to be modified in case of out resource
|
int |
UserRegistry.getRating(String path,
String userName) |
TaggedResourcePath[] |
UserRegistry.getResourcePathsWithTag(String tag) |
Tag[] |
UserRegistry.getTags(String resourcePath) |
String[] |
UserRegistry.getVersions(String path) |
String |
UserRegistry.importResource(String suggestedPath,
String sourceURL,
org.wso2.carbon.registry.api.Resource resource) |
String |
UserRegistry.importResource(String suggestedPath,
String sourceURL,
Resource resource) |
void |
UserRegistry.invokeAspect(String resourcePath,
String aspectName,
String action) |
void |
UserRegistry.invokeAspect(String resourcePath,
String aspectName,
String action,
Map<String,String> parameters) |
String |
UserRegistry.move(String currentPath,
String newPath) |
Collection |
UserRegistry.newCollection() |
Resource |
UserRegistry.newResource() |
String |
UserRegistry.put(String suggestedPath,
org.wso2.carbon.registry.api.Resource resource) |
String |
UserRegistry.put(String suggestedPath,
Resource resource) |
void |
UserRegistry.rateResource(String resourcePath,
int rating) |
boolean |
UserRegistry.removeAspect(String aspect) |
void |
UserRegistry.removeAssociation(String sourcePath,
String targetPath,
String associationType) |
void |
UserRegistry.removeComment(String commentPath) |
void |
UserRegistry.removeLink(String path) |
void |
UserRegistry.removeTag(String path,
String tag) |
boolean |
UserRegistry.removeVersionHistory(String path,
long snapshotId) |
String |
UserRegistry.rename(String currentPath,
String newName) |
boolean |
UserRegistry.resourceExists(String path) |
void |
UserRegistry.restore(String path,
Reader reader) |
void |
UserRegistry.restoreVersion(String versionPath) |
void |
UserRegistry.rollbackTransaction() |
Collection |
UserRegistry.searchContent(String keywords) |
void |
UserRegistry.setEventingServiceURL(String path,
String eventingServiceURL) |
Constructor and Description |
---|
UserRegistry(String userName,
int tenantId,
Registry coreRegistry,
org.wso2.carbon.user.core.service.RealmService realmService,
String chroot)
Creates a user registry without authorizing the user
|
UserRegistry(String userName,
int tenantId,
Registry coreRegistry,
org.wso2.carbon.user.core.service.RealmService realmService,
String chroot,
boolean disableCaching)
Creates a user registry without authorizing the user
|
UserRegistry(String userName,
String password,
int tenantId,
Registry coreRegistry,
org.wso2.carbon.user.core.service.RealmService realmService,
String chroot)
Create a user registry with authorizing a user
|
Modifier and Type | Method and Description |
---|---|
static void |
RegistryUtils.addBaseCollectionStructure(Registry registry,
org.wso2.carbon.user.core.UserRealm userRealm)
This method builds the base collection structure for the registry.
|
static void |
RegistryUtils.addCarbonRootCollection(Registry userRegistry,
org.wso2.carbon.user.core.UserRealm userRealm)
Deprecated.
|
void |
LogWriter.addLog(String resourcePath,
String userName,
int action,
String actionData)
Adds log record to queue
|
static void |
RegistryUtils.addMountCollection(Registry registry)
Method to add the collection where the mount information is stored.
|
static void |
RegistryUtils.addMountEntry(Registry registry,
RegistryContext registryContext,
String path,
String target,
boolean remote,
String author)
Method to add a mount entry.
|
static void |
RegistryUtils.addMountEntry(Registry registry,
RegistryContext registryContext,
String path,
String target,
String targetSubPath,
String author)
Method to add a mount entry.
|
static void |
RegistryUtils.addRootCollectionAuthorization(org.wso2.carbon.user.core.UserRealm userRealm)
Deprecated.
|
static void |
RegistryUtils.addServiceConfigResources(Registry registry)
Method to add the resources where the service configuration are stored.
|
static void |
RegistryUtils.addServiceStoreCollection(Registry registry,
String servicePath)
Method to add the collection where the services are stored.
|
static void |
RegistryUtils.addSystemCollection(Registry registry,
org.wso2.carbon.user.core.UserRealm userRealm)
Deprecated.
|
static void |
RegistryUtils.addTenantsCollection(Registry registry,
org.wso2.carbon.user.core.UserRealm userRealm)
Deprecated.
|
static void |
RegistryUtils.addUserProfileCollection(Registry registry,
String profilesPath)
Method to add the collection where the user profiles are stored.
|
static boolean |
AuthorizationUtils.authorize(String resourcePath,
String action)
Method to authorize a given resource path for a given action.
|
static void |
AuthorizationUtils.clearAuthorizations(String resourcePath)
Method to clear authorizations for a given resource path.
|
static void |
AuthorizationUtils.copyAuthorizations(String sourcePath,
String targetPath)
Method to copy authorizations from one path to another.
|
static String |
RegistryUtils.decodeBytes(byte[] byteContent) |
static void |
AuthorizationUtils.denyAnonAuthorization(String path,
org.wso2.carbon.user.core.UserRealm userRealm)
Deprecated.
|
static byte[] |
RegistryUtils.encodeString(String content) |
static void |
RegistryClientUtils.exportFromRegistry(File toFile,
String path,
Registry registry)
This method can be used to export registry instance or node in a registry to a local file
system.
|
static org.wso2.carbon.user.core.UserRealm |
RegistryUtils.getBootstrapRealm()
Deprecated.
|
static org.wso2.carbon.user.core.UserRealm |
RegistryUtils.getBootstrapRealm(org.wso2.carbon.user.core.service.RealmService realmService)
This method returns the bootstrap (or initial) user realm from the realm service.
|
static byte[] |
RegistryUtils.getByteArray(InputStream inputStream)
Convert an input stream into a byte array.
|
static String |
MediaTypesUtils.getCollectionMediaTypeMappings(Registry configSystemRegistry)
Method to obtain the collection media types.
|
static String |
MediaTypesUtils.getCollectionMediaTypeMappings(RegistryContext registryContext)
Method to obtain the collection media types.
|
static String |
MediaTypesUtils.getCustomUIMediaTypeMappings(Registry configSystemRegistry)
Method to obtain the custom UI media types.
|
static String |
MediaTypesUtils.getCustomUIMediaTypeMappings(RegistryContext registryContext)
Method to obtain the custom UI media types.
|
static String |
MediaTypesUtils.getMediaType(String resourceName)
Method to obtain the media type of a given resource.
|
static InputStream |
RegistryUtils.getMemoryStream(InputStream inputStream)
Create an in-memory input stream for the given input stream.
|
static String |
MediaTypesUtils.getResourceMediaTypeMappings(Registry configSystemRegistry)
Method to obtain the resource media types.
|
static String |
MediaTypesUtils.getResourceMediaTypeMappings(RegistryContext registryContext)
Method to obtain the resource media types.
|
static ResourceImpl |
RegistryUtils.getResourceWithMinimumData(String path,
ResourceDAO resourceDAO,
boolean versioned)
Gets the resource with sufficient data to differentiate it from another resource.
|
static String[] |
MediaTypesUtils.getResultPaths(Registry registry,
String mediaType)
Method to obtain a list of paths having resources of the given media type.
|
static Registry |
RegistryUtils.getSystemRegistry(Registry coreRegistry)
this method can only be called if the registry context is initialized.
|
static boolean |
RegistryUtils.hasAdminAuthorizations(String userName,
org.wso2.carbon.user.core.UserRealm userRealm)
Method to determine whether the given user is in an admin role.
|
static void |
RegistryClientUtils.importToRegistry(File file,
String path,
Registry registry)
This method can be used to import a local file system into a running instance of a registry.
|
static void |
RegistryUtils.initializeTenant(RegistryService registryService,
int tenantId) |
static void |
RegistryUtils.registerHandlerForRemoteLinks(RegistryContext registryContext,
String path,
String target,
String targetSubPath,
String author)
Method to register handlers for remote links for the tenant on the current registry session.
|
static void |
RegistryUtils.registerHandlerForRemoteLinks(RegistryContext registryContext,
String path,
String target,
String targetSubPath,
String author,
boolean forAllTenants)
Method to register handlers for remote links.
|
static void |
RegistryUtils.registerHandlerForSymbolicLinks(RegistryContext context,
String path,
String target,
String author)
Method to register handlers for symbolic links for the tenant on the current registry
session.
|
static void |
RegistryUtils.registerMountPoints(Registry systemRegistry,
int tenantId)
Method to register mount points.
|
static void |
AuthorizationUtils.setAnonAuthorization(String path,
org.wso2.carbon.user.core.UserRealm userRealm)
Deprecated.
|
static void |
AuthorizationUtils.setRootAuthorizations(String rootPath,
org.wso2.carbon.user.core.UserRealm userRealm)
Method to set authorizations to the root path.
|
static boolean |
RegistryUtils.systemResourceShouldBeAdded(Registry registry,
String absolutePath)
Method to determine whether a system resource (or collection) is existing or whether it
should be created.
|
static boolean |
RegistryUtils.systemResourceShouldBeAdded(ResourceDAO dataAccessObject,
String absolutePath)
Method to determine whether a system resource (or collection) is existing or whether it
should be created.
|
void |
SchemaValidator.validate(InputStream xsdContent,
Resource resource)
Deprecated.
This will valide the given schema againts the w3c.XMLSchema.
|
Modifier and Type | Class and Description |
---|---|
class |
SynchronizationException
This type of exception is thrown when an error occurs while performing a synchronization
operation on the Registry.
|
Copyright © 2015 WSO2 Inc. All Rights Reserved.