Modifier and Type | Method and Description |
---|---|
NodeRef |
CMISNodeInfo.getCurrentNodeNodeRef() |
NodeRef |
CMISNodeInfo.getNodeRef() |
Modifier and Type | Method and 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
|
Modifier and Type | Method and Description |
---|---|
Map<String,NodeRef> |
CmisFunctionEvaluationContext.getNodeRefs() |
Modifier and Type | Method and Description |
---|---|
Serializable |
CmisFunctionEvaluationContext.getProperty(NodeRef nodeRef,
String propertyName) |
Modifier and Type | Method and Description |
---|---|
void |
CmisFunctionEvaluationContext.setNodeInfos(Map<NodeRef,CMISNodeInfo> nodeInfos) |
void |
CmisFunctionEvaluationContext.setNodeRefs(Map<String,NodeRef> nodeRefs) |
Modifier and Type | Method and Description |
---|---|
Map<String,NodeRef> |
AlfrescoFunctionEvaluationContext.getNodeRefs() |
Modifier and Type | Method and Description |
---|---|
Serializable |
AlfrescoFunctionEvaluationContext.getProperty(NodeRef nodeRef,
String propertyName) |
Modifier and Type | Method and Description |
---|---|
Map<String,NodeRef> |
FunctionEvaluationContext.getNodeRefs() |
Modifier and Type | Method and Description |
---|---|
Serializable |
FunctionEvaluationContext.getProperty(NodeRef nodeRef,
String propertyName)
Get a property
|
Modifier and Type | Method and Description |
---|---|
NodeRef |
SingleTServiceImpl.getBaseName(NodeRef nodeRef) |
NodeRef |
TenantService.getBaseName(NodeRef nodeRef) |
NodeRef |
SingleTServiceImpl.getBaseName(NodeRef nodeRef,
boolean forceForNonTenant) |
NodeRef |
TenantService.getBaseName(NodeRef nodeRef,
boolean forceForNonTenant) |
NodeRef |
SingleTServiceImpl.getName(NodeRef nodeRef) |
NodeRef |
TenantService.getName(NodeRef nodeRef) |
NodeRef |
SingleTServiceImpl.getName(NodeRef inNodeRef,
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) |
Modifier and Type | Method and Description |
---|---|
NodeRef |
SingleTServiceImpl.getBaseName(NodeRef nodeRef) |
NodeRef |
TenantService.getBaseName(NodeRef nodeRef) |
NodeRef |
SingleTServiceImpl.getBaseName(NodeRef nodeRef,
boolean forceForNonTenant) |
NodeRef |
TenantService.getBaseName(NodeRef nodeRef,
boolean forceForNonTenant) |
NodeRef |
SingleTServiceImpl.getName(NodeRef nodeRef) |
NodeRef |
TenantService.getName(NodeRef nodeRef) |
NodeRef |
SingleTServiceImpl.getName(NodeRef inNodeRef,
NodeRef nodeRef) |
NodeRef |
TenantService.getName(NodeRef inNodeRef,
NodeRef nodeRef) |
QName |
SingleTServiceImpl.getName(NodeRef inNodeRef,
QName name) |
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) |
Modifier and Type | Method and 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
|
Modifier and Type | Method and 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 ID
|
NodeRef |
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.
|
Modifier and Type | Method and 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)
|
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.
|
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,
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.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.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 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.
|
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 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.
|
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 any
Serializable instance. |
void |
NodeService.setType(NodeRef nodeRef,
QName typeQName)
Re-sets the type of the node.
|
Modifier and Type | Method and 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.
|
Constructor and 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(NodeRef nodeRef) |
InvalidNodeRefException(String msg,
NodeRef nodeRef) |
InvalidNodeRefException(String msg,
NodeRef nodeRef,
Throwable cause) |
Status(Long dbId,
NodeRef nodeRef,
String changeTxnId,
Long dbTxnId,
boolean deleted) |
Modifier and Type | Method and Description |
---|---|
NodeRef |
ResultSetRow.getNodeRef()
The reference to the node that equates to this row in the result set
|
NodeRef |
ResultSetSPI.getNodeRef(int n)
Get the id of the node at the given index (if there is only one selector or no selector)
|
NodeRef |
ResultSetRow.getNodeRef(String selectorName)
Gets the node ref related to the named selector
|
Modifier and Type | Method and Description |
---|---|
Map<NodeRef,List<org.alfresco.util.Pair<String,List<String>>>> |
ResultSetSPI.getHighlighting()
Gets the highlighting results.
|
Map<String,NodeRef> |
ResultSetRow.getNodeRefs()
Gets the node refs
|
List<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.
|
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
|
Modifier and Type | Method and 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 node
|
Set<AccessPermission> |
PermissionService.getAllSetPermissions(NodeRef nodeRef)
Get all the AccessPermissions that are set for anyone for the given node
|
boolean |
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 node
|
Set<String> |
PermissionService.getSettablePermissions(NodeRef nodeRef)
Get the permissions that can be set for a given node
|
AccessStatus |
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 permissions
|
void |
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.
|
Copyright © 2005–2018 Alfresco Software. All rights reserved.