org.apache.jackrabbit.base
Class BaseRepository

java.lang.Object
  extended byorg.apache.jackrabbit.base.BaseRepository
All Implemented Interfaces:
Repository

public class BaseRepository
extends Object
implements Repository

Repository base class.


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
protected BaseRepository()
          Protected constructor.
 
Method Summary
 String getDescriptor(String key)
          Not implemented.
 String[] getDescriptorKeys()
          Not implemented.
 Session login()
          Implemented by calling login(null, null) as suggested by the JCR specification.
 Session login(Credentials credentials)
          Implemented by calling login(credentials, null) as suggested by the JCR specification.
 Session login(Credentials credentials, String workspaceName)
          Not implemented.
 Session login(String workspaceName)
          Implemented by calling login(null, workspaceName) as suggested by the JCR specification.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseRepository

protected BaseRepository()
Protected constructor. This class is only useful when extended.

Method Detail

getDescriptorKeys

public String[] getDescriptorKeys()
Not implemented.

Specified by:
getDescriptorKeys in interface Repository

getDescriptor

public String getDescriptor(String key)
Not implemented.

Specified by:
getDescriptor in interface Repository

login

public Session login(Credentials credentials,
                     String workspaceName)
              throws LoginException,
                     NoSuchWorkspaceException,
                     RepositoryException
Not implemented.

Specified by:
login in interface Repository
Throws:
LoginException
NoSuchWorkspaceException
RepositoryException

login

public Session login(Credentials credentials)
              throws LoginException,
                     NoSuchWorkspaceException,
                     RepositoryException
Implemented by calling login(credentials, null) as suggested by the JCR specification.

Specified by:
login in interface Repository
Throws:
LoginException
NoSuchWorkspaceException
RepositoryException

login

public Session login(String workspaceName)
              throws LoginException,
                     NoSuchWorkspaceException,
                     RepositoryException
Implemented by calling login(null, workspaceName) as suggested by the JCR specification.

Specified by:
login in interface Repository
Throws:
LoginException
NoSuchWorkspaceException
RepositoryException

login

public Session login()
              throws LoginException,
                     NoSuchWorkspaceException,
                     RepositoryException
Implemented by calling login(null, null) as suggested by the JCR specification.

Specified by:
login in interface Repository
Throws:
LoginException
NoSuchWorkspaceException
RepositoryException


Copyright © 2004-2005 . All Rights Reserved.