Uses of Class
org.wso2.registry.exceptions.RegistryException

Packages that use RegistryException
org.wso2.registry   
org.wso2.registry.app   
org.wso2.registry.config   
org.wso2.registry.exceptions   
org.wso2.registry.jdbc   
org.wso2.registry.jdbc.dao   
org.wso2.registry.jdbc.filecache   
org.wso2.registry.jdbc.handlers   
org.wso2.registry.jdbc.handlers.builtin   
org.wso2.registry.jdbc.handlers.filters   
org.wso2.registry.jdbc.indexing   
org.wso2.registry.jdbc.queries   
org.wso2.registry.jdbc.realm   
org.wso2.registry.jdbc.realm.pathbased   
org.wso2.registry.jdbc.utils.creators   
org.wso2.registry.secure   
org.wso2.registry.servlet   
org.wso2.registry.servlet.utils   
org.wso2.registry.session   
org.wso2.registry.utils   
 

Uses of RegistryException in org.wso2.registry
 

Methods in org.wso2.registry that throw RegistryException
 void Registry.addAssociation(java.lang.String sourcePath, java.lang.String targetPath, java.lang.String associationType)
          Adds an association stating that the resource at "associationPath" associate on the resource at "associationPath".
 java.lang.String Registry.addComment(java.lang.String resourcePath, Comment comment)
          Adds a comment to a resource.
 void Registry.applyTag(java.lang.String resourcePath, java.lang.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(java.lang.String resourcePath, java.lang.String aspect)
          Associate an Aspect with a resource.
 void Registry.beginTransaction()
          Start a new transaction
 void Registry.commitTransaction()
          Commit the currently active transaction
 java.lang.String Registry.copy(java.lang.String sourcePath, java.lang.String targetPath)
           
 void Registry.createVersion(java.lang.String path)
           
 void CoreRegistry.delete(java.lang.String path)
          Deletes the resource at the given path.
 void Registry.editComment(java.lang.String commentPath, java.lang.String text)
          Change the text of an existing comment.
 Collection Registry.executeQuery(java.lang.String path, java.util.Map parameters)
          Executes a custom query which lives at the given path in the Registry.
 Resource CoreRegistry.get(java.lang.String path)
          Returns the resource at the given path.
 Collection CoreRegistry.get(java.lang.String path, int start, int pageSize)
          Returns the Collection at the given path, with the content paginated according to the arguments.
 Association[] Registry.getAllAssociations(java.lang.String resourcePath)
          Get all associations of the given resource.
 java.lang.String[] Registry.getAspectActions(java.lang.String resourcePath, java.lang.String aspectName)
          Obtain a list of the available actions on a given resource for a given Aspect.
 Association[] Registry.getAssociations(java.lang.String resourcePath, java.lang.String associationType)
          Get all associations of the given resource for a give association type.
 float Registry.getAverageRating(java.lang.String resourcePath)
          Returns the average rating for the given resource.
 int Collection.getChildCount()
           
 int CollectionVersionImpl.getChildCount()
           
 int CollectionImpl.getChildCount()
           
 java.lang.String[] Collection.getChildren()
           
 java.lang.String[] CollectionVersionImpl.getChildren()
           
 java.lang.String[] CollectionImpl.getChildren()
           
 java.lang.String[] Collection.getChildren(int start, int pageLen)
           
 java.lang.String[] CollectionVersionImpl.getChildren(int start, int pageLen)
           
 java.lang.String[] CollectionImpl.getChildren(int start, int pageLen)
           
 Comment[] Registry.getComments(java.lang.String resourcePath)
          Get all comments for the given resource.
 java.lang.Object Resource.getContent()
           
 java.lang.Object CollectionVersionImpl.getContent()
          Collection's content is a string array, which contains paths of its children.
 java.lang.Object CollectionImpl.getContent()
          Collection's content is a string array, which contains paths of its children.
 java.lang.Object ResourceImpl.getContent()
           
 java.lang.Object Comment.getContent()
           
 java.io.InputStream Resource.getContentStream()
           
 java.io.InputStream ResourceVersionImpl.getContentStream()
           
 java.io.InputStream ResourceImpl.getContentStream()
           
 LogEntryCollection Registry.getLogCollection(java.lang.String resourcePath, int action, java.lang.String userName, java.util.Date from, java.util.Date to, boolean recentFirst)
          Returns the logs of the activities occured in the registy.
 LogEntry[] LogEntryCollection.getLogEntries()
           
 LogEntry[] LogEntryCollection.getLogEntries(int start, int pageLen)
           
 LogEntry[] Registry.getLogs(java.lang.String resourcePath, int action, java.lang.String userName, java.util.Date from, java.util.Date to, boolean recentFirst)
          Returns the logs of the activities occured in the registy.
 int Registry.getRating(java.lang.String path, java.lang.String userName)
          Returns the rating given to the specified resource by the given user
abstract  Registry RegistryFactory.getRegistry()
          Get a Registry with no security credentials.
abstract  Registry RegistryFactory.getRegistry(java.lang.String username, java.lang.String password)
          Get a Registry with the provided credentials.
 TaggedResourcePath[] Registry.getResourcePathsWithTag(java.lang.String tag)
          Returns the paths of all Resources that are tagged with the given tag.
 Tag[] Registry.getTags(java.lang.String resourcePath)
          Returns all tags used for tagging the given resource.
 java.lang.String[] Registry.getVersions(java.lang.String path)
          Get a list of all versions of the resource located at the given path.
 void ResourceImporter.importDirectory(java.lang.String fromURL, java.lang.String toPath)
           
 java.lang.String Registry.importResource(java.lang.String suggestedPath, java.lang.String sourceURL, Resource metadata)
          Creates a resource by fetching the resource content from the given URL.
abstract  void Aspect.invoke(RequestContext context, java.lang.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 Registry.invokeAspect(java.lang.String resourcePath, java.lang.String aspectName, java.lang.String action)
          This invokes an action on a specified Aspect, which must be associated with the Resource at the given path.
 java.lang.String Registry.move(java.lang.String currentPath, java.lang.String newPath)
           
 Collection CoreRegistry.newCollection()
           
static RegistryFactory RegistryFactory.newInstance()
          Get a Registry instance, using the defaults.
static RegistryFactory RegistryFactory.newInstance(java.util.Properties properties)
          Get a Registry, passing specific configuration information via a Properties object.
static RegistryFactory RegistryFactory.newInstance(java.lang.String propertyFileName)
          Get a Registry instance, using the specified property file.
 Resource CoreRegistry.newResource()
           
 java.lang.String CoreRegistry.put(java.lang.String suggestedPath, Resource resource)
          Adds or updates resources in the registry.
 void Registry.rateResource(java.lang.String resourcePath, int rating)
          Rate the given resource.
 void Registry.removeAssociation(java.lang.String sourcePath, java.lang.String targetPath, java.lang.String associationType)
          To remove an association for a given resource
 void Registry.removeTag(java.lang.String path, java.lang.String tag)
          Removes a tag on a resource.
 java.lang.String Registry.rename(java.lang.String currentPath, java.lang.String newName)
          Move or rename a resource in the registry.
 boolean CoreRegistry.resourceExists(java.lang.String path)
          Check whether a resource exists at the given path
 void Registry.restoreVersion(java.lang.String versionPath)
          Reverts a resource to a given version.
 void Registry.rollbackTransaction()
          Rollback the currently active transaction
 Collection Registry.searchContent(java.lang.String keywords)
          Search the content of resources
 void Resource.setContent(java.lang.Object content)
           
 void CollectionImpl.setContent(java.lang.Object content)
           
 void ResourceImpl.setContent(java.lang.Object content)
           
 void Resource.setContentStream(java.io.InputStream contentStream)
           
 void ResourceImpl.setContentStream(java.io.InputStream contentStream)
          Invalidates the current file based content and creates a new file based content for the new content stream.
 

Uses of RegistryException in org.wso2.registry.app
 

Methods in org.wso2.registry.app that throw RegistryException
 void RemoteRegistry.addAssociation(java.lang.String sourcePath, java.lang.String associationPaths, java.lang.String associationType)
           
 java.lang.String RemoteRegistry.addComment(java.lang.String resourcePath, Comment comment)
           
 void RemoteRegistry.addUser(java.lang.String userName, java.lang.String password, java.lang.String confirmpassword, java.lang.String roleName, java.lang.String friendlyName)
           
 void RemoteRegistry.applyTag(java.lang.String resourcePath, java.lang.String tag)
           
 void RemoteRegistry.associateAspect(java.lang.String resourcePath, java.lang.String aspect)
           
 void RemoteRegistry.beginTransaction()
           
 void RemoteRegistry.commitTransaction()
           
 java.lang.String RemoteRegistry.copy(java.lang.String sourcePath, java.lang.String targetPath)
           
 void RemoteRegistry.createVersion(java.lang.String path)
           
 void RemoteRegistry.delete(java.lang.String path)
           
 void RemoteRegistry.editComment(java.lang.String commentPath, java.lang.String text)
           
 Collection RemoteRegistry.executeQuery(java.lang.String path, java.util.Map parameters)
           
 Resource RemoteRegistry.get(java.lang.String path)
           
 Collection RemoteRegistry.get(java.lang.String path, int start, int pageSize)
           
 Association[] RemoteRegistry.getAllAssociations(java.lang.String resourcePath)
           
 java.lang.String[] RemoteRegistry.getAspectActions(java.lang.String resourcePath, java.lang.String aspectName)
           
 Association[] RemoteRegistry.getAssociations(java.lang.String resourcePath, java.lang.String associationType)
           
 float RemoteRegistry.getAverageRating(java.lang.String resourcePath)
           
 Comment[] RemoteRegistry.getComments(java.lang.String resourcePath)
           
 java.io.InputStream RemoteResourceImpl.getContentStream()
           
 LogEntryCollection RemoteRegistry.getLogCollection(java.lang.String resourcePath, int action, java.lang.String userName, java.util.Date from, java.util.Date to, boolean recentFirst)
           
 LogEntry[] RemoteRegistry.getLogs(java.lang.String resourcePath, int action, java.lang.String userName, java.util.Date from, java.util.Date to, boolean recentFirst)
           
 int RemoteRegistry.getRating(java.lang.String path, java.lang.String userName)
           
 Registry RemoteRegistryFactory.getRegistry()
           
 Registry RemoteRegistryFactory.getRegistry(java.lang.String username, java.lang.String password)
           
 TaggedResourcePath[] RemoteRegistry.getResourcePathsWithTag(java.lang.String tag)
           
 Tag[] RemoteRegistry.getTags(java.lang.String resourcePath)
           
 java.lang.String[] RemoteRegistry.getVersions(java.lang.String path)
           
 java.lang.String RemoteRegistry.importResource(java.lang.String suggestedPath, java.lang.String sourceURL, Resource metadata)
           
 void RemoteRegistry.invokeAspect(java.lang.String resourcePath, java.lang.String aspectName, java.lang.String action)
           
 java.lang.String RemoteRegistry.move(java.lang.String currentPath, java.lang.String newPath)
           
 Collection RemoteRegistry.newCollection()
           
 Resource RemoteRegistry.newResource()
           
 java.lang.String RemoteRegistry.put(java.lang.String suggestedPath, Resource resource)
           
 void RemoteRegistry.rateResource(java.lang.String resourcePath, int rating)
           
 void RemoteRegistry.removeAssociation(java.lang.String sourcePath, java.lang.String associationPaths, java.lang.String associationType)
           
 void RemoteRegistry.removeTag(java.lang.String path, java.lang.String tag)
           
 java.lang.String RemoteRegistry.rename(java.lang.String currentPath, java.lang.String newPath)
           
 boolean RemoteRegistry.resourceExists(java.lang.String path)
           
 void RemoteRegistry.restoreVersion(java.lang.String versionPath)
           
 void RemoteRegistry.rollbackTransaction()
           
 Collection RemoteRegistry.searchContent(java.lang.String keywords)
           
 

Constructors in org.wso2.registry.app that throw RegistryException
RegistryAdapter(RegistryResolver resolver, EmbeddedRegistry embeddedRegistry)
           
 

Uses of RegistryException in org.wso2.registry.config
 

Methods in org.wso2.registry.config that throw RegistryException
 EmbeddedRegistry RegistryContext.getEmbeddedRegistry()
           
static void RegistryConfigurationProcessor.populateRegistryConfig(java.io.InputStream in, RegistryContext registryContext)
          Read XML configuration from the passed InputStream, or from the classpath.
 

Constructors in org.wso2.registry.config that throw RegistryException
RegistryContext()
           
RegistryContext(java.io.InputStream configStream)
           
RegistryContext(java.io.InputStream configStream, RegistryContext.RegURLSupplier urlSupplier)
           
 

Uses of RegistryException in org.wso2.registry.exceptions
 

Subclasses of RegistryException in org.wso2.registry.exceptions
 class ResourceNotFoundException
          This is thrown when a requested resource cannot be located in the Registry.
 

Uses of RegistryException in org.wso2.registry.jdbc
 

Methods in org.wso2.registry.jdbc that throw RegistryException
 void AtomicRegistry.addAspect(java.lang.String name, Aspect aspect)
           
 void JDBCRegistry.addAssociation(java.lang.String sourcePath, java.lang.String targetPath, java.lang.String associationType)
           
 void BasicRegistry.addAssociation(java.lang.String sourcePath, java.lang.String targetPath, java.lang.String associationType)
           
 void AtomicRegistry.addAssociation(java.lang.String sourcePath, java.lang.String targetPath, java.lang.String associationType)
           
 java.lang.String JDBCRegistry.addComment(java.lang.String resourcePath, Comment comment)
           
 java.lang.String BasicRegistry.addComment(java.lang.String resourcePath, Comment comment)
          Adds a comment to a resource.
 java.lang.String AtomicRegistry.addComment(java.lang.String resourcePath, Comment comment)
          Adds a comment to a resource.
 void AtomicRegistry.addHandler(Filter filter, Handler handler)
           
 void JDBCRegistry.applyTag(java.lang.String resourcePath, java.lang.String tag)
           
 void BasicRegistry.applyTag(java.lang.String resourcePath, java.lang.String tag)
          Applies the given tag to the resource in the given path.
 void AtomicRegistry.applyTag(java.lang.String resourcePath, java.lang.String tag)
          Applies the given tag to the resource in the given path.
 void JDBCRegistry.associateAspect(java.lang.String resourcePath, java.lang.String aspect)
           
 void BasicRegistry.associateAspect(java.lang.String resourcePath, java.lang.String name)
           
 void AtomicRegistry.associateAspect(java.lang.String resourcePath, java.lang.String name)
           
 void JDBCRegistry.beginTransaction()
           
 void BasicRegistry.beginTransaction()
          BasicRegistry does not implement transaction related methods as transactions has to be handled outside of the BasicRegistry.
 void AtomicRegistry.beginTransaction()
           
 void JDBCRegistry.commitTransaction()
           
 void BasicRegistry.commitTransaction()
          BasicRegistry does not implement transaction related methods as transactions has to be handled outside of the BasicRegistry.
 void AtomicRegistry.commitTransaction()
           
protected  void EmbeddedRegistry.configure()
           
 void JDBCRegistry.configure(javax.sql.DataSource dataSource, RegistryRealm realm)
          Configures and initiates the JDBC registry with a (new) datasource and a realm.
protected  void EmbeddedRegistry.configure(UserRealm defaultRealm)
           
 java.lang.String Repository.copy(ResourcePath sourceResourcePath, ResourcePath targetResourcePath)
           
 java.lang.String JDBCRegistry.copy(java.lang.String sourcePath, java.lang.String targetPath)
           
 java.lang.String BasicRegistry.copy(java.lang.String sourcePath, java.lang.String targetPath)
           
 java.lang.String AtomicRegistry.copy(java.lang.String sourcePath, java.lang.String targetPath)
           
 void VersionRepository.createSnapshot(ResourcePath resourcePath)
           
 void JDBCRegistry.createVersion(java.lang.String path)
           
 void BasicRegistry.createVersion(java.lang.String path)
           
 void AtomicRegistry.createVersion(java.lang.String path)
           
 void JDBCRegistry.delete(java.lang.String path)
           
 void Repository.delete(java.lang.String path)
          Deletes the pure resource refered by the path.
 void BasicRegistry.delete(java.lang.String path)
          Deletes the resource in the given path.
 void AtomicRegistry.delete(java.lang.String path)
          Deletes the resource in the given path.
 void JDBCRegistry.editComment(java.lang.String commentPath, java.lang.String text)
           
 void BasicRegistry.editComment(java.lang.String commentPath, java.lang.String text)
           
 void AtomicRegistry.editComment(java.lang.String commentPath, java.lang.String text)
           
 Collection JDBCRegistry.executeQuery(java.lang.String path, java.util.Map parameters)
           
 Collection BasicRegistry.executeQuery(java.lang.String path, java.util.Map parameters)
           
 Collection AtomicRegistry.executeQuery(java.lang.String path, java.util.Map parameters)
           
 Resource JDBCRegistry.get(java.lang.String path)
           
 Resource Repository.get(java.lang.String path)
          Gets the pure resource referred by the given path.
 Resource BasicRegistry.get(java.lang.String path)
          Returns the resource in the given path.
 Resource AtomicRegistry.get(java.lang.String path)
          Returns the resource in the given path.
 Collection JDBCRegistry.get(java.lang.String path, int start, int pageSize)
           
 Collection Repository.get(java.lang.String path, int start, int pageLen)
           
 Collection BasicRegistry.get(java.lang.String path, int start, int pageSize)
          Retrives a collection from the registry.
 Collection AtomicRegistry.get(java.lang.String path, int start, int pageSize)
           
 Resource VersionRepository.get(VersionedPath versionedPath)
           
 Collection VersionRepository.get(VersionedPath versionedPath, int start, int pageLen)
           
 Association[] JDBCRegistry.getAllAssociations(java.lang.String resourcePath)
           
 Association[] BasicRegistry.getAllAssociations(java.lang.String resourcePath)
           
 Association[] AtomicRegistry.getAllAssociations(java.lang.String resourcePath)
           
 java.lang.String[] JDBCRegistry.getAspectActions(java.lang.String resourcePath, java.lang.String aspectName)
           
 java.lang.String[] BasicRegistry.getAspectActions(java.lang.String resourcePath, java.lang.String aspectName)
           
 java.lang.String[] AtomicRegistry.getAspectActions(java.lang.String resourcePath, java.lang.String aspectName)
           
 Association[] JDBCRegistry.getAssociations(java.lang.String resourcePath, java.lang.String associationType)
           
 Association[] BasicRegistry.getAssociations(java.lang.String resourcePath, java.lang.String associationType)
           
 Association[] AtomicRegistry.getAssociations(java.lang.String resourcePath, java.lang.String associationType)
           
 float JDBCRegistry.getAverageRating(java.lang.String resourcePath)
           
 float BasicRegistry.getAverageRating(java.lang.String resourcePath)
          Returns the average rating (from all users) for the given resource.
 float AtomicRegistry.getAverageRating(java.lang.String resourcePath)
          Returns the average rating (from all users) for the given resource.
 Comment[] JDBCRegistry.getComments(java.lang.String resourcePath)
           
 Comment[] BasicRegistry.getComments(java.lang.String resourcePath)
          Returns all comments for the given resource.
 Comment[] AtomicRegistry.getComments(java.lang.String resourcePath)
          Returns all comments for the given resource.
 LogEntryCollection JDBCRegistry.getLogCollection(java.lang.String resourcePath, int action, java.lang.String userName, java.util.Date from, java.util.Date to, boolean recentFirst)
           
 LogEntryCollection BasicRegistry.getLogCollection(java.lang.String resourcePath, int action, java.lang.String userName, java.util.Date from, java.util.Date to, boolean recentFirst)
           
 LogEntryCollection AtomicRegistry.getLogCollection(java.lang.String resourcePath, int action, java.lang.String userName, java.util.Date from, java.util.Date to, boolean recentFirst)
           
 LogEntry[] JDBCRegistry.getLogs(java.lang.String resourcePath, int action, java.lang.String userName, java.util.Date from, java.util.Date to, boolean recentFirst)
           
 LogEntry[] BasicRegistry.getLogs(java.lang.String resourcePath, int action, java.lang.String userName, java.util.Date from, java.util.Date to, boolean recentFirst)
           
 LogEntry[] AtomicRegistry.getLogs(java.lang.String resourcePath, int action, java.lang.String userName, java.util.Date from, java.util.Date to, boolean recentFirst)
           
 int JDBCRegistry.getRating(java.lang.String path, java.lang.String userName)
           
 int BasicRegistry.getRating(java.lang.String path, java.lang.String userName)
           
 int AtomicRegistry.getRating(java.lang.String path, java.lang.String userName)
           
 Aspect BasicRegistry.getResourceAspect(Resource resource, java.lang.String aspectName)
           
 Aspect AtomicRegistry.getResourceAspect(Resource resource, java.lang.String aspectName)
           
 TaggedResourcePath[] JDBCRegistry.getResourcePathsWithTag(java.lang.String tag)
           
 TaggedResourcePath[] BasicRegistry.getResourcePathsWithTag(java.lang.String tag)
          Returns the paths of the resources, which are tagged using the given tag.
 TaggedResourcePath[] AtomicRegistry.getResourcePathsWithTag(java.lang.String tag)
          Returns the paths of the resources, which are tagged using the given tag.
 UserRegistry EmbeddedRegistry.getSystemRegistry()
          Returns a registry to be used for system operations.
 Tag[] JDBCRegistry.getTags(java.lang.String resourcePath)
           
 Tag[] BasicRegistry.getTags(java.lang.String resourcePath)
          Returns all tags used for tagging the given resource.
 Tag[] AtomicRegistry.getTags(java.lang.String resourcePath)
          Returns all tags used for tagging the given resource.
 UserRegistry EmbeddedRegistry.getUserRegistry()
          Creates a UserRegistry instance for anonymous user.
 UserRegistry EmbeddedRegistry.getUserRegistry(java.lang.String userName)
          Creates a UserRegistry instance for the given user.
 UserRegistry EmbeddedRegistry.getUserRegistry(java.lang.String userName, java.lang.String password)
          Creates UserRegistry instances for normal users.
 java.lang.String[] JDBCRegistry.getVersions(java.lang.String path)
           
 java.lang.String[] VersionRepository.getVersions(java.lang.String resourcePath)
           
 java.lang.String[] BasicRegistry.getVersions(java.lang.String path)
           
 java.lang.String[] AtomicRegistry.getVersions(java.lang.String path)
           
 java.lang.String JDBCRegistry.importResource(java.lang.String suggestedPath, java.lang.String sourceURL, Resource metadata)
           
 java.lang.String Repository.importResource(java.lang.String path, java.lang.String sourceURL, Resource metadata)
          Creates a resource with the content imported from the source URL and metadata extracted from the given metadata resource instance.
 java.lang.String BasicRegistry.importResource(java.lang.String suggestedPath, java.lang.String sourceURL, Resource metadata)
          Creates a new resource by importing the reosurce content from the given source URL.
 java.lang.String AtomicRegistry.importResource(java.lang.String suggestedPath, java.lang.String sourceURL, Resource metadata)
           
 void JDBCRegistry.invokeAspect(java.lang.String resourcePath, java.lang.String aspectName, java.lang.String action)
           
 void BasicRegistry.invokeAspect(java.lang.String resourcePath, java.lang.String aspectName, java.lang.String action)
           
 void AtomicRegistry.invokeAspect(java.lang.String resourcePath, java.lang.String aspectName, java.lang.String action)
           
 java.lang.String Repository.move(ResourcePath oldResourcePath, java.lang.String newPath)
          Moves the resource at oldPath to the newPath.
 java.lang.String JDBCRegistry.move(java.lang.String currentPath, java.lang.String newPath)
           
 java.lang.String BasicRegistry.move(java.lang.String currentPath, java.lang.String newPath)
           
 java.lang.String AtomicRegistry.move(java.lang.String currentPath, java.lang.String newPath)
           
 Collection JDBCRegistry.newCollection()
           
 Collection BasicRegistry.newCollection()
           
 Collection AtomicRegistry.newCollection()
           
 Resource JDBCRegistry.newResource()
           
 Resource BasicRegistry.newResource()
           
 Resource AtomicRegistry.newResource()
           
 java.lang.String JDBCRegistry.put(java.lang.String suggestedPath, Resource resource)
           
 void Repository.put(java.lang.String path, Resource resource)
          Adds or updates the resource in the given path with the given resource.
 java.lang.String BasicRegistry.put(java.lang.String suggestedPath, Resource resource)
          Adds or updates resources in the registry.
 java.lang.String AtomicRegistry.put(java.lang.String suggestedPath, Resource resource)
          Adds or updates resources in the registry.
 void JDBCRegistry.rateResource(java.lang.String resourcePath, int rating)
           
 void BasicRegistry.rateResource(java.lang.String resourcePath, int rating)
          Rates the given resource.
 void AtomicRegistry.rateResource(java.lang.String resourcePath, int rating)
          Rates the given resource.
 void JDBCRegistry.removeAssociation(java.lang.String sourcePath, java.lang.String targetPath, java.lang.String associationType)
           
 void BasicRegistry.removeAssociation(java.lang.String sourcePath, java.lang.String targetPath, java.lang.String associationType)
           
 void AtomicRegistry.removeAssociation(java.lang.String sourcePath, java.lang.String associationPath, java.lang.String associationType)
           
 void JDBCRegistry.removeTag(java.lang.String path, java.lang.String tag)
           
 void BasicRegistry.removeTag(java.lang.String path, java.lang.String tag)
           
 void AtomicRegistry.removeTag(java.lang.String path, java.lang.String tag)
           
 java.lang.String Repository.rename(ResourcePath oldResourcePath, java.lang.String newName)
          Renames the resource at oldPath with the given newName.
 java.lang.String JDBCRegistry.rename(java.lang.String currentPath, java.lang.String newPath)
           
 java.lang.String BasicRegistry.rename(java.lang.String currentPath, java.lang.String newName)
           
 java.lang.String AtomicRegistry.rename(java.lang.String currentPath, java.lang.String newName)
           
 boolean JDBCRegistry.resourceExists(java.lang.String path)
           
 boolean Repository.resourceExists(java.lang.String path)
          Checks if a pure resource exists in the given path.
 boolean BasicRegistry.resourceExists(java.lang.String path)
          Checks whether a resource exists in the registry.
 boolean AtomicRegistry.resourceExists(java.lang.String path)
           
 void VersionRepository.restoreVersion(ResourcePath resourcePath)
           
 void JDBCRegistry.restoreVersion(java.lang.String versionPath)
           
 void BasicRegistry.restoreVersion(java.lang.String versionPath)
           
 void AtomicRegistry.restoreVersion(java.lang.String versionPath)
           
 void JDBCRegistry.rollbackTransaction()
           
 void BasicRegistry.rollbackTransaction()
          BasicRegistry does not implement transaction related methods as transactions has to be handled outside of the BasicRegistry.
 void AtomicRegistry.rollbackTransaction()
           
 Collection JDBCRegistry.searchContent(java.lang.String keywords)
           
 Collection BasicRegistry.searchContent(java.lang.String keywords)
           
 Collection AtomicRegistry.searchContent(java.lang.String keywords)
           
 

Constructors in org.wso2.registry.jdbc that throw RegistryException
EmbeddedRegistry(RegistryContext context)
          Instantiates the EmbeddedRegistry using the configuration given in RegistryContext.
EmbeddedRegistry(RegistryContext context, UserRealm realm)
          Intantiates the EmbeddedRegistry using the configuration given in the context and the given UserRealm.
InMemoryEmbeddedRegistry()
           
InMemoryEmbeddedRegistry(UserRealm defaultRealm)
           
InMemoryJDBCRegistry()
          Creates an in-memory HSQL database based registry without the support for authentication and authorization.
InMemoryJDBCRegistry(RegistryRealm registryRealm)
          Creates the in-memory HSQL database and creates all tables necessary for the registry.
JDBCRegistry(RegistryContext registryContext, UserRealm realm)
          Constructs a JDBC registry to be used with secure registries.
 

Uses of RegistryException in org.wso2.registry.jdbc.dao
 

Methods in org.wso2.registry.jdbc.dao that throw RegistryException
 void ResourceDAO.add(java.lang.String path, java.lang.String parentID, ResourceImpl resourceImpl)
           
static void AssociationDAO.addAssociation(java.lang.String sourcePath, java.lang.String targetPath, java.lang.String associationType)
           
static java.lang.String CommentsDAO.addComment(java.lang.String resourceID, java.lang.String userID, Comment comment)
           
 java.lang.String ResourceDAO.addContent(java.io.InputStream contentStream)
           
 java.lang.String ResourceVersionDAO.addContentVersion(java.io.InputStream contentStream)
           
 void ResourceVersionDAO.addDependencies(java.lang.String resourceID, int versionNumber, java.util.List<java.lang.String> childIDs)
           
 void LogsDAO.addLog(java.lang.String resourcePath, java.lang.String userName, int action, java.lang.String actionData)
           
 void ResourceVersionDAO.addProperties(ResourceImpl resource, long version)
           
static void RatingsDAO.addRating(java.lang.String resourceID, java.lang.String userID, int rating)
           
 int ResourceVersionDAO.addResourceVersion(ResourceImpl resourceImpl, java.lang.String contentVersionID)
           
 void ResourceDAO.addRoot(java.lang.String path, ResourceImpl resourceImpl)
           
 long ResourceVersionDAO.addSnapshot(java.lang.String snapshotRootID)
           
 void ResourceVersionDAO.addSnapshotResource(long snapshotID, java.lang.String resourceID, int versionNumber)
           
static void TagsDAO.addTagging(java.lang.String tagName, java.lang.String resourceID, java.lang.String userID)
           
 void ResourceDAO.attachChild(java.lang.String parentID, java.lang.String childID)
           
static void AssociationDAO.copyAssociations(java.lang.String fromPath, java.lang.String toPath)
           
static void CommentsDAO.copyComments(java.lang.String path, java.lang.String resourceID)
           
 java.lang.String RestoreUtilDAO.copyContentVersion(ResourceDO resourceVersionDO)
           
 void RestoreUtilDAO.copyProperties(java.lang.String resourceID, long versionNumber)
           
static void RatingsDAO.copyRatings(java.lang.String fromResourceID, java.lang.String toResourceId)
           
 void RestoreUtilDAO.copyResourceVersion(ResourceDO resourceVersionDO, java.lang.String contentID, java.lang.String resourcePath)
           
static void TagsDAO.copyTags(java.lang.String fromResourceID, java.lang.String toResourceID)
           
 void ResourceDAO.createFileBasedContentFromDB(java.lang.String contentID, java.sql.Connection conn)
           
 void ResourceVersionDAO.createFileBasedContentFromDB(java.lang.String contentID, java.sql.Connection conn)
           
 void ResourceDAO.delete(java.lang.String resourceID)
           
static void CommentsDAO.deleteComment(long commentId)
           
 void RestoreUtilDAO.deleteContent(java.lang.String contentID)
           
 void ResourceDAO.deleteSubtree(java.lang.String resourceID)
           
 void ResourceDAO.detachChild(java.lang.String childID)
           
 void ResourceDAO.fillChildren(CollectionImpl collection, int start, int pageLen)
           
 void ResourceDAO.fillResourceProperties(ResourceImpl resourceImpl)
           
 ResourceImpl ResourceDAO.get(java.lang.String path)
          Returns the resource in the given path filled with metadata and access to the content.
 CollectionImpl ResourceDAO.get(java.lang.String path, int start, int pageLen)
           
 ResourceImpl ResourceVersionDAO.get(java.lang.String resourceID, long snapshotID, long version)
           
 CollectionImpl ResourceVersionDAO.get(java.lang.String resourceID, long snapshotID, long version, int start, int pageLen)
           
 Association[] AssociationDAO.getAllAssociations(java.lang.String resourcePath)
           
 Association[] AssociationDAO.getAllAssociationsForType(java.lang.String resourcePath, java.lang.String associationType)
           
static float RatingsDAO.getAverageRating(java.lang.String path)
           
 int ResourceDAO.getChildCount(java.lang.String resourceID, java.sql.Connection conn)
           
 int ResourceVersionDAO.getChildCount(java.lang.String resourceID, long versionNumber, java.sql.Connection conn)
           
 java.util.List<java.lang.String> ResourceDAO.getChildIDs(java.lang.String resourceID)
           
 java.util.List<java.lang.String> ResourceVersionDAO.getChildIDs(java.lang.String resourceID, long version)
           
 java.util.List<java.lang.String> ResourceVersionDAO.getChildPaths(ResourceImpl resourceImpl, long snapshotID, int start, int pageLen, java.sql.Connection conn)
           
 java.util.List<java.lang.String> ResourceDAO.getChildPaths(java.lang.String resourceID, java.sql.Connection conn)
           
 java.util.List<java.lang.String> ResourceDAO.getChildPaths(java.lang.String resourceID, int start, int pageLen, java.sql.Connection conn)
           
 java.util.List<java.lang.String> ResourceVersionDAO.getChildPaths(java.lang.String resourceID, long snapshotID, long versionNumber, java.sql.Connection conn)
           
static Comment CommentsDAO.getComment(long commentID)
           
static Comment[] CommentsDAO.getComments(java.lang.String path)
           
 int ResourceDAO.getEquivalentVersion(java.lang.String resourceID)
           
 long ResourceDAO.getEquivalenVersion(java.lang.String resourceID)
           
 int ResourceVersionDAO.getLatestResourceVersionNumber(java.lang.String resourceID)
           
 java.util.List LogsDAO.getLogs(java.lang.String resourcePath, int action, java.lang.String userName, java.util.Date from, java.util.Date to, boolean descending)
           
 LogEntry[] LogsDAO.getLogs(java.lang.String resourcePath, int action, java.lang.String userName, java.util.Date from, java.util.Date to, boolean descending, javax.sql.DataSource dataSource)
           
 LogEntry[] LogsDAO.getLogs(java.lang.String resourcePath, int action, java.lang.String userName, java.util.Date from, java.util.Date to, boolean descending, int start, int pageLen, javax.sql.DataSource dataSource)
           
 int LogsDAO.getLogsCount(java.lang.String resourcePath, int action, java.lang.String userName, java.util.Date from, java.util.Date to, boolean descending)
           
 long ResourceVersionDAO.getMatchingSnapshotID(java.lang.String resourceID, long version)
          Given a resource ID and a version number there may or may not be a snapshot ID.
 int ResourceVersionDAO.getMaxResourceVersion(java.lang.String resourceID)
           
static java.util.List TagsDAO.getPathsWithAnyTag(java.lang.String[] tags)
           
static java.util.Date RatingsDAO.getRatedTime(java.lang.String path, java.lang.String userName)
           
static java.lang.String[] RatingsDAO.getRatedUserNames(java.lang.String resourcePath)
           
static int RatingsDAO.getRating(java.lang.String path, java.lang.String userName)
           
 java.lang.String ResourceDAO.getResourceAuthor(java.lang.String path)
          Return the author (the user who creates the resource) if a resource exists at given path.
 ResourceImpl ResourceDAO.getResourceByID(java.lang.String resourceID)
           
 java.io.InputStream ResourceDAO.getResourceContentStream(java.lang.String contentID, java.sql.Connection conn)
          Returns a input stream to fetch content of the resource.
 java.io.InputStream ResourceVersionDAO.getResourceContentStream(java.lang.String contentID, java.sql.Connection conn)
           
 ResourceDO ResourceDAO.getResourceDO(java.lang.String resourceID)
           
static java.lang.String ResourceDAO.getResourceID(java.lang.String path)
          Returns the resource ID (RID) of the resource refered by the given path.
 java.lang.String ResourceVersionDAO.getResourceID(java.lang.String path, long snapshotID)
          For a given snapshot, there can be at most one resource in a given path.
 java.lang.String ResourceDAO.getResourcePath(java.lang.String resourceID)
           
static java.lang.String CommentsDAO.getResourcePathOfComment(long commentID)
           
 int ResourceDAO.getResourceType(java.lang.String path)
          Returns the type of the resource refered by the given path.
 ResourceDO ResourceVersionDAO.getResourceVersionDO(java.lang.String resourceID, long snapshotID)
           
 java.lang.Long[] ResourceVersionDAO.getSnapshotIDs(java.lang.String resourcePath)
           
static long TagsDAO.getTagCount(java.lang.String path, java.lang.String tag)
           
static TaggingDO TagsDAO.getTagging(long taggingID)
           
static TaggingDO TagsDAO.getTagging(java.lang.String path, java.lang.String tagName, java.lang.String userName)
           
static java.lang.String[] TagsDAO.getTags(java.lang.String path)
           
static Tag[] TagsDAO.getTagsWithCount(java.lang.String path)
           
 long ResourceVersionDAO.getVersion(java.lang.String resourceID, long snapshotID)
           
 void ResourceVersionDAO.invalidateAssociatedSnapshot(java.lang.String resourceID)
           
 void ResourceDAO.invalidateCurrentSnapshot(java.lang.String resourcePath)
           
 void ResourceDAO.markDirty(java.lang.String resourceID)
           
 void ResourceDAO.markDirtyByPath(java.lang.String resourcePath)
           
 void RestoreUtilDAO.mergeResourceVersion(ResourceDO resourceDO, ResourceDO resourceVersionDO, java.lang.String contentID)
           
static boolean RatingsDAO.ratingExists(java.lang.String resourceID, java.lang.String userID)
           
 void AssociationDAO.removeAllAssociations(java.lang.String resourcePath)
           
 void AssociationDAO.removeAssociation(java.lang.String sourcePath, java.lang.String targetPath, java.lang.String associationType)
           
 void ResourceVersionDAO.removeSnapshotsOfResource(java.lang.String resourceID)
           
static void TagsDAO.removeTag(java.lang.String path, java.lang.String tag)
           
static void TagsDAO.removeTag(java.lang.String path, java.lang.String tag, java.lang.String userName)
           
 void AssociationDAO.replaceAssociations(java.lang.String oldPath, java.lang.String newPath)
           
 java.lang.String RestoreUtilDAO.replaceContentVersion(ResourceDO resourceDO, ResourceDO resourceVersionDO)
           
 void RestoreUtilDAO.replaceDependencies(java.lang.String resourceID, java.util.List<java.lang.String> versionedChildIDs)
           
 void RestoreUtilDAO.replaceProperties(java.lang.String resourceID, long versionNumber)
           
 boolean ResourceDAO.resourceExists(java.lang.String path)
           
 boolean ResourceDAO.resourceExistsWithID(java.lang.String resourceID)
           
 void ResourceDAO.setPath(java.lang.String resourceID, java.lang.String newPath)
           
 void ResourceDAO.setSnapshotID(java.lang.String resourceID, long snapshotID)
           
static boolean TagsDAO.taggingExists(java.lang.String tagName, java.lang.String resourceID, java.lang.String userID)
           
 void ResourceDAO.update(java.lang.String resourceID, ResourceImpl resourceImpl)
           
static void CommentsDAO.updateComment(long commentId, java.lang.String text)
           
 void ResourceDAO.updateContent(java.lang.String contentID, java.io.InputStream contentStream)
           
static void RatingsDAO.updateRating(java.lang.String resourceID, java.lang.String userID, int rating)
           
 

Uses of RegistryException in org.wso2.registry.jdbc.filecache
 

Methods in org.wso2.registry.jdbc.filecache that throw RegistryException
 void FileManager.createFileBasedContent(java.lang.String contentID, java.io.InputStream inputStream)
           
 java.io.InputStream FileManager.createFileBasedInputStream(java.lang.String contentID, java.io.InputStream inputStream)
           
 java.io.InputStream FileManager.getFileBasedInputStream(java.lang.String contentID)
           
 

Uses of RegistryException in org.wso2.registry.jdbc.handlers
 

Methods in org.wso2.registry.jdbc.handlers that throw RegistryException
 void Handler.delete(RequestContext requestContext)
          Processes the DELETE action of the media type.
 void HandlerManager.delete(RequestContext requestContext)
          Manages the handler invocations of DELETE method.
 Resource Handler.get(RequestContext requestContext)
          Processes the GET action for resource path of the requestContext.
 Resource HandlerManager.get(RequestContext requestContext)
          Manages the handler invocations of GET method.
 Resource UIEnabledHandler.get(RequestContext requestContext)
          Implementation of the get(...) method of the Handler class.
 Resource UIEnabledHandler.getBrowseView(java.lang.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.
 Resource XSLTBasedUIEnabledHandler.getBrowseView(java.lang.String viewKey, RequestContext requestContext)
           
 Resource UIEnabledHandler.getEditView(java.lang.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.getEditView(java.lang.String editViewKey, RequestContext requestContext)
           
 Resource UIEnabledHandler.getNewView(java.lang.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.
 Resource XSLTBasedUIEnabledHandler.getNewView(java.lang.String newViewKey, RequestContext requestContext)
           
 Resource UIEnabledHandler.getRawResource(RequestContext requestContext)
          Returns a Resource instance specified in the requestContext.
protected  Registry EditProcessor.getRegistry(javax.servlet.http.HttpServletRequest request)
           
 void Handler.importChild(RequestContext requestContext)
          Invokes when a child resource is imported.
 void HandlerManager.importChild(RequestContext requestContext)
          Manages the handler invocations of IMPORT_CHILD method.
 void Handler.importResource(RequestContext requestContext)
          Creates a resource in the given path by fetching the resource content from the given URL.
 java.lang.String HandlerManager.importResource(RequestContext requestContext)
          Manages the handler invocations of IMPORT method.
 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(java.lang.String path, java.lang.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(java.lang.String path, java.lang.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(java.lang.String path, java.lang.String newViewKey, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
abstract  boolean EditProcessor.processNewContent(java.lang.String parentPath, java.lang.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.
 void Handler.put(RequestContext requestContext)
          Processes the PUT action.
 java.lang.String HandlerManager.put(RequestContext requestContext)
          Manages the handler invocations of PUT method.
 void Handler.putChild(RequestContext requestContext)
          Invokes when a child resource is added.
 void HandlerManager.putChild(RequestContext requestContext)
          Manages the handler invocations of PUT_CHILD method.
 void XSLTBasedUIEnabledHandler.setBrowseXSLT(org.apache.axiom.om.OMElement browseElement)
           
 void XSLTBasedUIEnabledHandler.setEditXSLT(org.apache.axiom.om.OMElement editElement)
           
 void XSLTBasedUIEnabledHandler.setNewHTML(org.apache.axiom.om.OMElement newElement)
           
 

Uses of RegistryException in org.wso2.registry.jdbc.handlers.builtin
 

Methods in org.wso2.registry.jdbc.handlers.builtin that throw RegistryException
 void TagURLHandler.delete(RequestContext requestContext)
           
 void TagCollectionURLHandler.delete(RequestContext requestContext)
           
 void RatingURLHandler.delete(RequestContext requestContext)
           
 void SQLQueryHandler.delete(RequestContext requestContext)
           
 void CommentURLHandler.delete(RequestContext requestContext)
           
 void RatingCollectionURLHandler.delete(RequestContext requestContext)
           
 void CommentCollectionURLHandler.delete(RequestContext requestContext)
           
 Resource TagURLHandler.get(RequestContext requestContext)
           
 Resource TagCollectionURLHandler.get(RequestContext requestContext)
           
 Resource RatingURLHandler.get(RequestContext requestContext)
           
 Resource SQLQueryHandler.get(RequestContext requestContext)
           
 Resource CommentURLHandler.get(RequestContext requestContext)
           
 Resource RatingCollectionURLHandler.get(RequestContext requestContext)
           
 Resource CommentCollectionURLHandler.get(RequestContext requestContext)
           
 void TagURLHandler.importChild(RequestContext requestContext)
           
 void TagCollectionURLHandler.importChild(RequestContext requestContext)
           
 void RatingURLHandler.importChild(RequestContext requestContext)
           
 void SQLQueryHandler.importChild(RequestContext requestContext)
           
 void CommentURLHandler.importChild(RequestContext requestContext)
           
 void RatingCollectionURLHandler.importChild(RequestContext requestContext)
           
 void CommentCollectionURLHandler.importChild(RequestContext requestContext)
           
 void TagURLHandler.importResource(RequestContext requestContext)
           
 void TagCollectionURLHandler.importResource(RequestContext requestContext)
           
 void RatingURLHandler.importResource(RequestContext requestContext)
           
 void SQLQueryHandler.importResource(RequestContext requestContext)
           
 void CommentURLHandler.importResource(RequestContext requestContext)
           
 void RatingCollectionURLHandler.importResource(RequestContext requestContext)
           
 void CommentCollectionURLHandler.importResource(RequestContext requestContext)
           
 void TagURLHandler.put(RequestContext requestContext)
           
 void TagCollectionURLHandler.put(RequestContext requestContext)
           
 void RatingURLHandler.put(RequestContext requestContext)
           
 void SQLQueryHandler.put(RequestContext requestContext)
           
 void CommentURLHandler.put(RequestContext requestContext)
           
 void RatingCollectionURLHandler.put(RequestContext requestContext)
           
 void CommentCollectionURLHandler.put(RequestContext requestContext)
           
 void TagURLHandler.putChild(RequestContext requestContext)
           
 void TagCollectionURLHandler.putChild(RequestContext requestContext)
           
 void RatingURLHandler.putChild(RequestContext requestContext)
           
 void SQLQueryHandler.putChild(RequestContext requestContext)
           
 void CommentURLHandler.putChild(RequestContext requestContext)
           
 void RatingCollectionURLHandler.putChild(RequestContext requestContext)
           
 void CommentCollectionURLHandler.putChild(RequestContext requestContext)
           
 

Uses of RegistryException in org.wso2.registry.jdbc.handlers.filters
 

Methods in org.wso2.registry.jdbc.handlers.filters that throw RegistryException
 boolean URLMatcher.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.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.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 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.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 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.
 

Uses of RegistryException in org.wso2.registry.jdbc.indexing
 

Methods in org.wso2.registry.jdbc.indexing that throw RegistryException
 void Indexer.deleteFromIndex(RequestContext requestContext)
           
static Dialect DialectFactory.getDialect(javax.sql.DataSource dataSource)
           
 void Indexer.indexMSExcel(RequestContext requestContext)
           
 void Indexer.indexMSPowerpoint(RequestContext requestContext)
           
 void Indexer.indexMSWord(RequestContext requestContext)
           
 void Indexer.indexPDF(RequestContext requestContext)
           
 void Indexer.indexXML(RequestContext requestContext)
           
 void Indexer.updateIndex(RequestContext requestContext)
           
 

Uses of RegistryException in org.wso2.registry.jdbc.queries
 

Methods in org.wso2.registry.jdbc.queries that throw RegistryException
 Collection SQLQueryProcessor.executeQuery(Registry registry, Resource query, java.util.Map parameters)
           
abstract  Collection QueryProcessor.executeQuery(Registry registry, Resource query, java.util.Map parameters)
          This method will be called when a query of a registered type is executed.
 Collection QueryProcessorManager.executeQuery(Registry registry, Resource queryResource, java.util.Map parameters)
           
 

Constructors in org.wso2.registry.jdbc.queries that throw RegistryException
QueryProcessorManager(javax.sql.DataSource dataSource, UserRealm realm, Registry registry)
           
 

Uses of RegistryException in org.wso2.registry.jdbc.realm
 

Methods in org.wso2.registry.jdbc.realm that throw RegistryException
protected  void RegistryRealm.initialize(javax.sql.DataSource dataSource)
           
 

Constructors in org.wso2.registry.jdbc.realm that throw RegistryException
InMemoryRegistryRealm()
           
RegistryRealm(javax.sql.DataSource dataSource)
          Creates a default realm from the given datasource.
RegistryRealm(UserRealm userRealm)
           
 

Uses of RegistryException in org.wso2.registry.jdbc.realm.pathbased
 

Constructors in org.wso2.registry.jdbc.realm.pathbased that throw RegistryException
PathBasedRegistryRealm(UserRealm userRealm, javax.sql.DataSource dataSource)
           
 

Uses of RegistryException in org.wso2.registry.jdbc.utils.creators
 

Methods in org.wso2.registry.jdbc.utils.creators that throw RegistryException
 void DatabaseCreator.createRegistryDatabase()
          Creates the database tables required for registry (resource store), if they are not already created
 void DatabaseCreator.createUserManagerDatabase()
          Creates the database tables required for user manager (user store), is they are not already created.
static DatabaseCreator DatabaseCreatorFactory.getDatabaseCreator(javax.sql.DataSource dataSource)
           
 

Uses of RegistryException in org.wso2.registry.secure
 

Subclasses of RegistryException in org.wso2.registry.secure
 class AuthorizationFailedException
           
 

Methods in org.wso2.registry.secure that throw RegistryException
 void RegistryUserManager.addRole(java.lang.String roleName)
           
 void RegistryUserManager.addUser(java.lang.String userName, java.lang.String password)
           
 void RegistryUserManager.addUserToRole(java.lang.String userName, java.lang.String roleName)
           
 void RegistryUserManager.authorizeRole(java.lang.String roleName, java.lang.String resourceID, java.lang.String action)
           
 void RegistryUserManager.authorizeUser(java.lang.String userName, java.lang.String resourceID, java.lang.String action)
           
 void HSQLDBInitializer.createHSQLTables(javax.sql.DataSource dataSource)
           
 void RegistryUserManager.denyRole(java.lang.String roleName, java.lang.String resourceID, java.lang.String action)
           
 void RegistryUserManager.denyUser(java.lang.String userName, java.lang.String resourceID, java.lang.String action)
           
 java.lang.String[] RegistryUserManager.getAllRoles()
           
 java.lang.String[] RegistryUserManager.getAllUsers()
           
 java.util.Map RegistryUserManager.getUserProperties(java.lang.String userName)
           
 java.lang.String RegistryUserManager.getUserProperty(java.lang.String userName, java.lang.String propName)
           
 boolean RegistryUserManager.isUserAuthorized(java.lang.String userName, java.lang.String resourcePath, java.lang.String action)
           
 void RegistryUserManager.removeRole(java.lang.String roleName)
           
 void RegistryUserManager.removeUser(java.lang.String userName)
           
 void RegistryUserManager.removeUserFromRole(java.lang.String userName, java.lang.String roleName)
           
 void RegistryUserManager.setUserProperties(java.lang.String userName, java.util.Map properties)
           
 void RegistryUserManager.setUserProperty(java.lang.String userName, java.lang.String name, java.lang.String value)
           
 boolean RegistryUserManager.userExists(java.lang.String userName)
           
 

Constructors in org.wso2.registry.secure that throw RegistryException
RegistryUserManager(UserRealm userRealm)
           
RegistryUserManager(UserRealm deafuleRealm, java.lang.String userName)
           
 

Uses of RegistryException in org.wso2.registry.servlet
 

Methods in org.wso2.registry.servlet that throw RegistryException
static UserRealm RegistryRealmFactory.createDataSourceAwareRegistryRealm(java.lang.String dataSourceName)
           
static UserRealm RegistryRealmFactory.createInMemoryRegistryRealm()
           
static UserRealm RegistryRealmFactory.createRegistryRealm(javax.servlet.ServletConfig config)
           
static UserRealm RegistryRealmFactory.createURLBasedRegistryRealm(java.lang.String dbURL, java.lang.String driverName, java.lang.String userName, java.lang.String password)
           
static Resource ResourceRequestProcessor.getResource(javax.servlet.http.HttpServletRequest request, java.lang.String path)
           
static UserRegistry ResourceRequestProcessor.getUserRegistry(javax.servlet.http.HttpServletRequest request)
           
 

Uses of RegistryException in org.wso2.registry.servlet.utils
 

Methods in org.wso2.registry.servlet.utils that throw RegistryException
static UserRegistry Utils.getSecureRegistry(javax.servlet.http.HttpServletRequest request)
          Returns the registry associated with the current session.
static boolean UserUtil.isAuthorizeAllowed(java.lang.String userName, java.lang.String resourcePath, javax.servlet.http.HttpServletRequest request)
           
static boolean UserUtil.isDeleteAllowed(java.lang.String userName, java.lang.String resourcePath, javax.servlet.http.HttpServletRequest request)
           
static boolean UserUtil.isPutAllowed(java.lang.String userName, java.lang.String resourcePath, javax.servlet.http.HttpServletRequest request)
           
static void Utils.logInUser(javax.servlet.http.HttpServletRequest request, java.lang.String userName, java.lang.String password)
           
 

Uses of RegistryException in org.wso2.registry.session
 

Methods in org.wso2.registry.session that throw RegistryException
 void UserRegistry.addAssociation(java.lang.String sourcePath, java.lang.String targetPath, java.lang.String associationType)
           
 java.lang.String UserRegistry.addComment(java.lang.String resourcePath, Comment comment)
           
 void UserRegistry.applyTag(java.lang.String resourcePath, java.lang.String tag)
           
 void UserRegistry.associateAspect(java.lang.String resourcePath, java.lang.String aspect)
           
 void UserRegistry.beginTransaction()
           
 void UserRegistry.commitTransaction()
           
 java.lang.String UserRegistry.copy(java.lang.String sourcePath, java.lang.String targetPath)
           
 void UserRegistry.createVersion(java.lang.String path)
           
 void UserRegistry.delete(java.lang.String path)
           
 void UserRegistry.editComment(java.lang.String commentPath, java.lang.String text)
           
 Collection UserRegistry.executeQuery(java.lang.String path, java.util.Map parameters)
           
 Resource UserRegistry.get(java.lang.String path)
           
 Collection UserRegistry.get(java.lang.String path, int start, int pageSize)
           
 Association[] UserRegistry.getAllAssociations(java.lang.String resourcePath)
           
 java.lang.String[] UserRegistry.getAspectActions(java.lang.String resourcePath, java.lang.String aspectName)
           
 Association[] UserRegistry.getAssociations(java.lang.String resourcePath, java.lang.String associationType)
           
 float UserRegistry.getAverageRating(java.lang.String resourcePath)
           
 Comment[] UserRegistry.getComments(java.lang.String resourcePath)
           
 LogEntryCollection UserRegistry.getLogCollection(java.lang.String resourcePath, int action, java.lang.String userName, java.util.Date from, java.util.Date to, boolean recentFirst)
           
 LogEntry[] UserRegistry.getLogs(java.lang.String resourcePath, int action, java.lang.String userName, java.util.Date from, java.util.Date to, boolean recentFirst)
           
 int UserRegistry.getRating(java.lang.String path, java.lang.String userName)
           
 TaggedResourcePath[] UserRegistry.getResourcePathsWithTag(java.lang.String tag)
           
 Tag[] UserRegistry.getTags(java.lang.String resourcePath)
           
 java.lang.String[] UserRegistry.getVersions(java.lang.String path)
           
 java.lang.String UserRegistry.importResource(java.lang.String suggestedPath, java.lang.String sourceURL, Resource metadata)
           
 void UserRegistry.invokeAspect(java.lang.String resourcePath, java.lang.String aspectName, java.lang.String action)
           
 java.lang.String UserRegistry.move(java.lang.String currentPath, java.lang.String newPath)
           
 Collection UserRegistry.newCollection()
           
 Resource UserRegistry.newResource()
           
 java.lang.String UserRegistry.put(java.lang.String suggestedPath, Resource resource)
           
 void UserRegistry.rateResource(java.lang.String resourcePath, int rating)
           
 void UserRegistry.removeAssociation(java.lang.String sourcePath, java.lang.String associationPaths, java.lang.String associationType)
           
 void UserRegistry.removeTag(java.lang.String path, java.lang.String tag)
           
 java.lang.String UserRegistry.rename(java.lang.String currentPath, java.lang.String newPath)
           
 boolean UserRegistry.resourceExists(java.lang.String path)
           
 void UserRegistry.restoreVersion(java.lang.String versionPath)
           
 void UserRegistry.rollbackTransaction()
           
 Collection UserRegistry.searchContent(java.lang.String keywords)
           
 

Constructors in org.wso2.registry.session that throw RegistryException
UserRegistry(java.lang.String userName, Registry coreRegistry, UserRealm defaultRealm, javax.sql.DataSource dataSource)
           
UserRegistry(java.lang.String userName, java.lang.String password, Registry coreRegistry, UserRealm defaultRealm, javax.sql.DataSource dataSource)
           
 

Uses of RegistryException in org.wso2.registry.utils
 

Methods in org.wso2.registry.utils that throw RegistryException
static boolean AuthorizationUtils.authorize(java.lang.String resourceID, java.lang.String action)
           
static void AuthorizationUtils.copyAuthorizations(java.lang.String sourceID, java.lang.String targetID)
           
static void RegistryClientUtils.exportFromRegistry(java.io.File toFile, java.lang.String path, Registry registry)
          This method can be used to export registry instance or node in a registry to a local file system.
static void RegistryClientUtils.importToRegistry(java.io.File file, java.lang.String path, Registry registry)
          This method can be used to import a local file system into a running instance of a registry.
static void AuthorizationUtils.setRootAuthorizations(java.lang.String rootID, UserRealm systemRealm)
           
 void SchemaValidator.validate(java.io.InputStream xsdContent, Resource resource)
          This will valide the given schema againts the w3c.XMLSchema.
 



Copyright © 2007 Apache Web Services Project. All Rights Reserved.