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 NodeRefCMISNodeInfo. getCurrentNodeNodeRef()NodeRefCMISNodeInfo. getNodeRef()Methods in org.alfresco.opencmis.dictionary with parameters of type NodeRef Modifier and Type Method Description CMISNodeInfoCMISPropertyAccessor. createNodeInfo(NodeRef nodeRef)Creates a node info object form the given node ref.voidCMISPropertyAccessor. 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 SerializableCmisFunctionEvaluationContext. getProperty(NodeRef nodeRef, String propertyName)Method parameters in org.alfresco.opencmis.search with type arguments of type NodeRef Modifier and Type Method Description voidCmisFunctionEvaluationContext. setNodeInfos(Map<NodeRef,CMISNodeInfo> nodeInfos)voidCmisFunctionEvaluationContext. 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 SerializableAlfrescoFunctionEvaluationContext. 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 SerializableFunctionEvaluationContext. 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 NodeRefSingleTServiceImpl. getBaseName(NodeRef nodeRef)NodeRefSingleTServiceImpl. getBaseName(NodeRef nodeRef, boolean forceForNonTenant)NodeRefTenantService. getBaseName(NodeRef nodeRef)NodeRefTenantService. getBaseName(NodeRef nodeRef, boolean forceForNonTenant)NodeRefSingleTServiceImpl. getName(NodeRef nodeRef)NodeRefSingleTServiceImpl. getName(NodeRef inNodeRef, NodeRef nodeRef)NodeRefTenantService. getName(NodeRef nodeRef)NodeRefTenantService. getName(NodeRef inNodeRef, NodeRef nodeRef)NodeRefSingleTServiceImpl. getRootNode(NodeService nodeService, SearchService searchService, NamespaceService namespaceService, String rootPath, NodeRef rootNodeRef)NodeRefTenantService. 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 NodeRefSingleTServiceImpl. getBaseName(NodeRef nodeRef)NodeRefSingleTServiceImpl. getBaseName(NodeRef nodeRef, boolean forceForNonTenant)NodeRefTenantService. getBaseName(NodeRef nodeRef)NodeRefTenantService. getBaseName(NodeRef nodeRef, boolean forceForNonTenant)NodeRefSingleTServiceImpl. getName(NodeRef nodeRef)NodeRefSingleTServiceImpl. getName(NodeRef inNodeRef, NodeRef nodeRef)QNameSingleTServiceImpl. getName(NodeRef inNodeRef, QName name)NodeRefTenantService. getName(NodeRef nodeRef)NodeRefTenantService. getName(NodeRef inNodeRef, NodeRef nodeRef)QNameTenantService. getName(NodeRef inNodeRef, QName name)NodeRefSingleTServiceImpl. getRootNode(NodeService nodeService, SearchService searchService, NamespaceService namespaceService, String rootPath, NodeRef rootNodeRef)NodeRefTenantService. 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 NodeRefCustomModelService. createDownloadNode(String modelName, boolean withAssociatedForm)Creates a downloadable archive file containing the custom model file and if specified, its associated Share extension module file.NodeRefCustomModelService. getModelNodeRef(String modelFileName)Gets custom model node referenceMethods in org.alfresco.service.cmr.dictionary with parameters of type NodeRef Modifier and Type Method Description M2ModelCustomModelService. getM2Model(NodeRef modelNodeRef)Gets custom modelbooleanCustomModelService. isNamespacePrefixExists(NodeRef modelNodeRef)voidCustomModelService. 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 NodeRef Modifier and Type Method Description NodeRefNodeService. getChildByName(NodeRef nodeRef, QName assocTypeQName, String childName)Get the node with the given name within the context of the parent node.NodeRefChildAssociationRef. getChildRef()NodeRefInvalidNodeRefException. getNodeRef()NodeRefNodeRef.Status. getNodeRef()NodeRefNodeService. getNodeRef(Long nodeId)Get the node reference for a given node DB IDNodeRefChildAssociationRef. getParentRef()NodeRefNodeService. getRootNode(StoreRef storeRef)NodeRefAssociationRef. getSourceRef()NodeRefNodeService. getStoreArchiveNode(StoreRef storeRef)Get the node where archived items will have gone when deleted from the given store.NodeRefAssociationRef. getTargetRef()NodeRefNodeService. 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 voidNodeService. 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.ChildAssociationRefNodeService. addChild(NodeRef parentRef, NodeRef childRef, QName assocTypeQName, QName qname)Makes a parent-child association between the given nodes.voidNodeService. addProperties(NodeRef nodeRef, Map<QName,Serializable> properties)Add all given properties to the node.intNodeService. countChildAssocs(NodeRef nodeRef, boolean isPrimary)Counts the number of child associations of nodeRef.AssociationRefNodeService. createAssociation(NodeRef sourceRef, NodeRef targetRef, QName assocTypeQName)Create a peer association between two nodes.ChildAssociationRefNodeService. createNode(NodeRef parentRef, QName assocTypeQName, QName assocQName, QName nodeTypeQName)ChildAssociationRefNodeService. 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.voidNodeService. deleteNode(NodeRef nodeRef)Deletes the given node.booleanNodeService. 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.NodeRefNodeService. 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.LongNodeService. getNodeAclId(NodeRef nodeRef)NodeRef.StatusNodeService. 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 matchPathNodeService. 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.ChildAssociationRefNodeService. getPrimaryParent(NodeRef nodeRef)Fetches the primary parent-child relationship.Map<QName,Serializable>NodeService. getProperties(NodeRef nodeRef)SerializableNodeService. 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.QNameNodeService. getType(NodeRef nodeRef)booleanNodeService. hasAspect(NodeRef nodeRef, QName aspectTypeQName)Determines if a given aspect is present on a node.ChildAssociationRefNodeService. moveNode(NodeRef nodeToMoveRef, NodeRef newParentRef, QName assocTypeQName, QName assocQName)Moves the primary location of the given node.voidNodeService. removeAspect(NodeRef nodeRef, QName aspectTypeQName)Remove an aspect and all related properties from a nodevoidNodeService. removeAssociation(NodeRef sourceRef, NodeRef targetRef, QName assocTypeQName)voidNodeService. removeChild(NodeRef parentRef, NodeRef childRef)Severs all parent-child relationships between two nodes.voidNodeService. removeProperty(NodeRef nodeRef, QName qname)Removes a property value completely.NodeRefNodeService. restoreNode(NodeRef archivedNodeRef, NodeRef destinationParentNodeRef, QName assocTypeQName, QName assocQName)Restore an individual node (along with its sub-tree nodes) to the target location.voidNodeService. setAssociations(NodeRef sourceRef, QName assocTypeQName, List<NodeRef> targetRefs)Re-assign all typed target associations for a given node.voidNodeService. setProperties(NodeRef nodeRef, Map<QName,Serializable> properties)Replace all current properties on the node with the given properties.voidNodeService. setProperty(NodeRef nodeRef, QName qname, Serializable value)Sets the value of a property to be anySerializableinstance.voidNodeService. 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.voidNodeService. 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 NodeRefResultSetRow. getNodeRef()The reference to the node that equates to this row in the result setNodeRefResultSetRow. getNodeRef(String selectorName)Gets the node ref related to the named selectorNodeRefResultSetSPI. 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 booleanSearchService. contains(NodeRef nodeRef, QName propertyQName, String googleLikePattern)Search for string pattern in both the node text (if present) and node propertiesbooleanSearchService. contains(NodeRef nodeRef, QName propertyQName, String googleLikePattern, SearchParameters.Operator defaultOperator)Search for string pattern in both the node text (if present) and node propertiesbooleanSearchService. 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 voidPermissionService. clearPermission(NodeRef nodeRef, String authority)Delete all permission for the given authority.voidPermissionService. deletePermission(NodeRef nodeRef, String authority, String permission)Find and delete a access control entry by node, authentication and permission.voidPermissionService. 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 nodebooleanPermissionService. 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 nodeAccessStatusPermissionService. hasPermission(NodeRef nodeRef, String permission)Check that the given authentication has a particular permission for the given node.AccessStatusPermissionService. 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 permissionsvoidPermissionService. setInheritParentPermissions(NodeRef nodeRef, boolean inheritParentPermissions)Set the global inheritance behaviour for permissions on a node.voidPermissionService. setInheritParentPermissions(NodeRef nodeRef, boolean inheritParentPermissions, boolean asyncCall)Set the global inheritance behavior for permissions on a node.voidPermissionService. setPermission(NodeRef nodeRef, String authority, String permission, boolean allow)Set a specific permission on a node.
-