| org.sakaiproject.content.api.ContentHostingHandler
ContentHostingHandler | public interface ContentHostingHandler (Code) | | author: ieb |
cancel | void cancel(ContentCollectionEdit edit)(Code) | | Cancel an edit to a collection, if this needs to be done in the impl.
Parameters: edit - |
cancel | void cancel(ContentResourceEdit edit)(Code) | | cancel an edit to a resource ( if this needs to be done )
Parameters: edit - |
getCollections | List getCollections(ContentCollection collection)(Code) | | get a list of collections contained within the supplied collection
Parameters: collection - |
getContentCollectionEdit | ContentCollectionEdit getContentCollectionEdit(String id)(Code) | | get a ContentCollectionEdit for the ID, creating it if necessary, this should not persist until commit is invoked
Parameters: id - |
getContentResourceEdit | ContentResourceEdit getContentResourceEdit(String id)(Code) | | get a content resource edit for the supplied ID, creating it if necesary. This sould not persist until commit is invoked
Parameters: id - |
getFlatResources | List getFlatResources(ContentEntity ce)(Code) | | get a list of string ids of all resources below this point
Parameters: ce - |
getMemberCount | int getMemberCount(ContentEntity ce)(Code) | | get the number of members
Parameters: ce - |
getResources | List getResources(ContentCollection collection)(Code) | | get a list of resource ids as strings within the collection
Parameters: collection - |
getVirtualContentEntity | ContentEntity getVirtualContentEntity(ContentEntity edit, String finalId)(Code) | | Convert the passed-in ContentEntity into a virtual Content Entity. The implementation should check that the passed in entity is managed by this content handler before performing the translation. Additionally it must register the content handler
with the newly proxied ContentEntity so that subsequent invocations are routed back to the correct ContentHostingHandler implementation
Parameters: edit - |
putDeleteResource | ContentResourceEdit putDeleteResource(String id, String uuid, String userId)(Code) | | perform a wastebasket operation on the names id, if the implementation supports the operation otherwise its safe to ignore.
Parameters: id - Parameters: uuid - Parameters: userId - |
|
|