Uses of Class
org.wso2.registry.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.handlers   
org.wso2.registry.jdbc.handlers.builtin   
org.wso2.registry.jdbc.handlers.builtin.utils   
org.wso2.registry.jdbc.handlers.filters   
org.wso2.registry.jdbc.mediatypes   
org.wso2.registry.jdbc.mediatypes.builtin   
org.wso2.registry.jdbc.mediatypes.utils   
org.wso2.registry.jdbc.queries   
org.wso2.registry.jdbc.realm   
org.wso2.registry.jdbc.urlhandlers   
org.wso2.registry.lifecycle   
org.wso2.registry.secure   
org.wso2.registry.servlet   
org.wso2.registry.servlet.utils   
org.wso2.registry.utils   
 

Uses of RegistryException in org.wso2.registry
 

Methods in org.wso2.registry that throw RegistryException
 java.lang.String Registry.addComment(java.lang.String resourcePath, Comment comment)
          Adds a comment to a resource.
 void Registry.addDependencies(java.lang.String dependentPath, java.lang.String[] dependencyPaths)
          Adds a dependency stating that the resource at "dependentPath" depends on the resource at "dependencyPath".
 void Registry.applyTag(java.lang.String resourcePath, java.lang.String tag)
          Applies the given tag to the resource in the given path.
 void Registry.associateLifeCycle(java.lang.String resourcePath, java.lang.String lifecycle)
          Associate a lifecycle into a resource.
 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.
 DependencyChain[] Registry.getAllDependencies(java.lang.String resourcePath)
          Get all dependencies of the given resource.
 DependentChain[] Registry.getAllDependents(java.lang.String resourcePath)
          Get all dependents of the given resource.
 float Registry.getAverageRating(java.lang.String resourcePath)
          Returns the average rating for the given resource.
 Comment[] Registry.getComments(java.lang.String resourcePath)
          Get all comments for the given resource.
 java.lang.Object ResourceImpl.getContent()
           
 java.lang.Object Resource.getContent()
           
 java.io.InputStream ResourceImpl.getContentStream()
           
 java.io.InputStream Resource.getContentStream()
           
 java.lang.String[] Registry.getLifecycleActions(java.lang.String resourcePath, java.lang.String lifecycleName)
           
 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.
 void Registry.lifeCycleTransition(java.lang.String resourcePath, java.lang.String lifecycleName, java.lang.String action)
          This will change the current resource lifecycle state to the next state.
 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.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 newPath)
          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.
 

Uses of RegistryException in org.wso2.registry.app
 

Methods in org.wso2.registry.app that throw RegistryException
 java.lang.String RemoteRegistry.addComment(java.lang.String resourcePath, Comment comment)
           
 void RemoteRegistry.addDependencies(java.lang.String dependentPath, java.lang.String[] dependencyPaths)
           
 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.associateLifeCycle(java.lang.String resourcePath, java.lang.String lifecycle)
           
 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)
           
 DependencyChain[] RemoteRegistry.getAllDependencies(java.lang.String resourcePath)
           
 DependentChain[] RemoteRegistry.getAllDependents(java.lang.String resourcePath)
           
 float RemoteRegistry.getAverageRating(java.lang.String resourcePath)
           
 Comment[] RemoteRegistry.getComments(java.lang.String resourcePath)
           
 java.lang.String[] RemoteRegistry.getLifecycleActions(java.lang.String resourcePath, java.lang.String lifecycleName)
           
 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.lifeCycleTransition(java.lang.String resourcePath, java.lang.String lifecycleName, java.lang.String action)
           
 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.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)
           
 

