|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.rmi.client.ClientRepository
public class ClientRepository
Local adapter for the JCR-RMI
RemoteRepository
interface. This class makes a remote repository locally available using
the JCR Repository interface.
Repository,
RemoteRepository| Field Summary |
|---|
| Constructor Summary | |
|---|---|
ClientRepository(RemoteRepository remote,
LocalAdapterFactory factory)
Creates a client adapter for the given remote repository. |
|
| Method Summary | |
|---|---|
String |
getDescriptor(String name)
|
String[] |
getDescriptorKeys()
|
Value |
getDescriptorValue(String key)
|
Value[] |
getDescriptorValues(String key)
|
boolean |
isSingleValueDescriptor(String key)
|
boolean |
isStandardDescriptor(String key)
Returns true if the given key identifies a standard descriptor. |
Session |
login()
Calls Repository.login(Credentials, String) with
null arguments. |
Session |
login(Credentials credentials)
Calls Repository.login(Credentials, String) with
the given credentials and a null workspace name. |
Session |
login(Credentials credentials,
String workspace)
|
Session |
login(String workspace)
Calls Repository.login(Credentials, String) with
null credentials and the given workspace name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClientRepository(RemoteRepository remote,
LocalAdapterFactory factory)
remote - remote repositoryfactory - local adapter factory| Method Detail |
|---|
public String getDescriptor(String name)
getDescriptor in interface Repositorypublic Value getDescriptorValue(String key)
getDescriptorValue in interface Repositorypublic Value[] getDescriptorValues(String key)
getDescriptorValues in interface Repositorypublic String[] getDescriptorKeys()
getDescriptorKeys in interface Repositorypublic boolean isSingleValueDescriptor(String key)
isSingleValueDescriptor in interface Repository
public Session login(Credentials credentials,
String workspace)
throws RepositoryException
login in interface RepositoryRepositoryExceptionpublic boolean isStandardDescriptor(String key)
isStandardDescriptor in interface Repositorykey - descriptor key
true if the key identifies a standard descriptor,
false otherwise
public Session login()
throws RepositoryException
Repository.login(Credentials, String) with
null arguments.
login in interface RepositoryRepositoryException - if an error occurs
public Session login(Credentials credentials)
throws RepositoryException
Repository.login(Credentials, String) with
the given credentials and a null workspace name.
login in interface Repositorycredentials - login credentials
RepositoryException - if an error occurs
public Session login(String workspace)
throws RepositoryException
Repository.login(Credentials, String) with
null credentials and the given workspace name.
login in interface Repositoryworkspace - workspace name
RepositoryException - if an error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||