| org.sakaiproject.content.impl.BaseContentHostingHandlerResolver
All known Subclasses: org.sakaiproject.content.impl.ContentHostingHandlerResolverImpl,
BaseContentHostingHandlerResolver | public interface BaseContentHostingHandlerResolver extends ContentHostingHandlerResolver(Code) | |
The ContentHostingHandlerResolver performs operations on the ContentHostingService storage area to resolve operations in the storage area to the correct location. This can either be the default storage implementation or the ContentHostingHandler
associated with nodes in the path to the ContentEntity in question. i.e. traditional ContentHosting resources are dealt with as they always have been, storage commands applied to virtual entities are passed to the ContentHostingHandler which represents
them in CHH (johnf@caret.cam.ac.uk)
Implementors should be aware that there may be heavy access to this component on a per- request basis, so they might want to consider a caching mechanism if the resolution of ContentEntities is expensive.
author: ieb |
Method Summary | |
void | cancelCollection(Storage storage, ContentCollectionEdit edit) | void | cancelResource(Storage storage, ContentResourceEdit edit) | boolean | checkCollection(Storage storage, String id) | boolean | checkResource(Storage storage, String id) | void | commitCollection(Storage storage, ContentCollectionEdit edit) | void | commitDeleteResource(Storage storage, ContentResourceEdit edit, String uuid) | void | commitResource(Storage storage, ContentResourceEdit edit) | ContentCollectionEdit | editCollection(Storage storage, String id) | ContentResourceEdit | editResource(Storage storage, String id) | ContentCollection | getCollection(Storage storage, String id) | List | getCollections(Storage storage, ContentCollection collection) | List | getFlatResources(Storage storage, String collectionId) | int | getMemberCount(Storage storage, String collectionId) | ContentResource | getResource(Storage storage, String id) | byte[] | getResourceBody(Storage storage, ContentResource resource) | List | getResources(Storage storage, ContentCollection collection) | ContentCollectionEdit | putCollection(Storage storage, String id) | ContentResourceEdit | putDeleteResource(Storage storage, String id, String uuid, String userId) | ContentResourceEdit | putResource(Storage storage, String id) | void | removeCollection(Storage storage, ContentCollectionEdit edit) | void | removeResource(Storage storage, ContentResourceEdit edit) | void | setCollectionUser(StorageUser csu) | void | setResourceUser(StorageUser rsu) | InputStream | streamResourceBody(Storage storage, ContentResource resource) |
checkCollection | boolean checkCollection(Storage storage, String id)(Code) | | Parameters: storage - Parameters: id - |
checkResource | boolean checkResource(Storage storage, String id)(Code) | | Parameters: storage - Parameters: id - |
commitDeleteResource | void commitDeleteResource(Storage storage, ContentResourceEdit edit, String uuid)(Code) | | Parameters: storage - Parameters: edit - Parameters: uuid - |
getFlatResources | List getFlatResources(Storage storage, String collectionId)(Code) | | Parameters: storage - Parameters: collectionId - |
getMemberCount | int getMemberCount(Storage storage, String collectionId)(Code) | | |
|
|