Uses of RegistryException in org.wso2.registry.config
 

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

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
 java.lang.String JDBCRegistry.addComment(java.lang.String resourcePath, Comment comment)
          Adds a comment to a resource.
 void JDBCRegistry.addDependencies(java.lang.String dependentPath, java.lang.String[] dependencyPaths)
           
 void JDBCRegistry.applyTag(java.lang.String resourcePath, java.lang.String tag)
          Applies the given tag to the resource in the given path.
 void JDBCRegistry.associateLifeCycle(java.lang.String resourcePath, java.lang.String name)
           
 void JDBCRegistry.configure(javax.sql.DataSource dataSource, RegistryRealm realm)
          Configures and initiates the JDBC registry with a (new) datasource and a realm.
 boolean Repository.delete(java.lang.String path)
           
 void JDBCRegistry.delete(java.lang.String path)
          Deletes the resource in the given path.
 void JDBCRegistry.editComment(java.lang.String commentPath, java.lang.String text)
           
 Collection JDBCRegistry.executeQuery(java.lang.String path, java.util.Map parameters)
           
 Resource Repository.get(java.lang.String path)
           
 Resource JDBCRegistry.get(java.lang.String path)
          Returns the resource in the given path.
 DependencyChain[] JDBCRegistry.getAllDependencies(java.lang.String resourcePath)
           
 DependentChain[] JDBCRegistry.getAllDependents(java.lang.String resourcePath)
           
 float JDBCRegistry.getAverageRating(java.lang.String resourcePath)
          Returns the average rating (from all users) for the given resource.
 Comment[] JDBCRegistry.getComments(java.lang.String resourcePath)
          Returns all comments for the given resource.
 java.sql.Connection ConnectionFactory.getConnection()
           
 javax.sql.DataSource ConnectionFactory.getDataSource()
           
 java.lang.String[] JDBCRegistry.getLifecycleActions(java.lang.String resourcePath, java.lang.String lifecycleName)
           
 LogEntry[] JDBCRegistry.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)
           
 Lifecycle JDBCRegistry.getResourceLifecycle(Resource resource, java.lang.String lifecycleName)
           
 TaggedResourcePath[] JDBCRegistry.getResourcePathsWithTag(java.lang.String tag)
          Returns the paths of the resources, which are tagged using the given tag.
 Tag[] JDBCRegistry.getTags(java.lang.String resourcePath)
          Returns all tags used for tagging the given resource.
 java.lang.String[] JDBCRegistry.getVersions(java.lang.String path)
           
 boolean Repository.importChild(java.lang.String childPath, java.lang.String sourceURL)
           
 java.lang.String Repository.importResource(java.lang.String path, java.lang.String sourceURL, Resource metadata)
           
 java.lang.String JDBCRegistry.importResource(java.lang.String suggestedPath, java.lang.String sourceURL, Resource metadata)
           
 void JDBCRegistry.lifeCycleTransition(java.lang.String resourcePath, java.lang.String lifecycleName, java.lang.String action)
           
 Collection JDBCRegistry.newCollection()
           
 Resource JDBCRegistry.newResource()
           
 boolean Repository.put(java.lang.String path, Resource resource)
           
 java.lang.String JDBCRegistry.put(java.lang.String suggestedPath, Resource resource)
          Adds or updates resources in the registry.
 boolean Repository.putChild(java.lang.String childPath, Resource resource)
           
 void JDBCRegistry.rateResource(java.lang.String resourcePath, int rating)
          Rates the given resource.
 void JDBCRegistry.removeTag(java.lang.String path, java.lang.String tag)
           
 java.lang.String JDBCRegistry.rename(java.lang.String currentPath, java.lang.String newPath)
           
 boolean JDBCRegistry.resourceExists(java.lang.String path)
           
 void JDBCRegistry.restoreVersion(java.lang.String versionPath)
           
 void JDBCRegistry.shutdown()
           
 

Constructors in org.wso2.registry.jdbc that throw RegistryException
ConnectionFactory()
           
ConnectionFactory(java.lang.String dataSourceName)
           
