Package com.day.cq.workflow.collection
Interface ResourceCollectionManager
public interface ResourceCollectionManager
The
ResourceCollectionManager can read, list all available
resource collections respectovely manage the resource collections...-
Method Summary
Modifier and TypeMethodDescriptioncreateCollection(Node node) Creates aResourceCollectionobject from the given node if possible.getCollections(Session session) Lists all availableResourceCollections which are accessible be the givenSession
-
Method Details
-
createCollection
Creates aResourceCollectionobject from the given node if possible.- Parameters:
node- node to createResourceCollectionobject- Returns:
ResourceCollectionornullif the node can not be turned into such an object.
-
getCollections
Lists all availableResourceCollections which are accessible be the givenSession- Parameters:
session- user session- Returns:
- all available
ResourceCollections
-