org.outerj.daisy.repository.serverimpl
Class LocalCollectionStrategy
java.lang.Object
org.outerj.daisy.repository.serverimpl.AbstractLocalStrategy
org.outerj.daisy.repository.serverimpl.LocalCollectionStrategy
- All Implemented Interfaces:
- org.outerj.daisy.repository.commonimpl.CollectionStrategy
public class LocalCollectionStrategy
- extends AbstractLocalStrategy
- implements org.outerj.daisy.repository.commonimpl.CollectionStrategy
Method Summary |
void |
deleteCollection(long collectionId,
org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
|
org.outerj.daisy.repository.commonimpl.DocumentCollectionImpl |
loadCollection(long collectionId,
org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
|
org.outerj.daisy.repository.commonimpl.DocumentCollectionImpl |
loadCollectionByName(java.lang.String name,
org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
|
java.util.Collection |
loadCollections(org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
|
void |
store(org.outerj.daisy.repository.commonimpl.DocumentCollectionImpl collection)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocalCollectionStrategy
public LocalCollectionStrategy(LocalRepositoryManager.Context context,
org.outerj.daisy.repository.commonimpl.AuthenticatedUser systemUser,
org.outerj.daisy.jdbcutil.JdbcHelper jdbcHelper)
store
public void store(org.outerj.daisy.repository.commonimpl.DocumentCollectionImpl collection)
throws org.outerj.daisy.repository.RepositoryException
- Specified by:
store
in interface org.outerj.daisy.repository.commonimpl.CollectionStrategy
- Throws:
org.outerj.daisy.repository.RepositoryException
loadCollection
public org.outerj.daisy.repository.commonimpl.DocumentCollectionImpl loadCollection(long collectionId,
org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
throws org.outerj.daisy.repository.RepositoryException
- Specified by:
loadCollection
in interface org.outerj.daisy.repository.commonimpl.CollectionStrategy
- Throws:
org.outerj.daisy.repository.RepositoryException
loadCollectionByName
public org.outerj.daisy.repository.commonimpl.DocumentCollectionImpl loadCollectionByName(java.lang.String name,
org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
throws org.outerj.daisy.repository.RepositoryException
- Specified by:
loadCollectionByName
in interface org.outerj.daisy.repository.commonimpl.CollectionStrategy
- Throws:
org.outerj.daisy.repository.RepositoryException
loadCollections
public java.util.Collection loadCollections(org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
throws org.outerj.daisy.repository.RepositoryException
- Specified by:
loadCollections
in interface org.outerj.daisy.repository.commonimpl.CollectionStrategy
- Throws:
org.outerj.daisy.repository.RepositoryException
deleteCollection
public void deleteCollection(long collectionId,
org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
throws org.outerj.daisy.repository.RepositoryException
- Specified by:
deleteCollection
in interface org.outerj.daisy.repository.commonimpl.CollectionStrategy
- Throws:
org.outerj.daisy.repository.RepositoryException
Copyright © -2012 . All Rights Reserved.