org.outerj.daisy.repository.clientimpl
Class RemoteCollectionStrategy

java.lang.Object
  extended byorg.outerj.daisy.repository.clientimpl.infrastructure.AbstractRemoteStrategy
      extended byorg.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


Field Summary
 
Fields inherited from class org.outerj.daisy.repository.clientimpl.infrastructure.AbstractRemoteStrategy
context
 
Constructor Summary
RemoteCollectionStrategy(RemoteRepositoryManager.Context context)
           
 
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 org.outerj.daisy.repository.clientimpl.infrastructure.AbstractRemoteStrategy
encodeNameForUseInPath, getBranchLangParams, getClient
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteCollectionStrategy

public RemoteCollectionStrategy(RemoteRepositoryManager.Context context)
Method Detail

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 © -2005 . All Rights Reserved.