|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.jcr.repository.RepositoryImpl
public class RepositoryImpl
Alfresco implementation of a JCR Repository
| Field Summary |
|---|
| Fields inherited from interface 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 Summary | |
|---|---|
RepositoryImpl()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RepositoryImpl()
| Method Detail |
|---|
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.Repository
public 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.LoginException
javax.jcr.NoSuchWorkspaceException
javax.jcr.RepositoryException
public javax.jcr.Session login(javax.jcr.Credentials credentials)
throws javax.jcr.LoginException,
javax.jcr.RepositoryException
login in interface javax.jcr.Repositoryjavax.jcr.LoginException
javax.jcr.RepositoryException
public 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.LoginException
javax.jcr.NoSuchWorkspaceException
javax.jcr.RepositoryException
public javax.jcr.Session login()
throws javax.jcr.LoginException,
javax.jcr.RepositoryException
login in interface javax.jcr.Repositoryjavax.jcr.LoginException
javax.jcr.RepositoryExceptionpublic void deregisterSession()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||