Package | Description |
---|---|
org.alfresco.service.cmr.repository | |
org.alfresco.service.cmr.search |
Modifier and Type | Method and Description |
---|---|
void |
NodeService.addAspect(NodeRef nodeRef,
QName aspectTypeQName,
Map<QName,Serializable> aspectProperties)
Applies an aspect to the given node.
|
List<ChildAssociationRef> |
NodeService.addChild(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,
Map<QName,Serializable> properties)
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,
Map<QName,Serializable> properties)
Creates a new, non-abstract, real node as a primary child of the given parent node.
|
void |
NodeService.deleteNode(NodeRef nodeRef)
Deletes the given node.
|
Set<QName> |
NodeService.getAspects(NodeRef nodeRef) |
List<ChildAssociationRef> |
NodeService.getChildAssocs(NodeRef nodeRef)
Get all child associations of the given node.
|
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.
|
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.
|
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.
|
Long |
NodeService.getNodeAclId(NodeRef nodeRef) |
List<ChildAssociationRef> |
NodeService.getParentAssocs(NodeRef nodeRef) |
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.
|
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.
|
Map<QName,Serializable> |
NodeService.getProperties(NodeRef nodeRef) |
Serializable |
NodeService.getProperty(NodeRef nodeRef,
QName qname) |
List<AssociationRef> |
NodeService.getSourceAssocs(NodeRef targetRef,
QNamePattern qnamePattern)
Fetches all associations to the given target where the associations'
qualified names match the pattern provided.
|
List<AssociationRef> |
NodeService.getTargetAssocs(NodeRef sourceRef,
QNamePattern qnamePattern)
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.
|
void |
NodeService.removeProperty(NodeRef nodeRef,
QName qname)
Removes a property value completely.
|
void |
NodeService.setProperties(NodeRef nodeRef,
Map<QName,Serializable> properties)
Replace all current properties on the node with the given properties.
|
void |
NodeService.setProperty(NodeRef nodeRef,
QName qname,
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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
SearchService.contains(NodeRef nodeRef,
QName propertyQName,
String googleLikePattern)
Search for string pattern in both the node text (if present) and node
properties
|
boolean |
SearchService.contains(NodeRef nodeRef,
QName propertyQName,
String googleLikePattern,
SearchParameters.Operator defaultOperator)
Search for string pattern in both the node text (if present) and node
properties
|
boolean |
SearchService.like(NodeRef nodeRef,
QName propertyQName,
String sqlLikePattern,
boolean includeFTS)
Search for string pattern in both the node text (if present) and node
properties
|
List<NodeRef> |
SearchService.selectNodes(NodeRef contextNodeRef,
String xpath,
QueryParameterDefinition[] parameters,
NamespacePrefixResolver namespacePrefixResolver,
boolean followAllParentLinks)
Select nodes using an xpath expression.
|
List<NodeRef> |
SearchService.selectNodes(NodeRef contextNodeRef,
String xpath,
QueryParameterDefinition[] parameters,
NamespacePrefixResolver namespacePrefixResolver,
boolean followAllParentLinks,
String language)
Select nodes using an xpath expression.
|
List<Serializable> |
SearchService.selectProperties(NodeRef contextNodeRef,
String xpath,
QueryParameterDefinition[] parameters,
NamespacePrefixResolver namespacePrefixResolver,
boolean followAllParentLinks)
Select properties using an xpath expression
|
List<Serializable> |
SearchService.selectProperties(NodeRef contextNodeRef,
String xpath,
QueryParameterDefinition[] parameters,
NamespacePrefixResolver namespacePrefixResolver,
boolean followAllParentLinks,
String language)
Select properties using an xpath expression
|
Copyright © 2005–2019 Alfresco Software. All rights reserved.