ConnectionFactory(java.lang.String driverClass, java.lang.String url, java.lang.String userName, java.lang.String password)
           
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(javax.sql.DataSource dataSource)
          Constructs a JDBC registry to be used without any security (authorizations on actions).
JDBCRegistry(javax.sql.DataSource dataSource, 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 VersionedResourceDAO.add(ResourceImpl resource, java.sql.Connection conn)
          Adds the given resource to the database.
 void VersionedResourceDAO.addDependencies(long resourceID, long version, DependencyChain[] dependencies, java.sql.Connection conn)
          Adds dependencies to the given version of a resource.
 void VersionedResourceDAO.addDependencies(long resourceID, long version, java.lang.String[] dependencyPaths, java.sql.Connection conn)
          Adds dependencyPaths to the given version of a resource.
 long VersionedResourceDAO.addResourceVersion(ResourceImpl resource, java.sql.Connection connection)
           
 void VersionedResourceDAO.deleteResource(ResourceImpl resource, java.sql.Connection connection)
          To delete a resource , what actually happen here is that update the version table with the new data and resource will not actually removed from the table
 long VersionedResourceDAO.getCurrentVersionNumber(java.lang.String path, java.sql.Connection conn)
          To get the current version for a give resource , current version may not be the latest version in all the cases.
 DependencyChain[] VersionedResourceDAO.getDependencies(java.lang.String resourcePath, java.sql.Connection conn)
           
 DependentChain[] VersionedResourceDAO.getDependents(java.lang.String resourcePath, java.sql.Connection conn)
           
 ResourceImpl VersionedResourceDAO.getLatestVersion(java.lang.String path, java.sql.Connection conn)
          Returns the latest (current) version of an artifact.
 void VersionedResourceDAO.renameResource(java.lang.String oldPath, java.lang.String newPath, java.sql.Connection conn, java.lang.String userId, UserRealm realm, Registry registry)
          This method will move a resource from oldpath to newpath , the internal implementation is such that frit the release will be deleted from oldPath parent and will be added to the newptah so if the oldpath is "foo/bar/r1" then the r1 will be removed from foo/bar.
 void VersionedResourceDAO.renameWithoutDelete(java.lang.String oldPath, java.lang.String newPath, java.lang.String userId, UserRealm realm, Registry registry)
          This method will copy a resource from oldpath to newpath , the internal implementation is such that copy all the resources from oldpath to new path including tags , comments and ratings.
 void VersionedResourceDAO.restore(long resourceId, long toVersion, java.sql.Connection connection)
           
 void VersionedResourceDAO.update(java.lang.String path, ResourceImpl resource, java.sql.Connection conn)
           
 

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

Methods in org.wso2.registry.jdbc.handlers that throw RegistryException
abstract  void Handler.delete(RequestContext requestContext)
          Processes the DELETE action of the media type.
 void HandlerManager.delete(RequestContext requestContext)
           
abstract  Resource Handler.get(RequestContext requestContext)
          Processes the GET action for resource path of the requestContext.
 Resource HandlerManager.get(RequestContext requestContext)
           
abstract  void Handler.importChild(RequestContext requestContext)
          Invokes when a child resource is imported.
 void HandlerManager.importChild(RequestContext requestContext)
           
abstract  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)
           
abstract  void Handler.put(RequestContext requestContext)
          Processes the PUT action.
 java.lang.String HandlerManager.put(RequestContext requestContext)
           
abstract  void Handler.putChild(RequestContext requestContext)
          Invokes when a child resource is added.
 void HandlerManager.putChild(RequestContext requestContext)
           
 

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

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

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

