void |
NodeService.addAspect(NodeRef nodeRef,
QName aspectTypeQName,
java.util.Map<QName,java.io.Serializable> aspectProperties) |
Applies an aspect to the given node.
|
java.util.List<ChildAssociationRef> |
NodeService.addChild(java.util.Collection<NodeRef> parentRefs,
NodeRef childRef,
QName assocTypeQName,
QName qname) |
Associates a given child node with a given collection of parents.
|
ChildAssociationRef |
NodeService.addChild(NodeRef parentRef,
NodeRef childRef,
QName assocTypeQName,
QName qname) |
Makes a parent-child association between the given nodes.
|
void |
NodeService.addProperties(NodeRef nodeRef,
java.util.Map<QName,java.io.Serializable> properties) |
Add all given properties to the node.
|
void |
NodeService.addProperties(NodeRef nodeRef,
java.util.Map<QName,java.io.Serializable> properties,
boolean ignoreContentPropertyRestrictions) |
Internal API to add all given properties to the node.
|
int |
NodeService.countChildAssocs(NodeRef nodeRef,
boolean isPrimary) |
Counts the number of child associations of nodeRef.
|
AssociationRef |
NodeService.createAssociation(NodeRef sourceRef,
NodeRef targetRef,
QName assocTypeQName) |
Create a peer association between two nodes.
|
ChildAssociationRef |
NodeService.createNode(NodeRef parentRef,
QName assocTypeQName,
QName assocQName,
QName nodeTypeQName) |
|
ChildAssociationRef |
NodeService.createNode(NodeRef parentRef,
QName assocTypeQName,
QName assocQName,
QName nodeTypeQName,
java.util.Map<QName,java.io.Serializable> properties) |
Creates a new, non-abstract, real node as a primary child of the given parent node.
|
StoreRef |
NodeService.createStore(java.lang.String protocol,
java.lang.String identifier) |
Create a new store for the given protocol and identifier.
|
void |
NodeService.deleteNode(NodeRef nodeRef) |
Deletes the given node.
|
void |
NodeService.deleteStore(StoreRef storeRef) |
Delete a store and all its contents.
|
boolean |
NodeService.exists(NodeRef nodeRef) |
|
boolean |
NodeService.exists(StoreRef storeRef) |
|
java.util.Set<NodeRef> |
NodeService.getAllRootNodes(StoreRef storeRef) |
|
java.util.Set<QName> |
NodeService.getAspects(NodeRef nodeRef) |
|
java.util.List<ChildAssociationRef> |
NodeService.getChildAssocs(NodeRef nodeRef) |
Get all child associations of the given node.
|
java.util.List<ChildAssociationRef> |
NodeService.getChildAssocs(NodeRef nodeRef,
java.util.Set<QName> childNodeTypeQNames) |
Retrieve immediate children of a given node where the child nodes are in the given inclusive list.
|
java.util.List<ChildAssociationRef> |
NodeService.getChildAssocs(NodeRef nodeRef,
QNamePattern typeQNamePattern,
QNamePattern qnamePattern) |
Gets all child associations where the pattern of the association qualified
name is a match.
|
java.util.List<ChildAssociationRef> |
NodeService.getChildAssocs(NodeRef nodeRef,
QNamePattern typeQNamePattern,
QNamePattern qnamePattern,
boolean preload) |
Gets all child associations where the pattern of the association qualified
names match the patterns provided.
|
java.util.List<ChildAssociationRef> |
NodeService.getChildAssocs(NodeRef nodeRef,
QNamePattern typeQNamePattern,
QNamePattern qnamePattern,
int maxResults,
boolean preload) |
Gets all child associations where the pattern of the association qualified
name is an exact match.
|
java.util.List<ChildAssociationRef> |
NodeService.getChildAssocsByPropertyValue(NodeRef nodeRef,
QName propertyQName,
java.io.Serializable value) |
Retrieve the immediate children of a given node based on the value of a property of those
children.
|
java.util.Collection<ChildAssociationRef> |
NodeService.getChildAssocsWithoutParentAssocsOfType(NodeRef parent,
QName assocTypeQName) |
Gets the set of child associations of a certain parent node without parent associations of a certain type to
other nodes with the same parent! In effect the 'orphans' with respect to a certain association type.
|
NodeRef |
NodeService.getChildByName(NodeRef nodeRef,
QName assocTypeQName,
java.lang.String childName) |
Get the node with the given name within the context of the parent node.
|
java.util.List<ChildAssociationRef> |
NodeService.getChildrenByName(NodeRef nodeRef,
QName assocTypeQName,
java.util.Collection<java.lang.String> childNames) |
Get the nodes with the given names within the context of the parent node.
|
java.lang.Long |
NodeService.getNodeAclId(NodeRef nodeRef) |
|
NodeRef |
NodeService.getNodeRef(java.lang.Long nodeId) |
Get the node reference for a given node DB ID
|
NodeRef.Status |
NodeService.getNodeStatus(NodeRef nodeRef) |
Gets the ID of the last transaction that caused the node to change.
|
java.util.List<ChildAssociationRef> |
NodeService.getParentAssocs(NodeRef nodeRef) |
|
java.util.List<ChildAssociationRef> |
NodeService.getParentAssocs(NodeRef nodeRef,
QNamePattern typeQNamePattern,
QNamePattern qnamePattern) |
Gets all parent associations where the pattern of the association qualified
name is a match
|
Path |
NodeService.getPath(NodeRef nodeRef) |
The root node has an entry in the path(s) returned.
|
java.util.List<Path> |
NodeService.getPaths(NodeRef nodeRef,
boolean primaryOnly) |
The root node has an entry in the path(s) returned.
|
ChildAssociationRef |
NodeService.getPrimaryParent(NodeRef nodeRef) |
Fetches the primary parent-child relationship.
|
java.util.Map<QName,java.io.Serializable> |
NodeService.getProperties(NodeRef nodeRef) |
|
java.io.Serializable |
NodeService.getProperty(NodeRef nodeRef,
QName qname) |
|
NodeRef |
NodeService.getRootNode(StoreRef storeRef) |
|
java.util.List<AssociationRef> |
NodeService.getSourceAssocs(NodeRef targetRef,
QNamePattern qnamePattern) |
Fetches all associations to the given target where the associations'
qualified names match the pattern provided.
|
NodeRef |
NodeService.getStoreArchiveNode(StoreRef storeRef) |
Get the node where archived items will have gone when deleted from the given store.
|
java.util.List<StoreRef> |
NodeService.getStores() |
Gets a list of all available node store references
|
java.util.List<AssociationRef> |
NodeService.getTargetAssocs(NodeRef sourceRef,
QNamePattern qnamePattern) |
Fetches all associations from the given source where the associations'
qualified names match the pattern provided.
|
java.util.List<AssociationRef> |
NodeService.getTargetAssocsByPropertyValue(NodeRef sourceRef,
QNamePattern qnamePattern,
QName propertyQName,
java.io.Serializable propertyValue) |
Fetches all associations from the given source where the associations'
qualified names match the pattern provided.
|
QName |
NodeService.getType(NodeRef nodeRef) |
|
boolean |
NodeService.hasAspect(NodeRef nodeRef,
QName aspectTypeQName) |
Determines if a given aspect is present on a node.
|
ChildAssociationRef |
NodeService.moveNode(NodeRef nodeToMoveRef,
NodeRef newParentRef,
QName assocTypeQName,
QName assocQName) |
Moves the primary location of the given node.
|
void |
NodeService.removeAspect(NodeRef nodeRef,
QName aspectTypeQName) |
Remove an aspect and all related properties from a node
|
void |
NodeService.removeAssociation(NodeRef sourceRef,
NodeRef targetRef,
QName assocTypeQName) |
|
void |
NodeService.removeChild(NodeRef parentRef,
NodeRef childRef) |
Severs all parent-child relationships between two nodes.
|
boolean |
NodeService.removeChildAssociation(ChildAssociationRef childAssocRef) |
Remove a specific child association.
|
void |
NodeService.removeProperty(NodeRef nodeRef,
QName qname) |
Removes a property value completely.
|
boolean |
NodeService.removeSeconaryChildAssociation(ChildAssociationRef childAssocRef) |
Deprecated.
|
boolean |
NodeService.removeSecondaryChildAssociation(ChildAssociationRef childAssocRef) |
Remove a specific secondary child association.
|
NodeRef |
NodeService.restoreNode(NodeRef archivedNodeRef,
NodeRef destinationParentNodeRef,
QName assocTypeQName,
QName assocQName) |
Restore an individual node (along with its sub-tree nodes) to the target location.
|
void |
NodeService.setAssociations(NodeRef sourceRef,
QName assocTypeQName,
java.util.List<NodeRef> targetRefs) |
Re-assign all typed target associations for a given node.
|
void |
NodeService.setChildAssociationIndex(ChildAssociationRef childAssocRef,
int index) |
Set the ordering index of the child association.
|
void |
NodeService.setContentProperty(NodeRef nodeRef,
QName qname,
java.io.Serializable value) |
Internal API to update node's content.
|
void |
NodeService.setProperties(NodeRef nodeRef,
java.util.Map<QName,java.io.Serializable> properties) |
Replace all current properties on the node with the given properties.
|
void |
NodeService.setProperties(NodeRef nodeRef,
java.util.Map<QName,java.io.Serializable> properties,
boolean ignoreContentPropertyRestrictions) |
Internal API to replace all current properties on the node with the given properties.
|
void |
NodeService.setProperty(NodeRef nodeRef,
QName qname,
java.io.Serializable value) |
Sets the value of a property to be any Serializable instance.
|
void |
NodeService.setType(NodeRef nodeRef,
QName typeQName) |
Re-sets the type of the node.
|