org.apache.jackrabbit.spi.commons
Class AbstractRepositoryService

java.lang.Object
  extended by org.apache.jackrabbit.spi.commons.AbstractRepositoryService
All Implemented Interfaces:
RepositoryService
Direct Known Subclasses:
AbstractReadableRepositoryService

public abstract class AbstractRepositoryService
extends Object
implements RepositoryService

AbstractRepositoryService provides an abstract base class for repository service implementations. This class provides default implementations for the following methods:


Constructor Summary
AbstractRepositoryService()
           
 
Method Summary
 IdFactory getIdFactory()
          Return the IdFactory.
 NameFactory getNameFactory()
          Return the NameFactory.
 PathFactory getPathFactory()
          Return the PathFactory.
 QValueFactory getQValueFactory()
          Return the QValueFactory defined with this SPI implementation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.jackrabbit.spi.RepositoryService
addVersionLabel, checkin, checkout, checkQueryStatement, clone, copy, createBatch, createEventFilter, createSubscription, dispose, dispose, executeQuery, getChildInfos, getEvents, getItemInfos, getLockInfo, getNamespacePrefix, getNamespaceURI, getNodeDefinition, getNodeInfo, getPropertyDefinition, getPropertyInfo, getQNodeTypeDefinitions, getQNodeTypeDefinitions, getRegisteredNamespaces, getRepositoryDescriptors, getSupportedQueryLanguages, getWorkspaceNames, impersonate, importXml, isGranted, lock, lock, merge, move, obtain, obtain, refreshLock, registerNamespace, removeVersion, removeVersionLabel, resolveMergeConflict, restore, restore, submit, unlock, unregisterNamespace, update, updateEventFilters
 

Constructor Detail

AbstractRepositoryService

public AbstractRepositoryService()
Method Detail

getIdFactory

public IdFactory getIdFactory()
                       throws RepositoryException
Description copied from interface: RepositoryService
Return the IdFactory.

Specified by:
getIdFactory in interface RepositoryService
Returns:
IdFactoryImpl.getInstance().
Throws:
RepositoryException - if an error occurs.

getNameFactory

public NameFactory getNameFactory()
                           throws RepositoryException
Description copied from interface: RepositoryService
Return the NameFactory.

Specified by:
getNameFactory in interface RepositoryService
Returns:
NameFactoryImpl.getInstance().
Throws:
RepositoryException - if an error occurs.

getPathFactory

public PathFactory getPathFactory()
                           throws RepositoryException
Description copied from interface: RepositoryService
Return the PathFactory.

Specified by:
getPathFactory in interface RepositoryService
Returns:
PathFactoryImpl.getInstance().
Throws:
RepositoryException - if an error occurs.

getQValueFactory

public QValueFactory getQValueFactory()
                               throws RepositoryException
Description copied from interface: RepositoryService
Return the QValueFactory defined with this SPI implementation.

Specified by:
getQValueFactory in interface RepositoryService
Returns:
QValueFactoryImpl.getInstance().
Throws:
RepositoryException - if an error occurs.


Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.