Methods in org.wso2.registry.jdbc.handlers.builtin.utils that throw RegistryException
 void WSDLFileProcessor.calculateWSDLNamesAndChangeTypes(javax.wsdl.Definition wsdlDefinition, java.util.Map processedWSDLMap, java.util.Map processedScheamMap, java.util.Set visitedWSDLs, java.lang.String registryBasePath, boolean processImports)
          saves the given wsdl definition file with its imported wsdls and imported and included schemas.
 java.lang.String SchemaFileProcessor.saveSchemaFileToRegistry(java.lang.String location, java.util.Map processedSchemaMap, java.lang.String registryBasePath, boolean processIncludes, Resource metadata)
          Import a schema file to the registry after saving all its includes and imports to the registry and updating the schema locations accordingly.
 java.lang.String SchemaFileProcessor.saveSchemaFileToRegistry(java.lang.String location, java.lang.String registryBasePath, boolean processIncludes, Resource metadata)
          Import a schema file to the registry after saving all its includes and imports to the registry and updating the schema locations accordingly.
 void SchemaFileProcessor.saveSchemaFileToRegistry(org.apache.ws.commons.schema.XmlSchema xmlSchema, java.util.Map processedSchemaMap, java.util.Map changeSchemaNames, java.util.Set visitedSchemas, boolean isWSDLInlineSchema, java.lang.String registryBasePath, boolean processIncludes, Resource metadata)
          Save the schemas to the registry.
 void WSDLFileProcessor.saveWSDLFileToRegistry(javax.wsdl.Definition wsdlDefinition, java.util.Map processedWSDLMap, java.util.Set visitedWSDLs, java.lang.String registryBasePath, boolean processImports, Resource metadata)
           
 java.lang.String WSDLFileProcessor.saveWSDLFileToRegistry(java.lang.String location, java.lang.String registryBasePath, boolean processImports, Resource metadata)
          saves a wsdl file including its imports and imported schemas.
 

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)
           
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)
           
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)
           
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)
           
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.mediatypes
 

Methods in org.wso2.registry.jdbc.mediatypes that throw RegistryException
 void MediaTypeManager.delete(java.lang.String path)
           
abstract  boolean MediaTypeHandler.delete(java.lang.String path)
          Processes the DELETE action of the media type.
 ResourceImpl MediaTypeManager.get(java.lang.String path)
           
abstract  ResourceImpl MediaTypeHandler.get(java.lang.String path, ResourceImpl rawArtifact)
          Processes the GET action of the media type.
abstract  boolean MediaTypeHandler.importChild(java.lang.String childPath, java.lang.String sourceURL)
          Invokes when a child resource is imported.
 java.lang.String MediaTypeManager.importResource(java.lang.String path, java.lang.String sourceURL, Resource metadata)
           
abstract  java.lang.String MediaTypeHandler.importResource(java.lang.String path, java.lang.String sourceURL, Resource metadata)
          Creates a resource in the given path by fetching the resource content from the given URL.
 void MediaTypeManager.put(java.lang.String path, ResourceImpl resource)
           
abstract  boolean MediaTypeHandler.put(java.lang.String path, ResourceImpl resource)
          Processes the PUT action of the media type.
abstract  boolean MediaTypeHandler.putChild(java.lang.String childPath, Resource resource)
          Invokes when a child resource is added.
 

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

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

