|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CollectionStrategy
| Method Summary | |
|---|---|
void |
deleteCollection(long collectionId,
AuthenticatedUser user)
Removes the collection, identified by the specified identifier, from the Repository. |
DocumentCollectionImpl |
loadCollection(long collectionId,
AuthenticatedUser user)
Loads a DocumentCollection for a specified documentcollectionid. |
DocumentCollectionImpl |
loadCollectionByName(java.lang.String name,
AuthenticatedUser user)
|
java.util.Collection |
loadCollections(AuthenticatedUser user)
Loads all the available collections in the repository. |
void |
store(DocumentCollectionImpl collection)
Stores a collection. |
| Method Detail |
|---|
void store(DocumentCollectionImpl collection)
throws org.outerj.daisy.repository.RepositoryException
collection - the collection to store
org.outerj.daisy.repository.RepositoryException
DocumentCollectionImpl loadCollection(long collectionId,
AuthenticatedUser user)
throws org.outerj.daisy.repository.RepositoryException
collectionId - user -
org.outerj.daisy.repository.RepositoryException
DocumentCollectionImpl loadCollectionByName(java.lang.String name,
AuthenticatedUser user)
throws org.outerj.daisy.repository.RepositoryException
org.outerj.daisy.repository.RepositoryException
java.util.Collection loadCollections(AuthenticatedUser user)
throws org.outerj.daisy.repository.RepositoryException
user - the user requesting the DocumentCollections
org.outerj.daisy.repository.RepositoryException
void deleteCollection(long collectionId,
AuthenticatedUser user)
throws org.outerj.daisy.repository.RepositoryException
collectionId - the collection id of the collection to removeuser - the user who wants to delete the collection
org.outerj.daisy.repository.RepositoryException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||