| java.lang.Object com.caucho.jcr.base.BaseRepository
All known Subclasses: com.caucho.jcr.file.FileRepository,
BaseRepository | public class BaseRepository implements Repository(Code) | | Abstract interface for a content repository. The Repository
object will generally live in JNDI in java:comp/env/jcr/*
|
Method Summary | |
public String | getDescriptor(String key) Returns the value for Repository feature descriptor keys. | public String[] | getDescriptorKeys() Returns the Repository's feature descriptor keys. | public Session | login(Credentials credentials, String workspaceName) Opens a new session, specifying the security credentials
and a workspace. | public Session | login(Credentials credentials) Opens a new session with the default workspace. | public Session | login(String workspaceName) Opens a new session with the default (anonymous) security
credentials. | public Session | login() Opens a new session with the default workspace and security credentials. |
getDescriptor | public String getDescriptor(String key)(Code) | | Returns the value for Repository feature descriptor keys.
|
getDescriptorKeys | public String[] getDescriptorKeys()(Code) | | Returns the Repository's feature descriptor keys.
|
login | public Session login(Credentials credentials, String workspaceName) throws LoginException, NoSuchWorkspaceException, RepositoryException(Code) | | Opens a new session, specifying the security credentials
and a workspace.
Parameters: credentials - the security credentials Parameters: workspaceName - select an optional workspace |
login | public Session login(Credentials credentials) throws LoginException, RepositoryException(Code) | | Opens a new session with the default workspace.
Parameters: credentials - security credentials |
login | public Session login(String workspaceName) throws LoginException, NoSuchWorkspaceException, RepositoryException(Code) | | Opens a new session with the default (anonymous) security
credentials.
Parameters: workspaceName - the name of the workspace to open. |
login | public Session login() throws LoginException, RepositoryException(Code) | | Opens a new session with the default workspace and security credentials.
|
|
|