Methods in org.wso2.registry.jdbc.mediatypes.builtin that throw RegistryException
 boolean XSDMediaTypeHandler.delete(java.lang.String path)
           
 boolean WSDLMediaTypeHandler.delete(java.lang.String path)
           
 boolean Axis2RepositoryMediaTypeHandler.delete(java.lang.String path)
           
 boolean SQLQueryMediaTypeHandler.delete(java.lang.String path)
           
 boolean DefaultMediaTypeHandler.delete(java.lang.String path)
           
 boolean SynapseRepositoryMediaTypeHandler.delete(java.lang.String path)
           
 ResourceImpl XSDMediaTypeHandler.get(java.lang.String path, ResourceImpl rawArtifact)
           
 ResourceImpl WSDLMediaTypeHandler.get(java.lang.String path, ResourceImpl rawArtifact)
           
 ResourceImpl Axis2RepositoryMediaTypeHandler.get(java.lang.String path, ResourceImpl rawArtifact)
           
 ResourceImpl SQLQueryMediaTypeHandler.get(java.lang.String path, ResourceImpl resource)
           
 ResourceImpl DefaultMediaTypeHandler.get(java.lang.String path, ResourceImpl resource)
           
 ResourceImpl SynapseRepositoryMediaTypeHandler.get(java.lang.String path, ResourceImpl resource)
           
 boolean XSDMediaTypeHandler.importChild(java.lang.String childPath, java.lang.String sourceURL)
           
 boolean WSDLMediaTypeHandler.importChild(java.lang.String childPath, java.lang.String sourceURL)
           
 boolean Axis2RepositoryMediaTypeHandler.importChild(java.lang.String childPath, java.lang.String sourceURL)
           
 boolean SQLQueryMediaTypeHandler.importChild(java.lang.String childPath, java.lang.String sourceURL)
           
 boolean DefaultMediaTypeHandler.importChild(java.lang.String childPath, java.lang.String sourceURL)
           
 boolean SynapseRepositoryMediaTypeHandler.importChild(java.lang.String childPath, java.lang.String sourceURL)
           
 java.lang.String XSDMediaTypeHandler.importResource(java.lang.String path, java.lang.String sourceURL, Resource metadata)
           
 java.lang.String WSDLMediaTypeHandler.importResource(java.lang.String path, java.lang.String sourceURL, Resource metadata)
           
 java.lang.String Axis2RepositoryMediaTypeHandler.importResource(java.lang.String path, java.lang.String sourceURL, Resource metadata)
           
 java.lang.String SQLQueryMediaTypeHandler.importResource(java.lang.String path, java.lang.String sourceURL, Resource metadata)
           
 java.lang.String DefaultMediaTypeHandler.importResource(java.lang.String path, java.lang.String sourceURL, Resource metadata)
           
 java.lang.String SynapseRepositoryMediaTypeHandler.importResource(java.lang.String path, java.lang.String sourceURL, Resource metadata)
           
 boolean XSDMediaTypeHandler.put(java.lang.String path, ResourceImpl resource)
           
 boolean WSDLMediaTypeHandler.put(java.lang.String path, ResourceImpl resource)
           
 boolean Axis2RepositoryMediaTypeHandler.put(java.lang.String path, ResourceImpl resource)
           
 boolean SQLQueryMediaTypeHandler.put(java.lang.String path, ResourceImpl resource)
           
 boolean DefaultMediaTypeHandler.put(java.lang.String path, ResourceImpl resource)
           
 boolean SynapseRepositoryMediaTypeHandler.put(java.lang.String path, ResourceImpl resource)
           
 boolean XSDMediaTypeHandler.putChild(java.lang.String childPath, Resource resource)
           
 boolean WSDLMediaTypeHandler.putChild(java.lang.String childPath, Resource resource)
           
 boolean Axis2RepositoryMediaTypeHandler.putChild(java.lang.String childPath, Resource resource)
           
 boolean SQLQueryMediaTypeHandler.putChild(java.lang.String childPath, Resource resource)
           
 boolean DefaultMediaTypeHandler.putChild(java.lang.String childPath, Resource resource)
           
 boolean SynapseRepositoryMediaTypeHandler.putChild(java.lang.String childPath, Resource resource)
           
 

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

