org.outerj.daisy.repository.commonimpl
Class CommonCollectionManager
java.lang.Object
org.outerj.daisy.repository.commonimpl.CommonCollectionManager
public class CommonCollectionManager
- extends java.lang.Object
This class contains the same methods as the specific
CollectionManager implementations, but has extra
User arguments.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommonCollectionManager
public CommonCollectionManager(CollectionStrategy collectionStrategy,
CollectionCache cache)
- create a CommonCollectionManager with a
specified collectionStrategy.
getCacheListener
public org.outerj.daisy.repository.RepositoryListener getCacheListener()
getCache
public CollectionCache getCache()
createCollection
public org.outerj.daisy.repository.DocumentCollection createCollection(java.lang.String name,
AuthenticatedUser user)
throws org.outerj.daisy.repository.RepositoryException
- Throws:
org.outerj.daisy.repository.RepositoryException
getCollection
public DocumentCollectionImpl getCollection(long collectionId,
boolean updateable,
AuthenticatedUser user)
throws org.outerj.daisy.repository.RepositoryException
- Throws:
org.outerj.daisy.repository.RepositoryException
getCollectionByName
public DocumentCollectionImpl getCollectionByName(java.lang.String name,
boolean updateable,
AuthenticatedUser user)
throws org.outerj.daisy.repository.RepositoryException
- Throws:
org.outerj.daisy.repository.RepositoryException
getCollections
public org.outerj.daisy.repository.DocumentCollections getCollections(boolean updateable,
AuthenticatedUser user)
throws org.outerj.daisy.repository.RepositoryException
- Throws:
org.outerj.daisy.repository.RepositoryException
deleteCollection
public void deleteCollection(long collectionId,
AuthenticatedUser user)
throws org.outerj.daisy.repository.RepositoryException
- Throws:
org.outerj.daisy.repository.RepositoryException
Copyright © -2012 . All Rights Reserved.