public abstract class Registry extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Registry.RegistryNode
Internal Node wrapper which ensures the node of "exo:registry" type inside
|
| Constructor and Description |
|---|
Registry() |
| Modifier and Type | Method and Description |
|---|---|
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)
|
public abstract Registry.RegistryNode getRegistry(SessionProvider sessionProvider) throws org.exoplatform.services.jcr.config.RepositoryConfigurationException, javax.jcr.RepositoryException
sessionProvider - javax.jcr.RepositoryExceptionorg.exoplatform.services.jcr.config.RepositoryConfigurationExceptionpublic abstract RegistryEntry getEntry(SessionProvider sessionProvider, String entryPath) throws javax.jcr.PathNotFoundException, javax.jcr.RepositoryException
sessionProvider - entryPath - javax.jcr.PathNotFoundException - if entry not foundjavax.jcr.RepositoryExceptionpublic 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.RepositoryExceptionpublic 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.RepositoryExceptionpublic abstract void removeEntry(SessionProvider sessionProvider, String entryPath) throws javax.jcr.RepositoryException
sessionProvider - entryPath - related path (w/o leading slash) to entryjavax.jcr.RepositoryExceptionCopyright © 2003–2021 eXo Platform SAS. All rights reserved.