Package com.day.cq.workflow.collection
Interface ResourceCollectionManager
-
public interface ResourceCollectionManager
TheResourceCollectionManager
can read, list all available resource collections respectovely manage the resource collections...
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResourceCollection
createCollection(Node node)
Creates aResourceCollection
object from the given node if possible.java.util.List<ResourceCollection>
getCollections(Session session)
Lists all availableResourceCollection
s which are accessible be the givenSession
-
-
-
Method Detail
-
createCollection
ResourceCollection createCollection(Node node)
Creates aResourceCollection
object from the given node if possible.- Parameters:
node
- node to createResourceCollection
object- Returns:
ResourceCollection
ornull
if the node can not be turned into such an object.
-
getCollections
java.util.List<ResourceCollection> getCollections(Session session)
Lists all availableResourceCollection
s which are accessible be the givenSession
- Parameters:
session
- user session- Returns:
- all available
ResourceCollection
s
-
-