| Modifier and Type | Method and Description |
|---|---|
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.
|
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.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.
|
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 |
Collection.getChildCount()
Method to return the the number of children.
|
String[] |
Collection.getChildren()
Method to return the absolute paths of the children of the collection
|
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.
|
Registry |
RegistryService.getConfigSystemRegistry()
Returns a registry to be used for system operations.
|
Registry |
RegistryService.getConfigSystemRegistry(int tenantId)
Returns a registry to be used for system operations.
|
Registry |
RegistryService.getConfigUserRegistry()
Creates a Registry instance for anonymous user from the configuration registry space.
|
Registry |
RegistryService.getConfigUserRegistry(String userName)
Creates a Registry instance for the given user from the configuration registry space.
|
Registry |
RegistryService.getConfigUserRegistry(String userName,
int tenantId)
Creates a Registry instance for the given user from the configuration registry space with the
tenant id.
|
Registry |
RegistryService.getConfigUserRegistry(String userName,
String password)
Creates Registry instances for normal users from the configuration registry space.
|
Registry |
RegistryService.getConfigUserRegistry(String userName,
String password,
int tenantId)
Creates Registry instances for normal users from the configuration registry space.
|
Object |
Resource.getContent()
Method to get the content of the resource.
|
InputStream |
Resource.getContentStream()
Method to get the content stream.
|
String |
Registry.getEventingServiceURL(String path)
Gets the URL of the WS-Eventing Service.
|
Registry |
RegistryService.getGovernanceSystemRegistry()
Creates a Registry instance for the Governance space.
|
Registry |
RegistryService.getGovernanceSystemRegistry(int tenantId)
Creates a Registry instance for the Governance space.
|
Registry |
RegistryService.getGovernanceUserRegistry()
Creates a Registry instance for anonymous user from the Governance space.
|
Registry |
RegistryService.getGovernanceUserRegistry(String userName)
Creates a Registry instance for anonymous user from the Governance space.
|
Registry |
RegistryService.getGovernanceUserRegistry(String userName,
int tenantId)
Creates a Registry instance for anonymous user from the Governance space.
|
Registry |
RegistryService.getGovernanceUserRegistry(String userName,
String password)
Creates a Registry instance for anonymous user from the Governance space.
|
Registry |
RegistryService.getGovernanceUserRegistry(String userName,
String password,
int tenantId)
Creates a Registry instance for anonymous user from the Governance space.
|
Registry |
RegistryService.getLocalRepository()
Returns a registry to be used for node-specific system operations.
|
Registry |
RegistryService.getLocalRepository(int tenantId)
Returns a registry to be used for node-specific system operations.
|
Activity[] |
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
|
Registry |
RegistryService.getRegistry()
Creates a Registry instance for anonymous user which contains the entire registry tree
starting from '/'.
|
Registry |
RegistryService.getRegistry(String userName)
Creates a Registry instance for anonymous user which contains the entire registry tree
starting from '/'.
|
Registry |
RegistryService.getRegistry(String userName,
int tenantId)
Creates a Registry instance for anonymous user which contains the entire registry tree
starting from '/'.
|
Registry |
RegistryService.getRegistry(String userName,
int tenantId,
String chroot)
Creates a Registry instance for anonymous user which contains the entire registry tree
starting from '/'.
|
Registry |
RegistryService.getRegistry(String userName,
String password)
Creates a Registry instance for anonymous user which contains the entire registry tree
starting from '/'.
|
Registry |
RegistryService.getRegistry(String userName,
String password,
int tenantId)
Creates a Registry instance for anonymous user which contains the entire registry tree
starting from '/'.
|
Registry |
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 '/'.
|
TaggedResourcePath[] |
Registry.getResourcePathsWithTag(String tag)
Returns the paths of all Resources that are tagged with the given tag.
|
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.
|
String |
Registry.importResource(String suggestedPath,
String sourceURL,
Resource resource)
Creates a resource by fetching the resource content from the given URL.
|
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.
|
String |
Registry.move(String currentPath,
String newPath)
Move a resource in the registry.
|
Collection |
CoreRegistry.newCollection()
Creates a new collection.
|
Resource |
CoreRegistry.newResource()
Creates a new 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.
|
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.
|
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 |
Collection.setChildren(String[] paths)
Method to set the absolute paths of the children belonging to this collection.
|
void |
Resource.setContent(Object content)
Set the content of the resource.
|
void |
Resource.setContentStream(InputStream contentStream)
Method to set the content stream.
|
void |
Registry.setEventingServiceURL(String path,
String eventingServiceURL)
Sets the URL of the WS-Eventing Service.
|
Copyright © 2018 WSO2 Inc. All rights reserved.