Uses of Class
org.alfresco.service.cmr.repository.InvalidNodeRefException
Packages that use InvalidNodeRefException
-
Uses of InvalidNodeRefException in org.alfresco.service.cmr.repository
Methods in org.alfresco.service.cmr.repository that throw InvalidNodeRefExceptionModifier and TypeMethodDescriptionvoid
NodeService.addAspect
(NodeRef nodeRef, QName aspectTypeQName, Map<QName, Serializable> aspectProperties) Applies an aspect to the given node.NodeService.addChild
(Collection<NodeRef> parentRefs, NodeRef childRef, QName assocTypeQName, QName qname) Associates a given child node with a given collection of parents.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.NodeService.createAssociation
(NodeRef sourceRef, NodeRef targetRef, QName assocTypeQName) Create a peer association between two nodes.NodeService.createNode
(NodeRef parentRef, QName assocTypeQName, QName assocQName, QName nodeTypeQName) 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.NodeService.getAspects
(NodeRef nodeRef) NodeService.getChildAssocs
(NodeRef nodeRef) Get all child associations of the given node.NodeService.getChildAssocs
(NodeRef nodeRef, QNamePattern typeQNamePattern, QNamePattern qnamePattern) Gets all child associations where the pattern of the association qualified name is a match.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.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.NodeService.getNodeAclId
(NodeRef nodeRef) NodeService.getParentAssocs
(NodeRef nodeRef) NodeService.getParentAssocs
(NodeRef nodeRef, QNamePattern typeQNamePattern, QNamePattern qnamePattern) Gets all parent associations where the pattern of the association qualified name is a matchThe root node has an entry in the path(s) returned.The root node has an entry in the path(s) returned.NodeService.getPrimaryParent
(NodeRef nodeRef) Fetches the primary parent-child relationship.NodeService.getProperties
(NodeRef nodeRef) NodeService.getProperty
(NodeRef nodeRef, QName qname) NodeService.getSourceAssocs
(NodeRef targetRef, QNamePattern qnamePattern) Fetches all associations to the given target where the associations' qualified names match the pattern provided.NodeService.getTargetAssocs
(NodeRef sourceRef, QNamePattern qnamePattern) Fetches all associations from the given source where the associations' qualified names match the pattern provided.boolean
Determines if a given aspect is present on a node.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 nodevoid
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 anySerializable
instance.void
Re-sets the type of the node. -
Uses of InvalidNodeRefException in org.alfresco.service.cmr.search
Methods in org.alfresco.service.cmr.search that throw InvalidNodeRefExceptionModifier and TypeMethodDescriptionboolean
Search for string pattern in both the node text (if present) and node propertiesboolean
SearchService.contains
(NodeRef nodeRef, QName propertyQName, String googleLikePattern, SearchParameters.Operator defaultOperator) Search for string pattern in both the node text (if present) and node propertiesboolean
Search for string pattern in both the node text (if present) and node propertiesSearchService.selectNodes
(NodeRef contextNodeRef, String xpath, QueryParameterDefinition[] parameters, NamespacePrefixResolver namespacePrefixResolver, boolean followAllParentLinks) Select nodes using an xpath expression.SearchService.selectNodes
(NodeRef contextNodeRef, String xpath, QueryParameterDefinition[] parameters, NamespacePrefixResolver namespacePrefixResolver, boolean followAllParentLinks, String language) Select nodes using an xpath expression.SearchService.selectProperties
(NodeRef contextNodeRef, String xpath, QueryParameterDefinition[] parameters, NamespacePrefixResolver namespacePrefixResolver, boolean followAllParentLinks) Select properties using an xpath expressionSearchService.selectProperties
(NodeRef contextNodeRef, String xpath, QueryParameterDefinition[] parameters, NamespacePrefixResolver namespacePrefixResolver, boolean followAllParentLinks, String language) Select properties using an xpath expression