Uses of Class
org.alfresco.service.cmr.repository.NodeRef
Packages that use NodeRef
Package
Description
-
Uses of NodeRef in org.alfresco.opencmis.dictionary
Methods in org.alfresco.opencmis.dictionary that return NodeRefMethods in org.alfresco.opencmis.dictionary with parameters of type NodeRefModifier and TypeMethodDescriptionCMISPropertyAccessor.createNodeInfo
(NodeRef nodeRef) Creates a node info object form the given node ref.void
CMISPropertyAccessor.setValue
(NodeRef nodeRef, Serializable value) Set the property value for a node -
Uses of NodeRef in org.alfresco.opencmis.search
Methods in org.alfresco.opencmis.search that return types with arguments of type NodeRefMethods in org.alfresco.opencmis.search with parameters of type NodeRefModifier and TypeMethodDescriptionCmisFunctionEvaluationContext.getProperty
(NodeRef nodeRef, String propertyName) Method parameters in org.alfresco.opencmis.search with type arguments of type NodeRefModifier and TypeMethodDescriptionvoid
CmisFunctionEvaluationContext.setNodeInfos
(Map<NodeRef, CMISNodeInfo> nodeInfos) void
CmisFunctionEvaluationContext.setNodeRefs
(Map<String, NodeRef> nodeRefs) -
Uses of NodeRef in org.alfresco.repo.search.impl.parsers
Methods in org.alfresco.repo.search.impl.parsers that return types with arguments of type NodeRefMethods in org.alfresco.repo.search.impl.parsers with parameters of type NodeRefModifier and TypeMethodDescriptionAlfrescoFunctionEvaluationContext.getProperty
(NodeRef nodeRef, String propertyName) -
Uses of NodeRef in org.alfresco.repo.search.impl.querymodel
Methods in org.alfresco.repo.search.impl.querymodel that return types with arguments of type NodeRefMethods in org.alfresco.repo.search.impl.querymodel with parameters of type NodeRefModifier and TypeMethodDescriptionFunctionEvaluationContext.getProperty
(NodeRef nodeRef, String propertyName) Get a property -
Uses of NodeRef in org.alfresco.repo.tenant
Methods in org.alfresco.repo.tenant that return NodeRefModifier and TypeMethodDescriptionSingleTServiceImpl.getBaseName
(NodeRef nodeRef) SingleTServiceImpl.getBaseName
(NodeRef nodeRef, boolean forceForNonTenant) TenantService.getBaseName
(NodeRef nodeRef) TenantService.getBaseName
(NodeRef nodeRef, boolean forceForNonTenant) SingleTServiceImpl.getRootNode
(NodeService nodeService, SearchService searchService, NamespaceService namespaceService, String rootPath, NodeRef rootNodeRef) TenantService.getRootNode
(NodeService nodeService, SearchService searchService, NamespaceService namespaceService, String rootPath, NodeRef rootNodeRef) Methods in org.alfresco.repo.tenant with parameters of type NodeRefModifier and TypeMethodDescriptionSingleTServiceImpl.getBaseName
(NodeRef nodeRef) SingleTServiceImpl.getBaseName
(NodeRef nodeRef, boolean forceForNonTenant) TenantService.getBaseName
(NodeRef nodeRef) TenantService.getBaseName
(NodeRef nodeRef, boolean forceForNonTenant) SingleTServiceImpl.getRootNode
(NodeService nodeService, SearchService searchService, NamespaceService namespaceService, String rootPath, NodeRef rootNodeRef) TenantService.getRootNode
(NodeService nodeService, SearchService searchService, NamespaceService namespaceService, String rootPath, NodeRef rootNodeRef) -
Uses of NodeRef in org.alfresco.service.cmr.dictionary
Methods in org.alfresco.service.cmr.dictionary that return NodeRefModifier and TypeMethodDescriptionCustomModelService.createDownloadNode
(String modelName, boolean withAssociatedForm) Creates a downloadable archive file containing the custom model file and if specified, its associated Share extension module file.CustomModelService.getModelNodeRef
(String modelFileName) Gets custom model node referenceMethods in org.alfresco.service.cmr.dictionary with parameters of type NodeRefModifier and TypeMethodDescriptionCustomModelService.getM2Model
(NodeRef modelNodeRef) Gets custom modelboolean
CustomModelService.isNamespacePrefixExists
(NodeRef modelNodeRef) void
CustomModelService.validateModelNamespacePrefix
(NodeRef modelNodeRef) Validates the custom models' namespace prefix -
Uses of NodeRef in org.alfresco.service.cmr.repository
Methods in org.alfresco.service.cmr.repository that return NodeRefModifier and TypeMethodDescriptionNodeService.getChildByName
(NodeRef nodeRef, QName assocTypeQName, String childName) Get the node with the given name within the context of the parent node.ChildAssociationRef.getChildRef()
InvalidNodeRefException.getNodeRef()
NodeRef.Status.getNodeRef()
NodeService.getNodeRef
(Long nodeId) Get the node reference for a given node DB IDChildAssociationRef.getParentRef()
NodeService.getRootNode
(StoreRef storeRef) AssociationRef.getSourceRef()
NodeService.getStoreArchiveNode
(StoreRef storeRef) Get the node where archived items will have gone when deleted from the given store.AssociationRef.getTargetRef()
NodeService.restoreNode
(NodeRef archivedNodeRef, NodeRef destinationParentNodeRef, QName assocTypeQName, QName assocQName) Restore an individual node (along with its sub-tree nodes) to the target location.Methods in org.alfresco.service.cmr.repository that return types with arguments of type NodeRefModifier and TypeMethodDescriptionNodeService.findNodes
(NodeService.FindNodeParameters params) NodeService.getAllRootNodes
(StoreRef storeRef) NodeRef.getNodeRefs
(String values) NodeRef.getNodeRefs
(String values, org.apache.commons.logging.Log logger) Methods in org.alfresco.service.cmr.repository with parameters of type NodeRefModifier 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.boolean
NodeService.findAssocsNotLinkedByTwoOtherAssocs
(NodeRef parent) Gets the list of the localnames of the child associations without parent nodeNodeService.getAspects
(NodeRef nodeRef) NodeService.getChildAssocs
(NodeRef nodeRef) Get all child associations of the given node.NodeService.getChildAssocs
(NodeRef nodeRef, Set<QName> childNodeTypeQNames) Retrieve immediate children of a given node where the child nodes are in the given inclusive list.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.getChildAssocsByPropertyValue
(NodeRef nodeRef, QName propertyQName, Serializable value) Retrieve the immediate children of a given node based on the value of a property of those children.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.NodeService.getChildByName
(NodeRef nodeRef, QName assocTypeQName, String childName) Get the node with the given name within the context of the parent node.NodeService.getChildrenByName
(NodeRef nodeRef, QName assocTypeQName, Collection<String> childNames) Get the nodes with the given names within the context of the parent node.NodeService.getNodeAclId
(NodeRef nodeRef) NodeService.getNodeStatus
(NodeRef nodeRef) Gets the ID of the last transaction that caused the node to change.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.NodeService.getTargetAssocsByPropertyValue
(NodeRef sourceRef, QNamePattern qnamePattern, QName propertyQName, Serializable propertyValue) 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.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, List<NodeRef> targetRefs) Re-assign all typed target associations for a given node.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.Method parameters in org.alfresco.service.cmr.repository with type arguments of type NodeRefModifier and TypeMethodDescriptionNodeService.addChild
(Collection<NodeRef> parentRefs, NodeRef childRef, QName assocTypeQName, QName qname) Associates a given child node with a given collection of parents.void
NodeService.setAssociations
(NodeRef sourceRef, QName assocTypeQName, List<NodeRef> targetRefs) Re-assign all typed target associations for a given node.Constructors in org.alfresco.service.cmr.repository with parameters of type NodeRefModifierConstructorDescriptionAssociationRef
(Long id, NodeRef sourceRef, QName assocTypeQName, NodeRef targetRef) Construct a representation of a source --- name ----> target relationship.AssociationRef
(NodeRef sourceRef, QName assocTypeQName, NodeRef targetRef) Construct a representation of a source --- name ----> target relationship.ChildAssociationRef
(QName assocTypeQName, NodeRef parentRef, QName childQName, NodeRef childRef) Constructs a non-primary, -1th sibling parent-child association reference.ChildAssociationRef
(QName assocTypeQName, NodeRef parentRef, QName childQName, NodeRef childRef, boolean isPrimary, int nthSibling) Construct a representation of a parent --- name ----> child relationship.InvalidNodeRefException
(String msg, NodeRef nodeRef) InvalidNodeRefException
(String msg, NodeRef nodeRef, Throwable cause) InvalidNodeRefException
(NodeRef nodeRef) -
Uses of NodeRef in org.alfresco.service.cmr.search
Methods in org.alfresco.service.cmr.search that return NodeRefModifier and TypeMethodDescriptionResultSetRow.getNodeRef()
The reference to the node that equates to this row in the result setResultSetRow.getNodeRef
(String selectorName) Gets the node ref related to the named selectorResultSetSPI.getNodeRef
(int n) Get the id of the node at the given index (if there is only one selector or no selector)Methods in org.alfresco.service.cmr.search that return types with arguments of type NodeRefModifier and TypeMethodDescriptionResultSetSPI.getHighlighting()
Gets the highlighting results.ResultSetRow.getNodeRefs()
Gets the node refsResultSetSPI.getNodeRefs()
Get a list of all the node refs in the result set (if there is only one selector or no selector)SearchService.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.Methods in org.alfresco.service.cmr.search with parameters of type NodeRefModifier 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 -
Uses of NodeRef in org.alfresco.service.cmr.security
Methods in org.alfresco.service.cmr.security with parameters of type NodeRefModifier and TypeMethodDescriptionvoid
PermissionService.clearPermission
(NodeRef nodeRef, String authority) Delete all permission for the given authority.void
PermissionService.deletePermission
(NodeRef nodeRef, String authority, String permission) Find and delete a access control entry by node, authentication and permission.void
PermissionService.deletePermissions
(NodeRef nodeRef) Delete all the permission assigned to the nodePermissionService.getAllSetPermissions
(NodeRef nodeRef) Get all the AccessPermissions that are set for anyone for the given nodeboolean
PermissionService.getInheritParentPermissions
(NodeRef nodeRef) Return the global inheritance behaviour for permissions on a node.PermissionService.getPermissions
(NodeRef nodeRef) Get all the AccessPermissions that are granted/denied to the current authentication for the given nodePermissionService.getSettablePermissions
(NodeRef nodeRef) Get the permissions that can be set for a given nodePermissionService.hasPermission
(NodeRef nodeRef, String permission) Check that the given authentication has a particular permission for the given node.PermissionService.hasReadPermission
(NodeRef nodeRef) Check if read permission is allowed on an acl (optimised) caveats: doesn't take into account dynamic authorities/groups doesn't take into account node types/aspects for permissionsvoid
PermissionService.setInheritParentPermissions
(NodeRef nodeRef, boolean inheritParentPermissions) Set the global inheritance behaviour for permissions on a node.void
PermissionService.setInheritParentPermissions
(NodeRef nodeRef, boolean inheritParentPermissions, boolean asyncCall) Set the global inheritance behavior for permissions on a node.void
PermissionService.setPermission
(NodeRef nodeRef, String authority, String permission, boolean allow) Set a specific permission on a node.