org.exoplatform.services.jcr.ext.registry
Class RESTRegistryService

java.lang.Object
  extended by org.exoplatform.services.jcr.ext.registry.RESTRegistryService
All Implemented Interfaces:
org.exoplatform.services.rest.container.ResourceContainer

public class RESTRegistryService
extends java.lang.Object
implements org.exoplatform.services.rest.container.ResourceContainer

Version:
$Id: RESTRegistryService.java 35186 2009-08-07 14:23:43Z pnedonosko $
Author:
Andrey Parfonov

Constructor Summary
RESTRegistryService(RegistryService regService, ThreadLocalSessionProviderService sessionProviderService)
           
 
Method Summary
 org.exoplatform.services.rest.Response createEntry(RegistryEntry entry, java.lang.String repository, java.lang.String groupName, java.lang.String fullURI)
           
 org.exoplatform.services.rest.Response getEntry(java.lang.String repository, java.lang.String entryPath)
           
 org.exoplatform.services.rest.Response getRegistry(java.lang.String repository, java.lang.String fullURI)
           
 org.exoplatform.services.rest.Response recreateEntry(RegistryEntry entry, java.lang.String repository, java.lang.String groupName, java.lang.String fullURI)
           
 org.exoplatform.services.rest.Response removeEntry(java.lang.String repository, java.lang.String entryPath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RESTRegistryService

public RESTRegistryService(RegistryService regService,
                           ThreadLocalSessionProviderService sessionProviderService)
                    throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

getRegistry

public org.exoplatform.services.rest.Response getRegistry(java.lang.String repository,
                                                          java.lang.String fullURI)
                                                   throws javax.jcr.RepositoryException,
                                                          RepositoryConfigurationException,
                                                          javax.xml.parsers.ParserConfigurationException
Throws:
javax.jcr.RepositoryException
RepositoryConfigurationException
javax.xml.parsers.ParserConfigurationException

getEntry

public org.exoplatform.services.rest.Response getEntry(java.lang.String repository,
                                                       java.lang.String entryPath)
                                                throws javax.jcr.RepositoryException,
                                                       RepositoryConfigurationException
Throws:
javax.jcr.RepositoryException
RepositoryConfigurationException

createEntry

public org.exoplatform.services.rest.Response createEntry(RegistryEntry entry,
                                                          java.lang.String repository,
                                                          java.lang.String groupName,
                                                          java.lang.String fullURI)
                                                   throws RepositoryConfigurationException
Throws:
RepositoryConfigurationException

recreateEntry

public org.exoplatform.services.rest.Response recreateEntry(RegistryEntry entry,
                                                            java.lang.String repository,
                                                            java.lang.String groupName,
                                                            java.lang.String fullURI)
                                                     throws RepositoryConfigurationException
Throws:
RepositoryConfigurationException

removeEntry

public org.exoplatform.services.rest.Response removeEntry(java.lang.String repository,
                                                          java.lang.String entryPath)
                                                   throws javax.jcr.RepositoryException,
                                                          RepositoryConfigurationException
Throws:
javax.jcr.RepositoryException
RepositoryConfigurationException


Copyright © 2012 eXo Platform SAS. All Rights Reserved.