Methods in org.wso2.registry.jdbc.mediatypes.utils that throw RegistryException
 void WSDLFileProcessor.calculateWSDLNamesAndChangeTypes(javax.wsdl.Definition wsdlDefinition, java.util.Map processedWSDLMap, java.util.Map processedScheamMap, java.util.Set visitedWSDLs, java.lang.String registryBasePath, boolean processImports)
          saves the given wsdl definition file with its imported wsdls and imported and included schemas.
 java.lang.String SchemaFileProcessor.saveSchemaFileToRegistry(java.lang.String location, java.util.Map processedSchemaMap, java.lang.String registryBasePath, boolean processIncludes, Resource metadata)
          Import a schema file to the registry after saving all its includes and imports to the registry and updating the schema locations accordingly.
 java.lang.String SchemaFileProcessor.saveSchemaFileToRegistry(java.lang.String location, java.lang.String registryBasePath, boolean processIncludes, Resource metadata)
          Import a schema file to the registry after saving all its includes and imports to the registry and updating the schema locations accordingly.
 void SchemaFileProcessor.saveSchemaFileToRegistry(org.apache.ws.commons.schema.XmlSchema xmlSchema, java.util.Map processedSchemaMap, java.util.Map changeSchemaNames, java.util.Set visitedSchemas, boolean isWSDLInlineSchema, java.lang.String registryBasePath, boolean processIncludes, Resource metadata)
          Save the schemas to the registry.
 void WSDLFileProcessor.saveWSDLFileToRegistry(javax.wsdl.Definition wsdlDefinition, java.util.Map processedWSDLMap, java.util.Set visitedWSDLs, java.lang.String registryBasePath, boolean processImports, Resource metadata)
           
 java.lang.String WSDLFileProcessor.saveWSDLFileToRegistry(java.lang.String location, java.lang.String registryBasePath, boolean processImports, Resource metadata)
          saves a wsdl file including its imports and imported schemas.
 

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

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

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

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

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

Constructors in org.wso2.registry.jdbc.realm that throw RegistryException
InMemoryRegistryRealm()
           
RegistryRealm()
           
RegistryRealm(javax.sql.DataSource dataSource)
           
 

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

Methods in org.wso2.registry.jdbc.urlhandlers that throw RegistryException
 boolean URLHandlerManager.delete(java.lang.String path)
           
 boolean CommentURLHandler.delete(java.lang.String path)
           
 boolean URLHandler.delete(java.lang.String path)
          Determine if delete(...) on the given url can be handled.
 ResourceImpl RatingURLHandler.get(java.lang.String url)
           
 ResourceImpl RatingsCollectionURLHandler.get(java.lang.String url)
           
 ResourceImpl TagURLHandler.get(java.lang.String url)
          Accepts the URLs in the form ;tags::
 ResourceImpl URLHandlerManager.get(java.lang.String url)
           
 ResourceImpl CommentURLHandler.get(java.lang.String url)
          Accepts URL in the form ;comments:
 ResourceImpl URLHandler.get(java.lang.String url)
          Determine if get(...) on the given url can be handled.
 ResourceImpl CommentCollectionURLHandler.get(java.lang.String url)
           
 java.lang.String URLHandlerManager.put(java.lang.String suggestPath, Resource resource)
           
 java.lang.String URLHandler.put(java.lang.String suggestPath, Resource resource)
          Determine if put(...) on the given url can be handled.
 

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

Uses of RegistryException in org.wso2.registry.lifecycle
 

Methods in org.wso2.registry.lifecycle that throw RegistryException
 void DefaultLifecycle.associate(Resource resource, Registry registry)
           
abstract  void Lifecycle.associate(Resource resource, Registry registry)
          Associate a new Resource with this lifecycle.
 void DefaultLifecycle.transition(RequestContext context, java.lang.String action)
          Do something (change state) - action names are lifecycle-specific, and it's up to the implementation to decide if a given transition is allowed, and what to do if so.
