public interface ResourceCollection
ResourceCollection
represents a collection of jcr resources (nodes)
which can be added/removed.
The collection is also able to listen to (jcr) modifications undertaken by
a certain user. this modifications respectively the modified resource is added
to the list as well.Modifier and Type | Field and Description |
---|---|
static String |
NN_FILTER
Name of the node containing filter definitions' items
|
static String |
PN_FILTER_ROOT
Property name of a filter's item root path
|
Modifier and Type | Method and Description |
---|---|
void |
add(Node node)
Add member to the collection
|
String |
getPath()
Returns collection path
|
List<Node> |
list(String[] allowedNodesTypes)
All collection members are retourned
|
void |
remove(Node node)
Remove member
|
void |
startRecording(String userId,
String rootPath,
String[] nodeTypes)
Starts the recording.
|
void |
stopRecording(String userId)
Stops the recording.
|
static final String NN_FILTER
static final String PN_FILTER_ROOT
List<Node> list(String[] allowedNodesTypes) throws RepositoryException
allowedNodesTypes
- list of node types to be consideredjavax.jcr.RepositoryException
- in case an error occurs while
fetching the list.RepositoryException
void add(Node node)
node
- to addvoid remove(Node node)
node
- node to removevoid startRecording(String userId, String rootPath, String[] nodeTypes)
userId
- rootPath
- nodeTypes
- void stopRecording(String userId)
userId
- String getPath()
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"