org.outerj.daisy.repository.clientimpl
Class RemoteCollectionStrategy
java.lang.Object
org.outerj.daisy.repository.clientimpl.infrastructure.AbstractRemoteStrategy
org.outerj.daisy.repository.clientimpl.RemoteCollectionStrategy
- All Implemented Interfaces:
- org.outerj.daisy.repository.commonimpl.CollectionStrategy
public class RemoteCollectionStrategy
- extends AbstractRemoteStrategy
- 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 |
RemoteCollectionStrategy
public RemoteCollectionStrategy(RemoteRepositoryManager.Context context)
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.