abstract  void Lifecycle.transition(RequestContext context, java.lang.String action)
          Do something (change state) - action names are lifecycle-specific, and it's up to the implementation to decide if a given transition is allowed, and what to do if so.
 

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
 java.lang.String SecureRegistry.addComment(java.lang.String resourcePath, Comment comment)
           
 void SecureRegistry.addDependencies(java.lang.String dependentPath, java.lang.String[] dependencyPaths)
          Checks if the current user has PUT permission for the dependentPath.
 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 SecureRegistry.applyTag(java.lang.String resourcePath, java.lang.String tag)
           
 void SecureRegistry.associateLifeCycle(java.lang.String resourcePath, java.lang.String lifecycle)
           
 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 SecureRegistry.delete(java.lang.String path)
           
 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)
           
 void SecureRegistry.editComment(java.lang.String commentPath, java.lang.String text)
           
 Collection SecureRegistry.executeQuery(java.lang.String path, java.util.Map parameters)
           
 Resource SecureRegistry.get(java.lang.String path)
           
 DependencyChain[] SecureRegistry.getAllDependencies(java.lang.String resourcePath)
           
 DependentChain[] SecureRegistry.getAllDependents(java.lang.String resourcePath)
           
 java.lang.String[] RegistryUserManager.getAllRoles()
           
 java.lang.String[] RegistryUserManager.getAllUsers()
           
 float SecureRegistry.getAverageRating(java.lang.String resourcePath)
           
 Comment[] SecureRegistry.getComments(java.lang.String resourcePath)
           
 java.lang.String[] SecureRegistry.getLifecycleActions(java.lang.String resourcePath, java.lang.String lifecycleName)
           
 LogEntry[] SecureRegistry.getLogs(java.lang.String resourcePath, int action, java.lang.String userName, java.util.Date from, java.util.Date to, boolean recentFirst)
           
 int SecureRegistry.getRating(java.lang.String resourcePath, java.lang.String userName)
           
 TaggedResourcePath[] SecureRegistry.getResourcePathsWithTag(java.lang.String tag)
           
 Tag[] SecureRegistry.getTags(java.lang.String resourcePath)
           
 java.util.Map RegistryUserManager.getUserProperties(java.lang.String userName)
           
 java.lang.String RegistryUserManager.getUserProperty(java.lang.String userName, java.lang.String propName)
           
 java.lang.String[] SecureRegistry.getVersions(java.lang.String resourcePath)
           
 java.lang.String SecureRegistry.importResource(java.lang.String suggestedPath, java.lang.String sourceURL, Resource metadata)
           
 boolean RegistryUserManager.isUserAuthorized(java.lang.String userName, java.lang.String resourcePath, java.lang.String action)
           
 void SecureRegistry.lifeCycleTransition(java.lang.String resourcePath, java.lang.String lifecycleName, java.lang.String action)
           
 Collection SecureRegistry.newCollection()
           
 Resource SecureRegistry.newResource()
           
 java.lang.String SecureRegistry.put(java.lang.String suggestedPath, Resource resource)
          Checks if the user has "PUT" permissions to the existing ascendent path of the given path.
 void SecureRegistry.rateResource(java.lang.String resourcePath, int rating)
           
 void RegistryUserManager.removeRole(java.lang.String roleName)
           
 void SecureRegistry.removeTag(java.lang.String resourcePath, java.lang.String tag)
           
 void RegistryUserManager.removeUser(java.lang.String userName)
           
 void RegistryUserManager.removeUserFromRole(java.lang.String userName, java.lang.String roleName)
           
 java.lang.String SecureRegistry.rename(java.lang.String currentPath, java.lang.String newPath)
           
 boolean SecureRegistry.resourceExists(java.lang.String resourcePath)
           
 void SecureRegistry.restoreVersion(java.lang.String versionPath)
           
 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)
           
SecureRegistry(java.lang.String userID, Registry registry, UserRealm defaultRealm)
          Non-authenticating constructor.
SecureRegistry(java.lang.String userID, java.lang.String password, Registry registry, UserRealm defaultRealm)
           
 

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 SecureRegistry 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 SecureRegistry 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.utils
 

Methods in org.wso2.registry.utils that throw RegistryException
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 AuthorizationUtil.setDefaultAuthorizations(UserRealm realm, java.lang.String path, java.lang.String authorUserName)
           
 



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