|
eXo JCR :: Component :: Extension Service 1.16.0-CR2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.services.jcr.ext.registry.Registry
public abstract class Registry
Created by The eXo Platform SAS
JCR based Services Registry abstraction. As interchange object all the methods use Nodes'
wrappers to not to let using an arbitrary Type of Node. There is 2 phase modification of
RegistryEntry (1) get or create RegistryEntry retrieves or creates new object in memory and (2)
register/unregister stores the object permanently
| Nested Class Summary | |
|---|---|
class |
Registry.RegistryNode
Internal Node wrapper which ensures the node of "exo:registry" type inside |
| Constructor Summary | |
|---|---|
Registry()
|
|
| Method Summary | |
|---|---|
abstract void |
createEntry(SessionProvider sessionProvider,
String groupPath,
RegistryEntry entry)
Creates an entry in the group. |
abstract RegistryEntry |
getEntry(SessionProvider sessionProvider,
String entryPath)
Returns the corresponding registry entry which wraps a node of type "exo:registryEntry" |
abstract Registry.RegistryNode |
getRegistry(SessionProvider sessionProvider)
Returns the registry node which wraps a node of type "exo:registry" (the whole registry tree) |
abstract void |
recreateEntry(SessionProvider sessionProvider,
String groupPath,
RegistryEntry entry)
Updates an entry in the group |
abstract void |
removeEntry(SessionProvider sessionProvider,
String entryPath)
Removes the entry at the given absolute path (concatenation of group path / entry name) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Registry()
| Method Detail |
|---|
public abstract Registry.RegistryNode getRegistry(SessionProvider sessionProvider)
throws RepositoryConfigurationException,
javax.jcr.RepositoryException
sessionProvider -
javax.jcr.RepositoryException
RepositoryConfigurationException
public abstract RegistryEntry getEntry(SessionProvider sessionProvider,
String entryPath)
throws javax.jcr.PathNotFoundException,
javax.jcr.RepositoryException
sessionProvider - entryPath -
javax.jcr.PathNotFoundException - if entry not found
javax.jcr.RepositoryException
public abstract void createEntry(SessionProvider sessionProvider,
String groupPath,
RegistryEntry entry)
throws javax.jcr.RepositoryException
sessionProvider - groupPath - related path (w/o leading slash) to groupentry -
javax.jcr.RepositoryException
public abstract void recreateEntry(SessionProvider sessionProvider,
String groupPath,
RegistryEntry entry)
throws javax.jcr.RepositoryException
sessionProvider - groupPath - related path (w/o leading slash) to groupentry -
javax.jcr.RepositoryException
public abstract void removeEntry(SessionProvider sessionProvider,
String entryPath)
throws javax.jcr.RepositoryException
sessionProvider - entryPath - related path (w/o leading slash) to entry
javax.jcr.RepositoryException
|
eXo JCR :: Component :: Extension Service 1.16.0-CR2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||