Uses of Class
org.alfresco.service.cmr.repository.NodeRef
-
-
Uses of NodeRef in org.alfresco.opencmis.dictionary
Methods in org.alfresco.opencmis.dictionary that return NodeRef Modifier and Type Method Description NodeRef
CMISNodeInfo. getCurrentNodeNodeRef()
NodeRef
CMISNodeInfo. getNodeRef()
Methods in org.alfresco.opencmis.dictionary with parameters of type NodeRef Modifier and Type Method Description CMISNodeInfo
CMISPropertyAccessor. 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 NodeRef Modifier and Type Method Description Map<String,NodeRef>
CmisFunctionEvaluationContext. getNodeRefs()
Methods in org.alfresco.opencmis.search with parameters of type NodeRef Modifier and Type Method Description Serializable
CmisFunctionEvaluationContext. getProperty(NodeRef nodeRef, String propertyName)
Method parameters in org.alfresco.opencmis.search with type arguments of type NodeRef Modifier and Type Method Description void
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 NodeRef Modifier and Type Method Description Map<String,NodeRef>
AlfrescoFunctionEvaluationContext. getNodeRefs()
Methods in org.alfresco.repo.search.impl.parsers with parameters of type NodeRef Modifier and Type Method Description Serializable
AlfrescoFunctionEvaluationContext. 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 NodeRef Modifier and Type Method Description Map<String,NodeRef>
FunctionEvaluationContext. getNodeRefs()
Methods in org.alfresco.repo.search.impl.querymodel with parameters of type NodeRef Modifier and Type Method Description Serializable
FunctionEvaluationContext. getProperty(NodeRef nodeRef, String propertyName)
Get a property -
Uses of NodeRef in org.alfresco.repo.tenant
Methods in org.alfresco.repo.tenant that return NodeRef Modifier and Type Method Description NodeRef
SingleTServiceImpl. getBaseName(NodeRef nodeRef)
NodeRef
SingleTServiceImpl. getBaseName(NodeRef nodeRef, boolean forceForNonTenant)
NodeRef
TenantService. getBaseName(NodeRef nodeRef)
NodeRef
TenantService. getBaseName(NodeRef nodeRef, boolean forceForNonTenant)
NodeRef
SingleTServiceImpl. getName(NodeRef nodeRef)
NodeRef
SingleTServiceImpl. getName(NodeRef inNodeRef, NodeRef nodeRef)
NodeRef
TenantService. getName(NodeRef nodeRef)
NodeRef
TenantService. getName(NodeRef inNodeRef, NodeRef nodeRef)
NodeRef
SingleTServiceImpl. getRootNode(NodeService nodeService, SearchService searchService, NamespaceService namespaceService, String rootPath, NodeRef rootNodeRef)
NodeRef
TenantService. getRootNode(NodeService nodeService, SearchService searchService, NamespaceService namespaceService, String rootPath, NodeRef rootNodeRef)
Methods in org.alfresco.repo.tenant with parameters of type NodeRef Modifier and Type Method Description NodeRef
SingleTServiceImpl. getBaseName(NodeRef nodeRef)
NodeRef
SingleTServiceImpl. getBaseName(NodeRef nodeRef, boolean forceForNonTenant)
NodeRef
TenantService. getBaseName(NodeRef nodeRef)
NodeRef
TenantService. getBaseName(NodeRef nodeRef, boolean forceForNonTenant)
NodeRef
SingleTServiceImpl. getName(NodeRef nodeRef)
NodeRef
SingleTServiceImpl. getName(NodeRef inNodeRef, NodeRef nodeRef)
QName
SingleTServiceImpl. getName(NodeRef inNodeRef, QName name)
NodeRef
TenantService. getName(NodeRef nodeRef)
NodeRef
TenantService. getName(NodeRef inNodeRef, NodeRef nodeRef)
QName
TenantService. getName(NodeRef inNodeRef, QName name)
NodeRef
SingleTServiceImpl. getRootNode(NodeService nodeService, SearchService searchService, NamespaceService namespaceService, String rootPath, NodeRef rootNodeRef)
NodeRef
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 NodeRef Modifier and Type Method Description NodeRef
CustomModelService. createDownloadNode(String modelName, boolean withAssociatedForm)
Creates a downloadable archive file containing the custom model file and if specified, its associated Share extension module file.NodeRef
CustomModelService. getModelNodeRef(String modelFileName)
Gets custom model node reference -
Uses of NodeRef in org.alfresco.service.cmr.repository
Methods in org.alfresco.service.cmr.repository that return NodeRef Modifier and Type Method Description NodeRef
NodeService. getChildByName(NodeRef nodeRef, QName assocTypeQName, String childName)
Get the node with the given name within the context of the parent node.NodeRef
ChildAssociationRef. getChildRef()
NodeRef
InvalidNodeRefException. getNodeRef()
NodeRef
NodeRef.Status. getNodeRef()
NodeRef
NodeService. getNodeRef(Long nodeId)
Get the node reference for a given node DB IDNodeRef
ChildAssociationRef. getParentRef()
NodeRef
NodeService. getRootNode(StoreRef storeRef)
NodeRef
AssociationRef. getSourceRef()
NodeRef
NodeService. getStoreArchiveNode(StoreRef storeRef)
Get the node where archived items will have gone when deleted from the given store.NodeRef
AssociationRef. getTargetRef()
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.Methods in org.alfresco.service.cmr.repository that return types with arguments of type NodeRef Modifier and Type Method Description List<NodeRef>
NodeService. findNodes(NodeService.FindNodeParameters params)
Set<NodeRef>
NodeService. getAllRootNodes(StoreRef storeRef)
static List<NodeRef>
NodeRef. getNodeRefs(String values)
static List<NodeRef>
NodeRef. getNodeRefs(String values, org.apache.commons.logging.Log logger)
Methods in org.alfresco.service.cmr.repository with parameters of type NodeRef Modifier and Type Method 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.boolean
NodeService. exists(NodeRef nodeRef)
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, Set<QName> childNodeTypeQNames)
Retrieve immediate children of a given node where the child nodes are in the given inclusive list.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.List<ChildAssociationRef>
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.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, String childName)
Get the node with the given name within the context of the parent node.List<ChildAssociationRef>
NodeService. getChildrenByName(NodeRef nodeRef, QName assocTypeQName, Collection<String> childNames)
Get the nodes with the given names within the context of the parent node.Long
NodeService. getNodeAclId(NodeRef nodeRef)
NodeRef.Status
NodeService. getNodeStatus(NodeRef nodeRef)
Gets the ID of the last transaction that caused the node to change.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 matchPath
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.List<AssociationRef>
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.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 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.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, 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
NodeService. setType(NodeRef nodeRef, QName typeQName)
Re-sets the type of the node.Method parameters in org.alfresco.service.cmr.repository with type arguments of type NodeRef Modifier and Type Method Description List<ChildAssociationRef>
NodeService. 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 NodeRef Constructor Description AssociationRef(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)
Status(Long dbId, NodeRef nodeRef, String changeTxnId, Long dbTxnId, boolean deleted)
-
Uses of NodeRef in org.alfresco.service.cmr.search
Methods in org.alfresco.service.cmr.search that return NodeRef Modifier and Type Method Description NodeRef
ResultSetRow. getNodeRef()
The reference to the node that equates to this row in the result setNodeRef
ResultSetRow. getNodeRef(String selectorName)
Gets the node ref related to the named selectorNodeRef
ResultSetSPI. 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 NodeRef Modifier and Type Method Description Map<NodeRef,List<Pair<String,List<String>>>>
ResultSetSPI. getHighlighting()
Gets the highlighting results.Map<String,NodeRef>
ResultSetRow. getNodeRefs()
Gets the node refsList<NodeRef>
ResultSetSPI. getNodeRefs()
Get a list of all the node refs in the result set (if there is only one selector or no selector)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.Methods in org.alfresco.service.cmr.search with parameters of type NodeRef Modifier and Type Method Description boolean
SearchService. contains(NodeRef nodeRef, QName propertyQName, String googleLikePattern)
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
SearchService. like(NodeRef nodeRef, QName propertyQName, String sqlLikePattern, boolean includeFTS)
Search for string pattern in both the node text (if present) and node propertiesList<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 expressionList<Serializable>
SearchService. 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 NodeRef Modifier and Type Method Description void
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 nodeSet<AccessPermission>
PermissionService. 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.Set<AccessPermission>
PermissionService. getPermissions(NodeRef nodeRef)
Get all the AccessPermissions that are granted/denied to the current authentication for the given nodeSet<String>
PermissionService. getSettablePermissions(NodeRef nodeRef)
Get the permissions that can be set for a given nodeAccessStatus
PermissionService. hasPermission(NodeRef nodeRef, String permission)
Check that the given authentication has a particular permission for the given node.AccessStatus
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.
-