public interface ResourceCollectionManager
ResourceCollectionManager
can read, list all available
resource collections respectovely manage the resource collections...Modifier and Type | Method and Description |
---|---|
ResourceCollection |
createCollection(Node node)
Creates a
ResourceCollection object
from the given node if possible. |
java.util.List<ResourceCollection> |
getCollections(Session session)
Lists all available
ResourceCollection s
which are accessible be the given Session |
java.util.List<ResourceCollection> |
getCollectionsForNode(Node node)
List all available
ResourceCollection s for the given javax.jcr.Node . |
ResourceCollection createCollection(Node node)
ResourceCollection
object
from the given node if possible.node
- node to create ResourceCollection
objectResourceCollection
or
null
if the node can not be turned into such an object.java.util.List<ResourceCollection> getCollections(Session session)
ResourceCollection
s
which are accessible be the given Session
session
- user sessionResourceCollection
sjava.util.List<ResourceCollection> getCollectionsForNode(Node node)
ResourceCollection
s for the given javax.jcr.Node
.
If the given node itself is a resource collection, then only this single collection is returned. Otherwise the
method starts recursively searching all child nodes for resource collections.node
- The node to look up for resource collections.ResourceCollection
s or an empty list if the
node or any of its children is not a resource collection."Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"