org.exoplatform.services.jcr.rmi.api.remote.core
Interface RemoteManageableRepository

All Superinterfaces:
java.rmi.Remote, RemoteRepository

public interface RemoteManageableRepository
extends java.rmi.Remote, RemoteRepository

Remote version of the JCR interface.


Method Summary
 RepositoryEntry getConfiguration()
           
 javax.jcr.NamespaceRegistry getNamespaceRegistry()
           
 ExtendedNodeTypeManager getNodeTypeManager()
           
 javax.jcr.Session getSystemSession(java.lang.String workspaceName)
           
 java.lang.String[] getWorkspaceNames()
           
 void initWorkspace(java.lang.String workspaceName, java.lang.String rootNodeType)
          Initializes workspace
 boolean isWorkspaceInitialized(java.lang.String workspaceName)
           
 
Methods inherited from interface org.exoplatform.services.jcr.rmi.api.remote.RemoteRepository
getDescriptor, getDescriptorKeys, login, login, login, login
 

Method Detail

initWorkspace

void initWorkspace(java.lang.String workspaceName,
                   java.lang.String rootNodeType)
                   throws javax.jcr.RepositoryException
Initializes workspace

Parameters:
workspaceName -
rootNodeType -
Throws:
javax.jcr.RepositoryException

isWorkspaceInitialized

boolean isWorkspaceInitialized(java.lang.String workspaceName)
                               throws javax.jcr.RepositoryException
Parameters:
workspaceName -
Returns:
true if workspace is initialized and false otherwice
Throws:
javax.jcr.RepositoryException

getSystemSession

javax.jcr.Session getSystemSession(java.lang.String workspaceName)
                                   throws javax.jcr.RepositoryException
Parameters:
workspaceName -
Returns:
the System session (session with SYSTEM identity)
Throws:
javax.jcr.RepositoryException

getWorkspaceNames

java.lang.String[] getWorkspaceNames()
                                     throws java.rmi.RemoteException
Returns:
array of workspace names
Throws:
java.rmi.RemoteException

getNodeTypeManager

ExtendedNodeTypeManager getNodeTypeManager()
                                           throws java.rmi.RemoteException
Returns:
the node type manager
Throws:
java.rmi.RemoteException

getNamespaceRegistry

javax.jcr.NamespaceRegistry getNamespaceRegistry()
                                                 throws java.rmi.RemoteException
Returns:
the namespace registry
Throws:
java.rmi.RemoteException

getConfiguration

RepositoryEntry getConfiguration()
                                 throws java.rmi.RemoteException
Returns:
the configuration of this repository
Throws:
java.rmi.RemoteException


Copyright © 2012 eXo Platform SAS. All Rights Reserved.