public class RepositoryImpl
extends java.lang.Object
implements javax.jcr.Repository
LEVEL_1_SUPPORTED, LEVEL_2_SUPPORTED, OPTION_LOCKING_SUPPORTED, OPTION_OBSERVATION_SUPPORTED, OPTION_QUERY_SQL_SUPPORTED, OPTION_TRANSACTIONS_SUPPORTED, OPTION_VERSIONING_SUPPORTED, QUERY_XPATH_DOC_ORDER, QUERY_XPATH_POS_INDEX, REP_NAME_DESC, REP_VENDOR_DESC, REP_VENDOR_URL_DESC, REP_VERSION_DESC, SPEC_NAME_DESC, SPEC_VERSION_DESC| Constructor and Description |
|---|
RepositoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
deregisterSession()
De-register current active session
|
java.lang.String |
getDescriptor(java.lang.String key) |
java.lang.String[] |
getDescriptorKeys() |
ImporterComponent |
getImporterComponent()
Get the importer component
|
NamespaceRegistryImpl |
getNamespaceRegistry()
Get the Namespace Registry
|
ServiceRegistry |
getServiceRegistry()
Get the service registry
|
void |
init()
Initialisation
|
javax.jcr.Session |
login() |
javax.jcr.Session |
login(javax.jcr.Credentials credentials) |
javax.jcr.Session |
login(javax.jcr.Credentials credentials,
java.lang.String workspaceName) |
javax.jcr.Session |
login(java.lang.String workspaceName) |
void |
setDefaultWorkspace(java.lang.String defaultWorkspace)
Sets the Default Workspace
|
void |
setImporterComponent(ImporterComponent importerComponent)
Set the Importer Component
|
void |
setServiceRegistry(ServiceRegistry serviceRegistry)
Set the service registry
|
public void setServiceRegistry(ServiceRegistry serviceRegistry)
serviceRegistry - public void setImporterComponent(ImporterComponent importerComponent)
importerComponent - public void setDefaultWorkspace(java.lang.String defaultWorkspace)
defaultWorkspace - default workspacepublic void init()
public ServiceRegistry getServiceRegistry()
public ImporterComponent getImporterComponent()
public NamespaceRegistryImpl getNamespaceRegistry()
public java.lang.String[] getDescriptorKeys()
getDescriptorKeys in interface javax.jcr.Repositorypublic java.lang.String getDescriptor(java.lang.String key)
getDescriptor in interface javax.jcr.Repositorypublic javax.jcr.Session login(javax.jcr.Credentials credentials,
java.lang.String workspaceName)
throws javax.jcr.LoginException,
javax.jcr.NoSuchWorkspaceException,
javax.jcr.RepositoryException
login in interface javax.jcr.Repositoryjavax.jcr.LoginExceptionjavax.jcr.NoSuchWorkspaceExceptionjavax.jcr.RepositoryExceptionpublic javax.jcr.Session login(javax.jcr.Credentials credentials)
throws javax.jcr.LoginException,
javax.jcr.RepositoryException
login in interface javax.jcr.Repositoryjavax.jcr.LoginExceptionjavax.jcr.RepositoryExceptionpublic javax.jcr.Session login(java.lang.String workspaceName)
throws javax.jcr.LoginException,
javax.jcr.NoSuchWorkspaceException,
javax.jcr.RepositoryException
login in interface javax.jcr.Repositoryjavax.jcr.LoginExceptionjavax.jcr.NoSuchWorkspaceExceptionjavax.jcr.RepositoryExceptionpublic javax.jcr.Session login()
throws javax.jcr.LoginException,
javax.jcr.RepositoryException
login in interface javax.jcr.Repositoryjavax.jcr.LoginExceptionjavax.jcr.RepositoryExceptionpublic void deregisterSession()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.