| Modifier and Type | Method and Description |
|---|---|
ArtifactSet |
createArtifacts(Aggregate aggregate)
Creates the artifact set of the content aggregation.
|
boolean |
hasFullCoverage()
Returns
true if this aggregator includes the entire node
sub tree into the serialization; false if it does not do a
complete serialization and allows child aggregations
(eg: nt:unstructured). |
boolean |
includes(Node root,
Node parent,
Property property,
java.lang.String path)
Checks if the given property is included in the content aggregation relative
to the respective aggregator root.
|
boolean |
includes(Node root,
Node node,
java.lang.String path)
Checks if the given item is included in the content aggregation relative
to the respective aggregator root
|
boolean |
isDefault()
Checks if this aggregator is the default aggregator.
|
boolean |
matches(Node node,
java.lang.String path)
Checks if this aggregator can handles the given node
|
ImportInfo |
remove(Node node,
boolean recursive,
boolean trySave)
Removes the content for this aggregation.
|
ArtifactSet createArtifacts(Aggregate aggregate) throws RepositoryException
aggregate - the aggregate from which the artifacts are created.RepositoryException - if an error occurs.boolean includes(Node root, Node node, java.lang.String path) throws RepositoryException
root - the root of the aggregation.node - the node to checkpath - the path of the node or nulltrue if the node is included;
false otherwise.RepositoryException - if an error occurs.boolean includes(Node root, Node parent, Property property, java.lang.String path) throws RepositoryException
root - the root of the aggregation.parent - the parent node of the property to checkproperty - the property to checkpath - the path of the property or nulltrue if the node is included;
false otherwise.RepositoryException - if an error occurs.boolean matches(Node node, java.lang.String path) throws RepositoryException
node - the node to checkpath - the path of the node or nulltrue if this aggregator will handle the node;
false otherwise.RepositoryException - if an error occurs.boolean hasFullCoverage()
true if this aggregator includes the entire node
sub tree into the serialization; false if it does not do a
complete serialization and allows child aggregations
(eg: nt:unstructured).true if this aggregator aggregates all children.boolean isDefault()
true if this aggregator is the default aggregator.ImportInfo remove(Node node, boolean recursive, boolean trySave) throws RepositoryException
recursive is true
it must not fail due to that reason, though.
The aggregator may become invalid after the removal of the content and subsequent calls may throw an exception.
node - the node of the aggregation to removerecursive - true if all content is to be removed.trySave - if true the aggregator tries to save the
modified content.RepositoryException - if an error occurs.Copyright © 2010 - 2023 Adobe. All Rights Reserved