|
Uses of NodeRef in org.alfresco.repo.content |
Methods in org.alfresco.repo.content with parameters of type NodeRef | |
void |
ContentServicePolicies.OnContentUpdatePolicy.onContentUpdate(NodeRef nodeRef, boolean newContent) |
Uses of NodeRef in org.alfresco.repo.content.transform |
Methods in org.alfresco.repo.content.transform that return types with arguments of type NodeRef | |
TransformerConfig.getBlacklist(ContentTransformer transformer, String sourceMimetype, String targetMimetype) Returns a list of blacklisted NodeRefs of the specified transformer for the the combination of source and target mimetype. |
Uses of NodeRef in org.alfresco.repo.copy |
Methods in org.alfresco.repo.copy with parameters of type NodeRef | |
void |
CopyServicePolicies.BeforeCopyPolicy.beforeCopy(QName classRef, NodeRef sourceNodeRef, NodeRef targetNodeRef) |
void |
CopyServicePolicies.OnCopyCompletePolicy.onCopyComplete(QName classRef, NodeRef sourceNodeRef, NodeRef targetNodeRef, boolean copyToNewNode, Map<NodeRef> copyMap) |
Method parameters in org.alfresco.repo.copy with type arguments of type NodeRef | |
void |
CopyServicePolicies.OnCopyCompletePolicy.onCopyComplete(QName classRef, NodeRef sourceNodeRef, NodeRef targetNodeRef, boolean copyToNewNode, Map<NodeRef> copyMap) |
Uses of NodeRef in org.alfresco.repo.model.filefolder |
Methods in org.alfresco.repo.model.filefolder with parameters of type NodeRef | |
boolean |
HiddenAspect.checkHidden(NodeRef nodeRef, boolean both, boolean checkChildren) Checks whether the file should be hidden and applies the hidden and not indexed aspects to it and its children (if cascadeHidden == true). |
org.alfresco.repo.model.filefolder.HiddenAspect.Visibility |
HiddenAspect.getVisibility(org.alfresco.util.FileFilterMode.Client client, NodeRef nodeRef) Gets the visibility constraint for the given client on the given node. |
boolean |
HiddenAspect.hasHiddenAspect(NodeRef nodeRef) |
void |
HiddenAspect.hideNode(NodeRef nodeRef, boolean cascadeHiddenAspect, boolean cascadeIndexControlAspect, boolean clientControlled) Hides the node by applying the hidden and not indexed aspects. |
void |
HiddenAspect.hideNode(NodeRef nodeRef, int clientVisibilityMask, boolean cascadeHiddenAspect, boolean cascadeIndexControlAspect, boolean clientControlled) Hides the node by applying the hidden and not indexed aspects. |
void |
HiddenAspect.hideNodeExplicit(NodeRef nodeRef) Mark this node as hidden regardless of any name/pattern/matching rules. |
boolean |
HiddenAspect.isClientControlled(NodeRef nodeRef) |
org.alfresco.repo.model.filefolder.HiddenFileInfo |
HiddenAspect.onHiddenPath(NodeRef nodeRef) Checks whether the node is on a hidden path |
void |
HiddenAspect.removeHidden(NodeRef nodeRef) |
void |
HiddenAspect.removeHiddenAspect(NodeRef nodeRef) |
void |
HiddenAspect.showNode(NodeRef nodeRef, boolean cascade) Removes the hidden and index contol aspect. |
void |
HiddenAspect.unhideExplicit(NodeRef nodeRef) Remove the explicit hiding of a node. |
Uses of NodeRef in org.alfresco.repo.node |
Methods in org.alfresco.repo.node with parameters of type NodeRef | |
void |
NodeServicePolicies.BeforeAddAspectPolicy.beforeAddAspect(NodeRef nodeRef, QName aspectTypeQName) Called before an aspect is added to a node |
void |
NodeServicePolicies.BeforeArchiveNodePolicy.beforeArchiveNode(NodeRef nodeRef) Called before a node is archived. |
void |
NodeServicePolicies.BeforeCreateNodePolicy.beforeCreateNode(NodeRef parentRef, QName assocTypeQName, QName assocQName, QName nodeTypeQName) Called before a new node is created. |
void |
NodeServicePolicies.BeforeDeleteNodePolicy.beforeDeleteNode(NodeRef nodeRef) Called before a node is deleted. |
void |
NodeServicePolicies.BeforeMoveNodePolicy.beforeMoveNode(ChildAssociationRef oldChildAssocRef, NodeRef newParentRef) Called before a node is moved. |
void |
NodeServicePolicies.BeforeRemoveAspectPolicy.beforeRemoveAspect(NodeRef nodeRef, QName aspectTypeQName) Called before an aspect is removed from a node |
void |
NodeServicePolicies.BeforeSetNodeTypePolicy.beforeSetNodeType(NodeRef nodeRef, QName oldType, QName newType) Called before the type of a node is set explicitly. |
void |
NodeServicePolicies.BeforeUpdateNodePolicy.beforeUpdateNode(NodeRef nodeRef) Called before a node is updated. |
void |
NodeServicePolicies.OnAddAspectPolicy.onAddAspect(NodeRef nodeRef, QName aspectTypeQName) Called after an aspect has been added to a node |
void |
NodeServicePolicies.OnCreateStorePolicy.onCreateStore(NodeRef rootNodeRef) Called when a new node store has been created. |
void |
NodeServicePolicies.OnRemoveAspectPolicy.onRemoveAspect(NodeRef nodeRef, QName aspectTypeQName) Called after an aspect has been removed from a node |
void |
NodeServicePolicies.OnSetNodeTypePolicy.onSetNodeType(NodeRef nodeRef, QName oldType, QName newType) Called after the type of a node is set explicitly. |
void |
NodeServicePolicies.OnUpdateNodePolicy.onUpdateNode(NodeRef nodeRef) Called after a new node has been created. |
void |
NodeServicePolicies.OnUpdatePropertiesPolicy.onUpdateProperties(NodeRef nodeRef, Map<QName,Serializable> before, Map<QName,Serializable> after) Called after a node's properties have been changed. |
Uses of NodeRef in org.alfresco.repo.nodelocator |
Methods in org.alfresco.repo.nodelocator that return NodeRef | |
NodeLocatorService.getNode(String locatorName, NodeRef source, Map<String,Serializable> params) Locates and returns a NodeRef using the specified org.alfresco.repo.nodelocator.NodeLocator. |
Methods in org.alfresco.repo.nodelocator with parameters of type NodeRef | |
NodeLocatorService.getNode(String locatorName, NodeRef source, Map<String,Serializable> params) Locates and returns a NodeRef using the specified org.alfresco.repo.nodelocator.NodeLocator. |
Uses of NodeRef in org.alfresco.repo.policy |
Methods in org.alfresco.repo.policy that return NodeRef | |
ClassBehaviourBinding.getNodeRef() Gets the instance level node reference |
Methods in org.alfresco.repo.policy with parameters of type NodeRef | |
void |
BehaviourFilter.disableBehaviour(NodeRef nodeRef) Disable all behaviours for a given node |
void |
BehaviourFilter.disableBehaviour(NodeRef nodeRef, QName className) Disable behaviour for specific node and class |
void |
BehaviourFilter.enableBehaviour(NodeRef nodeRef) Enable behaviour for a specific node |
void |
BehaviourFilter.enableBehaviour(NodeRef nodeRef, QName className) Enable behaviour for specific node |
void |
BehaviourFilter.enableBehaviours(NodeRef nodeRef) |
ClassPolicyDelegate.get(NodeRef nodeRef, QName classQName) Gets the Policy implementation for the specified Class |
|
PropertyPolicyDelegate.get(NodeRef nodeRef, QName classQName, QName propertyQName) Gets the Policy implementation for the specified Class and Propery When multiple behaviours are bound to the policy for the class feature, an aggregate policy implementation is returned which invokes each policy in turn. |
|
AssociationPolicyDelegate.get(NodeRef nodeRef, QName classQName, QName assocTypeQName) Gets the Policy implementation for the specified Class and Association When multiple behaviours are bound to the policy for the class feature, an aggregate policy implementation is returned which invokes each policy in turn. |
|
ClassPolicyDelegate.get(NodeRef nodeRef, Set<QName> classQNames) Gets the policy implementation for the given classes. |
|
PropertyPolicyDelegate.get(NodeRef nodeRef, Set<QName> classQNames, QName propertyQName) Gets a Policy for all the given Class and Property |
|
AssociationPolicyDelegate.get(NodeRef nodeRef, Set<QName> classQNames, QName assocTypeQName) Gets a Policy for all the given Class and Association |
|
ClassPolicyDelegate.getList(NodeRef nodeRef, QName classQName) Gets the collection of Policy implementations for the specified Class |
|
PropertyPolicyDelegate.getList(NodeRef nodeRef, QName classQName, QName propertyQName) Gets the collection of Policy implementations for the specified Class and Property |
|
AssociationPolicyDelegate.getList(NodeRef nodeRef, QName classQName, QName assocTypeQName) Gets the collection of Policy implementations for the specified Class and Association |
|
ClassPolicyDelegate.getList(NodeRef nodeRef, Set<QName> classQNames) Gets the collection of Policy implementations for the given classes |
|
PropertyPolicyDelegate.getList(NodeRef nodeRef, Set<QName> classQNames, QName propertyQName) Gets the Policy instances for all the given Classes and Properties |
|
AssociationPolicyDelegate.getList(NodeRef nodeRef, Set<QName> classQNames, QName assocTypeQName) Gets the Policy instances for all the given Classes and Associations |
|
boolean |
BehaviourFilter.isEnabled(NodeRef nodeRef) Determine if behaviour is enabled for a specific node. |
boolean |
BehaviourFilter.isEnabled(NodeRef nodeRef, QName className) Determine if behaviour is enabled for specific node and class. |
Uses of NodeRef in org.alfresco.repo.template |
Methods in org.alfresco.repo.template that return NodeRef | |
TemplateProperties.getNodeRef() |
Uses of NodeRef in org.alfresco.repo.tenant |
Methods in org.alfresco.repo.tenant that return NodeRef | |
TenantService.getBaseName(NodeRef nodeRef) | |
TenantService.getBaseName(NodeRef nodeRef, boolean forceForNonTenant) | |
TenantService.getName(NodeRef nodeRef) | |
TenantService.getName(NodeRef inNodeRef, NodeRef nodeRef) | |
TenantService.getRootNode(NodeService nodeService, SearchService searchService, NamespaceService namespaceService, String rootPath, NodeRef rootNodeRef) |
Methods in org.alfresco.repo.tenant with parameters of type NodeRef | |
TenantService.getBaseName(NodeRef nodeRef) | |
TenantService.getBaseName(NodeRef nodeRef, boolean forceForNonTenant) | |
TenantService.getName(NodeRef nodeRef) | |
TenantService.getName(NodeRef inNodeRef, NodeRef nodeRef) | |
TenantService.getName(NodeRef inNodeRef, QName name) | |
TenantService.getRootNode(NodeService nodeService, SearchService searchService, NamespaceService namespaceService, String rootPath, NodeRef rootNodeRef) |
Uses of NodeRef in org.alfresco.repo.version |
Methods in org.alfresco.repo.version with parameters of type NodeRef | |
void |
VersionServicePolicies.AfterCreateVersionPolicy.afterCreateVersion(NodeRef versionableNode, Version version) Called after the version has been created |
void |
VersionServicePolicies.BeforeCreateVersionPolicy.beforeCreateVersion(NodeRef versionableNode) Called before a new version is created for a version |
Uses of NodeRef in org.alfresco.service.cmr.action |
Methods in org.alfresco.service.cmr.action that return NodeRef | |
Action.getNodeRef() Gets the node ref that represents the saved action node. |
Methods in org.alfresco.service.cmr.action with parameters of type NodeRef | |
boolean |
ActionService.evaluateAction(Action action, NodeRef actionedUponNodeRef) Evaluted the conditions set on an action. |
boolean |
ActionService.evaluateActionCondition(ActionCondition condition, NodeRef actionedUponNodeRef) Evaluate an action condition. |
void |
ActionService.executeAction(Action action, NodeRef actionedUponNodeRef) The actions conditions are always checked. |
void |
ActionService.executeAction(Action action, NodeRef actionedUponNodeRef, boolean checkConditions) The action is executed based on the asynchronous attribute of the action. |
void |
ActionService.executeAction(Action action, NodeRef actionedUponNodeRef, boolean checkConditions, boolean executeAsynchronously) Executes the specified action upon the node reference provided. |
ActionService.getAction(NodeRef nodeRef, String actionId) Gets an action stored against a given node reference. |
|
ActionService.getActionDefinitions(NodeRef nodeRef) Get all the action definitions that are applicable for the given node, based on its type and aspects. |
|
ActionService.getActions(NodeRef nodeRef) Gets all the actions currently saved on the given node reference. |
|
void |
ActionService.removeAction(NodeRef nodeRef, Action action) Removes an action associated with a node reference. |
void |
ActionService.removeAllActions(NodeRef nodeRef) Removes all actions associated with a node reference |
void |
ActionService.saveAction(NodeRef nodeRef, Action action) Save an action against a node reference. |
Uses of NodeRef in org.alfresco.service.cmr.coci |
Methods in org.alfresco.service.cmr.coci that return NodeRef | |
CheckOutCheckInService.cancelCheckout(NodeRef workingCopyNodeRef) Cancels the checkout for a given working copy. |
|
CheckOutCheckInService.checkin(NodeRef workingCopyNodeRef, Map<String,Serializable> versionProperties) If no content url is specified then current content set on the working copy is understood to be current. |
|
CheckOutCheckInService.checkin(NodeRef workingCopyNodeRef, Map<String,Serializable> versionProperties, String contentUrl) By default the checked in node is not keep checked in. |
|
CheckOutCheckInService.checkin(NodeRef workingCopyNodeRef, Map<String,Serializable> versionProperties, String contentUrl, boolean keepCheckedOut) Checks in the working node specified. |
|
CheckOutCheckInService.checkout(NodeRef nodeRef) Checks out the working copy of the node into the same parent node with the same child associations details. |
|
CheckOutCheckInService.checkout(NodeRef nodeRef, NodeRef destinationParentNodeRef, QName destinationAssocTypeQName, QName destinationAssocQName) Checks out the given node placing a working copy in the destination specified. |
|
CheckOutCheckInService.getCheckedOut(NodeRef nodeRef) Helper method to retrieve the original node (check-out source) for a working copy. |
|
CheckOutCheckInService.getWorkingCopy(NodeRef nodeRef) Helper method to retrieve the working copy node reference for a checked out node. |
Methods in org.alfresco.service.cmr.coci with parameters of type NodeRef | |
CheckOutCheckInService.cancelCheckout(NodeRef workingCopyNodeRef) Cancels the checkout for a given working copy. |
|
CheckOutCheckInService.checkin(NodeRef workingCopyNodeRef, Map<String,Serializable> versionProperties) If no content url is specified then current content set on the working copy is understood to be current. |
|
CheckOutCheckInService.checkin(NodeRef workingCopyNodeRef, Map<String,Serializable> versionProperties, String contentUrl) By default the checked in node is not keep checked in. |
|
CheckOutCheckInService.checkin(NodeRef workingCopyNodeRef, Map<String,Serializable> versionProperties, String contentUrl, boolean keepCheckedOut) Checks in the working node specified. |
|
CheckOutCheckInService.checkout(NodeRef nodeRef) Checks out the working copy of the node into the same parent node with the same child associations details. |
|
CheckOutCheckInService.checkout(NodeRef nodeRef, NodeRef destinationParentNodeRef, QName destinationAssocTypeQName, QName destinationAssocQName) Checks out the given node placing a working copy in the destination specified. |
|
CheckOutCheckInService.getCheckedOut(NodeRef nodeRef) Helper method to retrieve the original node (check-out source) for a working copy. |
|
CheckOutCheckInService.getWorkingCopy(NodeRef nodeRef) Helper method to retrieve the working copy node reference for a checked out node. |
|
boolean |
CheckOutCheckInService.isCheckedOut(NodeRef nodeRef) Determine if a node has been checked out or not |
boolean |
CheckOutCheckInService.isWorkingCopy(NodeRef nodeRef) Determine if a node is a working copy or not |
Uses of NodeRef in org.alfresco.service.cmr.lock |
Methods in org.alfresco.service.cmr.lock with parameters of type NodeRef | |
void |
LockService.checkForLock(NodeRef nodeRef) Checks to see if the current user has access to the specified node. |
LockService.getAdditionalInfo(NodeRef nodeRef) Retrieve the additional lock info associated with a node ref. |
|
org.alfresco.repo.lock.mem.LockState |
LockService.getLockState(NodeRef nodeRef) Retrieve the lock properties for the given NodeRef. |
LockService.getLockStatus(NodeRef nodeRef) Gets the lock status for the node reference relative to the current user. |
|
LockService.getLockStatus(NodeRef nodeRef, String userName) Gets the lock status for the node reference for the specified user. |
|
LockService.getLockType(NodeRef nodeRef) Gets the lock type for the node indicated. |
|
void |
LockService.lock(NodeRef nodeRef, LockType lockType) Places a lock on a node. |
void |
LockService.lock(NodeRef nodeRef, LockType lockType, int timeToExpire) Places a persistent lock on a node. |
void |
LockService.lock(NodeRef nodeRef, LockType lockType, int timeToExpire, boolean lockChildren) Places a lock on a node and optionally on all its children. |
void |
LockService.lock(NodeRef nodeRef, LockType lockType, int timeToExpire, org.alfresco.repo.lock.mem.Lifetime lifetime) Places a lock on a node. |
void |
LockService.lock(NodeRef nodeRef, LockType lockType, int timeToExpire, org.alfresco.repo.lock.mem.Lifetime lifetime, String additionalInfo) Places a lock on a node. |
void |
LockService.unlock(NodeRef nodeRef) Removes the lock on a node; if there is no lock then nothing is done. |
void |
LockService.unlock(NodeRef nodeRef, boolean lockChildren) Removes the lock on a node and optional on its children. |
void |
LockService.unlock(NodeRef nodeRef, boolean lockChildren, boolean allowCheckedOut) Removes the lock on a node and optional on its children. |
Method parameters in org.alfresco.service.cmr.lock with type arguments of type NodeRef | |
void |
LockService.lock(Collection<NodeRef> nodeRefs, LockType lockType, int timeToExpire) Places a lock on all the nodes referenced in the passed list. |
void |
LockService.unlock(Collection<NodeRef> nodeRefs) Removes a lock on the nodes provided. |
Uses of NodeRef in org.alfresco.service.cmr.model |
Methods in org.alfresco.service.cmr.model that return NodeRef | |
FileInfo.getLinkNodeRef() | |
FileFolderService.getLocalizedSibling(NodeRef nodeRef) Uses the cm:name of the given node and attempts to find a sibling node with a more specific localized name. |
|
FileInfo.getNodeRef() Get the underlying node value that needs to be permission checked. |
|
FileExistsException.getParentNodeRef() | |
FileFolderService.searchSimple(NodeRef contextNodeRef, String name) Get a node ref of the node that has the name within the parent node |
Methods in org.alfresco.service.cmr.model with parameters of type NodeRef | |
FileFolderService.copy(NodeRef sourceNodeRef, NodeRef targetParentRef, String newName) Copy a source file or folder. |
|
FileFolderService.create(NodeRef parentNodeRef, String name, QName typeQName) Create a file or folder; or any valid node of type derived from file or folder. |
|
FileFolderService.create(NodeRef parentNodeRef, String name, QName typeQName, QName assocQName) Create a file or folder; or any valid node of type derived from file or folder |
|
void |
FileFolderService.delete(NodeRef nodeRef) Delete a file or folder |
boolean |
FileFolderService.exists(NodeRef nodeRef) Check the validity of a node reference |
FileFolderService.getFileInfo(NodeRef nodeRef) Get the file info (name, folder, etc) for the given node |
|
FileFolderService.getLocalizedSibling(NodeRef nodeRef) Uses the cm:name of the given node and attempts to find a sibling node with a more specific localized name. |
|
FileFolderService.getNameOnlyPath(NodeRef rootNodeRef, NodeRef nodeRef) Get the file or folder names from the root down to and including the node provided. |
|
FileFolderService.getNamePath(NodeRef rootNodeRef, NodeRef nodeRef) Get the file or folder information from the root down to and including the node provided. |
|
FileFolderService.getReader(NodeRef nodeRef) Get the reader to the file represented by the node according to the File/Folder model. |
|
FileFolderService.getWriter(NodeRef nodeRef) Get the writer to the file represented by the node according to the File/Folder model. |
|
boolean |
FileFolderService.isHidden(NodeRef nodeRef) |
FileFolderService.list(NodeRef contextNodeRef) Lists immediate child files and folders of the given context node. |
|
FileFolderService.list(NodeRef contextNodeRef, boolean files, boolean folders, Set<QName> ignoreTypeQNames, List<Pair<QName,Boolean>> sortProps, PagingRequest pagingRequest) Lists page of immediate child files and/or folders of the given context node with optional filtering (exclusion of certain child file/folder subtypes) and sorting author janv |
|
FileFolderService.list(NodeRef contextNodeRef, boolean files, boolean folders, String pattern, Set<QName> ignoreTypeQNames, List<Pair<QName,Boolean>> sortProps, PagingRequest pagingRequest) Lists page of immediate child files and/or folders of the given context node with pattern matching and optional filtering (exclusion of certain child file/folder subtypes) and sorting Pattern uses '*' as a wildcard |
|
FileFolderService.list(NodeRef rootNodeRef, Set<QName> searchTypeQNames, Set<QName> ignoreAspectQNames, List<Pair<QName,Boolean>> sortProps, PagingRequest pagingRequest) Lists page of immediate child objects of the given context node with specification of which types to list and optional filtering (exclusion of certain child file/folder subtypes) and sorting |
|
FileFolderService.listDeepFolders(NodeRef contextNodeRef, SubFolderFilter filter) Deprecated. |
|
FileFolderService.listFiles(NodeRef contextNodeRef) Lists all immediate child files of the given context node Note: this could be a long list (and will be trimmed at a pre-configured maximum). |
|
FileFolderService.listFolders(NodeRef contextNodeRef) Lists all immediate child folders of the given context node Note: this could be a long list (and will be trimmed at a pre-configured maximum). |
|
FileFolderService.move(NodeRef sourceNodeRef, NodeRef sourceParentRef, NodeRef targetParentRef, String newName) Deprecated. From 3.4.2, use FileFolderService.moveFrom(NodeRef, NodeRef, NodeRef, String) or FileFolderService.move(NodeRef, NodeRef, String). See ALF-7692 |
|
FileFolderService.move(NodeRef sourceNodeRef, NodeRef targetParentRef, String newName) Move a file or folder to a new name and/or location. |
|
FileFolderService.moveFrom(NodeRef sourceNodeRef, NodeRef sourceParentRef, NodeRef targetParentRef, String newName) Move a file or folder to a new name and/or location. |
|
FileFolderService.rename(NodeRef fileFolderRef, String newName) Rename a file or folder in its current location |
|
FileFolderService.resolveNamePath(NodeRef rootNodeRef, List<String> pathElements) Resolve a file or folder name path from a given root node down to the final node. |
|
FileFolderService.resolveNamePath(NodeRef rootNodeRef, List<String> pathElements, boolean mustExist) Resolve a file or folder name path from a given root node down to the final node. |
|
FileFolderService.search(NodeRef contextNodeRef, String namePattern, boolean includeSubFolders) Deprecated. for shallow search use list, listFolders, listFiles, searchSimple. For deep listing use listDeepFolders. Avoid calling this method with any name pattern except for "*". |
|
FileFolderService.search(NodeRef contextNodeRef, String namePattern, boolean fileSearch, boolean folderSearch, boolean includeSubFolders) Deprecated. for shallow search use list, listFolders, listFiles, searchSimple. For deep listing use listDeepFolders. Avoid calling this method with any name pattern except for "*". |
|
FileFolderService.searchSimple(NodeRef contextNodeRef, String name) Get a node ref of the node that has the name within the parent node |
|
void |
FileFolderService.setHidden(NodeRef nodeRef, boolean isHidden) |
Method parameters in org.alfresco.service.cmr.model with type arguments of type NodeRef | |
FileFolderService.toFileInfoList(List<NodeRef> nodeRefs) |
Constructors in org.alfresco.service.cmr.model with parameters of type NodeRef |
FileExistsException(NodeRef parentNodeRef, String name) |
FileNotFoundException(NodeRef nodeRef) |
Uses of NodeRef in org.alfresco.service.cmr.rendition |
Methods in org.alfresco.service.cmr.rendition that return NodeRef | |
RenditionDefinition.getRenditionParent() Returns the node to which the rendition is linked when it is first created. |
Methods in org.alfresco.service.cmr.rendition with parameters of type NodeRef | |
void |
RenditionService.cancelRenditions(NodeRef sourceNode) Cancels all known cancellable running renditions for the given NodeRef via the org.alfresco.service.cmr.action.ActionTrackingService. |
void |
RenditionService.cancelRenditions(NodeRef sourceNode, String type) Cancels all known cancellable running renditions for the given NodeRef and type via the org.alfresco.service.cmr.action.ActionTrackingService. |
RenditionService.getRenditionByName(NodeRef node, QName renditionName) This method gets the rendition of the specified node identified by the provided rendition name. |
|
RenditionService.getRenditions(NodeRef node) This method gets all the renditions of the specified node. |
|
RenditionService.getRenditions(NodeRef node, String mimeTypePrefix) This method gets all the renditions of the specified node filtered by MIME-type prefix. |
|
RenditionService.getSourceNode(NodeRef renditionNode) This method gets the source node for the specified rendition node. |
|
boolean |
RenditionService.isRendition(NodeRef node) This method returns true if the specified NodeRef is a valid rendition node, else false . |
RenditionService.render(NodeRef sourceNode, QName renditionDefinitionQName) This method synchronously renders content as specified by the given rendition name. |
|
void |
RenditionService.render(NodeRef sourceNode, QName renditionDefinitionQName, org.alfresco.service.cmr.rendition.RenderCallback callback) This method asynchronously renders content as specified by the given rendition definition name. |
RenditionService.render(NodeRef sourceNode, RenditionDefinition renditionDefinition) This method synchronously renders content as specified by the given RenditionDefinition. |
|
void |
RenditionService.render(NodeRef sourceNode, RenditionDefinition renditionDefinition, org.alfresco.service.cmr.rendition.RenderCallback callback) This method asynchronously renders content as specified by the given RenditionDefinition. |
void |
RenditionDefinition.setRenditionParent(NodeRef renditionParent) Sets the node to which the rendition is linked when it is first created. |
Uses of NodeRef in org.alfresco.service.cmr.repository |
Methods in org.alfresco.service.cmr.repository that return NodeRef | |
CopyService.copy(NodeRef sourceNodeRef, NodeRef targetParentNodeRef, QName assocTypeQName, QName assocQName) By default children of the source node are not copied. |
|
CopyService.copy(NodeRef sourceNodeRef, NodeRef targetParentNodeRef, QName assocTypeQName, QName assocQName, boolean copyChildren) Creates a copy of the given node. |
|
CopyService.copyAndRename(NodeRef sourceNodeRef, NodeRef targetParentNodeRef, QName assocTypeQName, QName assocQName, boolean copyChildren) | |
NodeService.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() | |
AspectMissingException.getNodeRef() | |
NodeService.getNodeRef(Long nodeId) Get the node reference for a given node DB ID |
|
CopyService.getOriginal(NodeRef copiedNodeRef) Get the original for a given copied node |
|
ChildAssociationRef.getParentRef() | |
NodeService.getRootNode(StoreRef storeRef) | |
TransformationOptions.getSourceNodeRef() Gets the source node reference |
|
AssociationRef.getSourceRef() | |
NodeService.getStoreArchiveNode(StoreRef storeRef) Get the node where archived items will have gone when deleted from the given store. |
|
TransformationOptions.getTargetNodeRef() Get the target node reference |
|
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 NodeRef | |
NodeService.findNodes(org.alfresco.service.cmr.repository.NodeService.FindNodeParameters params) | |
NodeService.getAllRootNodes(StoreRef storeRef) | |
CopyService.getCopies(NodeRef nodeRef) | |
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 NodeRef | |
void |
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. |
|
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. |
TemplateService.buildDefaultModel(NodeRef person, NodeRef companyHome, NodeRef userHome, NodeRef template, TemplateImageResolver imageResolver) Helper method to build a default model |
|
void |
CopyService.copy(NodeRef sourceNodeRef, NodeRef destinationNodeRef) Copies the state of one node on top of another. |
CopyService.copy(NodeRef sourceNodeRef, NodeRef targetParentNodeRef, QName assocTypeQName, QName assocQName) By default children of the source node are not copied. |
|
CopyService.copy(NodeRef sourceNodeRef, NodeRef targetParentNodeRef, QName assocTypeQName, QName assocQName, boolean copyChildren) Creates a copy of the given node. |
|
CopyService.copyAndRename(NodeRef sourceNodeRef, NodeRef targetParentNodeRef, QName assocTypeQName, QName assocQName, boolean copyChildren) | |
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.exists(NodeRef nodeRef) |
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.getChildAssocs(NodeRef nodeRef, Set<QName> childNodeTypeQNames) Retrieve immediate children of a given node where the child nodes are in the given inclusive list. |
|
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. |
|
CopyService.getCopies(NodeRef nodeRef) | |
PagingResults<org.alfresco.service.cmr.repository.CopyService.CopyInfo> |
CopyService.getCopies(NodeRef originalNodeRef, NodeRef copyParentNodeRef, PagingRequest pagingRequest) Get the copies of a given node |
PagingResults<org.alfresco.service.cmr.repository.CopyService.CopyInfo> |
CopyService.getCopies(NodeRef originalNodeRef, PagingRequest pagingRequest) Get the copies of a given node |
NodeService.getNodeAclId(NodeRef nodeRef) | |
org.alfresco.service.cmr.repository.NodeRef.Status |
NodeService.getNodeStatus(NodeRef nodeRef) Gets the ID of the last transaction that caused the node to change. |
CopyService.getOriginal(NodeRef copiedNodeRef) Get the original for a given copied node |
|
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 match |
|
NodeService.getPath(NodeRef nodeRef) The root node has an entry in the path(s) returned. |
|
NodeService.getPaths(NodeRef nodeRef, boolean primaryOnly) 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) | |
ContentService.getReader(NodeRef nodeRef, QName propertyQName) Gets a reader for the content associated with the given node property. |
|
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. |
|
CopyService.getTopLevelNodeNewName(NodeRef sourceNodeRef, NodeRef targetParentRef, QName assocTypeQName, QName assocQName) Determines if top-level node name will be changed during copy according to policies. |
|
NodeService.getType(NodeRef nodeRef) | |
ContentService.getWriter(NodeRef nodeRef, QName propertyQName, boolean update) Get a content writer for the given node property, choosing to optionally have the node property updated automatically when the content stream closes. |
|
boolean |
NodeService.hasAspect(NodeRef nodeRef, QName aspectTypeQName) 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 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. |
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 |
TransformationOptions.setSourceNodeRef(NodeRef sourceNodeRef) Set the source node reference |
void |
TransformationOptions.setTargetNodeRef(NodeRef targetNodeRef) Set the taget node reference |
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 | |
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 |
AspectMissingException(QName missingAspect, NodeRef nodeRef) Constructor |
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) |
TransformationOptions(NodeRef sourceNodeRef, QName sourceContentProperty, NodeRef targetNodeRef, QName targetContentProperty) Constructor |
Uses of NodeRef in org.alfresco.service.cmr.search |
Methods in org.alfresco.service.cmr.search that return NodeRef | |
CategoryService.createCategory(NodeRef parent, String name) Create a new category. |
|
CategoryService.createClassification(StoreRef storeRef, QName aspectName, String attributeName) Create a new category. |
|
CategoryService.createRootCategory(StoreRef storeRef, QName aspectName, String name) Create a new root category in the given classification |
|
ResultSetRow.getNodeRef() The reference to the node that equates to this row in the result set |
|
ResultSetSPI.getNodeRef(int n) Get the id of the node at the given index (if there is only one selector or no selector) |
|
ResultSetRow.getNodeRef(String selectorName) Gets the node ref related to the named selector |
Methods in org.alfresco.service.cmr.search that return types with arguments of type NodeRef | |
ResultSetSPI.getNodeRefs() Get a list of all the node refs in the result set (if there is only one selector or no selector) |
|
ResultSetRow.getNodeRefs() Gets the node refs |
|
CategoryService.getTopCategories(StoreRef storeRef, QName aspectName, int count) Get the most polular categories |
|
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 NodeRef | |
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, org.alfresco.service.cmr.search.SearchParameters.Operator defaultOperator) Search for string pattern in both the node text (if present) and node properties |
CategoryService.createCategory(NodeRef parent, String name) Create a new category. |
|
void |
CategoryService.deleteCategory(NodeRef nodeRef) Delete a category |
CategoryService.getCategory(NodeRef parent, QName aspectName, String name) Looks up a category by name under its immediate parent. |
|
CategoryService.getChildren(NodeRef categoryRef, org.alfresco.service.cmr.search.CategoryService.Mode mode, org.alfresco.service.cmr.search.CategoryService.Depth depth) Get the children of a given category node |
|
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 |
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. |
|
SearchService.selectProperties(NodeRef contextNodeRef, String xpath, QueryParameterDefinition[] parameters, NamespacePrefixResolver namespacePrefixResolver, boolean followAllParentLinks) Select properties using an xpath expression |
|
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 that return NodeRef | |
PersonService.createPerson(Map<QName,Serializable> properties) Create a new person with the given properties. |
|
PersonService.createPerson(Map<QName,Serializable> properties, Set<String> zones) Create a new person with the given properties, recording them against the given zone name (usually identifying an external user registry from which the details were obtained). |
|
AuthorityService.getAuthorityNodeRef(String name) Gets the authority node for the specified name |
|
PersonService.PersonInfo.getNodeRef() Get the underlying node value that needs to be permission checked. |
|
AuthorityService.getOrCreateZone(String zoneName) Gets or creates an authority zone node with the specified name |
|
PersonService.getPeopleContainer() Return the container that stores people. |
|
PersonService.getPerson(String userName) Get a person by userName. |
|
PersonService.getPerson(String userName, boolean autoCreateHomeFolderAndMissingPersonIfAllowed) Retrieve the person NodeRef for a username, optionally creating the home folder if it does not exist and optionally creating the person if they don't exist AND the PersonService is configured to allow the creation of missing persons PersonService.setCreateMissingPeople(boolean). |
|
PersonService.getPersonOrNull(String userName) Get a person by userName. |
|
AuthorityService.getZone(String zoneName) Gets an authority zone node with the specified name |
Methods in org.alfresco.service.cmr.security that return types with arguments of type NodeRef | |
PersonService.getAllPeople() | |
PersonService.getPeopleFilteredByProperty(QName propertyKey, Serializable propertyValue, int count) Get people filtered by the given property name/value pair. |
Methods in org.alfresco.service.cmr.security with parameters of type NodeRef | |
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 |
void |
PersonService.deletePerson(NodeRef personRef) Delete the person identified by the given ref. |
void |
PersonService.deletePerson(NodeRef personRef, boolean deleteAuthentication) Delete the person identified by the given ref, and optionally delete the associated authentication, if one. |
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. |
PermissionService.getPermissions(NodeRef nodeRef) Get all the AccessPermissions that are granted/denied to the current authentication for the given node |
|
PersonService.getPerson(NodeRef personRef) Retrieve the person info for an existing person NodeRef |
|
PermissionService.getSettablePermissions(NodeRef nodeRef) Get the permissions that can be set for a given node |
|
PermissionService.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 permissions |
|
void |
PermissionService.setInheritParentPermissions(NodeRef nodeRef, boolean inheritParentPermissions) Set the global inheritance behaviour for permissions on a node. |
void |
PermissionService.setPermission(NodeRef nodeRef, String authority, String permission, boolean allow) Set a specific permission on a node. |
Constructors in org.alfresco.service.cmr.security with parameters of type NodeRef |
PersonService.PersonInfo(NodeRef nodeRef, String userName, String firstName, String lastName) |
Uses of NodeRef in org.alfresco.service.cmr.site |
Methods in org.alfresco.service.cmr.site that return NodeRef | |
SiteService.createContainer(String shortName, String componentId, QName containerType, Map<QName,Serializable> containerProperties) Creates a container for a component is a site of the given container type (must be a sub-type of st:siteContainer) |
|
SiteService.getContainer(String shortName, String componentId) Gets the "container" folder for the specified component. |
|
SiteInfo.getNodeRef() Get the site node reference |
|
SiteService.getSiteRoot() Gets the reference to the folder that is the Site root node. |
Methods in org.alfresco.service.cmr.site with parameters of type NodeRef | |
void |
SiteService.cleanSitePermissions(NodeRef relocatedNode, SiteInfo containingSite) This method cleans the permissions on the specified node. |
SiteService.getSite(NodeRef nodeRef) This method gets the SiteInfo for the Share Site which contains the given NodeRef. |
|
SiteService.getSiteShortName(NodeRef nodeRef) This method gets the shortName for the Share Site which contains the given NodeRef. |
Uses of NodeRef in org.alfresco.service.cmr.tagging |
Methods in org.alfresco.service.cmr.tagging that return NodeRef | |
TaggingService.addTag(NodeRef nodeRef, String tag) Add a tag to a node. |
|
TaggingService.changeTag(StoreRef storeRef, String existingTag, String newTag) | |
TaggingService.createTag(StoreRef storeRef, String tag) Create a new tag |
|
TaggingService.getTagNodeRef(StoreRef storeRef, String tag) Gets the node reference for a given tag. |
Methods in org.alfresco.service.cmr.tagging that return types with arguments of type NodeRef | |
TaggingService.addTags(NodeRef nodeRef, List<String> tags) Adds a list of tags to a node. |
|
TaggingService.findTaggedNodes(StoreRef storeRef, String tag) Find all nodes that have been tagged with the specified tag. |
|
TaggingService.findTaggedNodes(StoreRef storeRef, String tag, NodeRef nodeRef) Find all nodes that have been tagged with the specified tag and reside within the context of the node reference provided. |
|
TaggingService.getTags(NodeRef nodeRef, PagingRequest pagingRequest) Get a paged list of all the tags on a node |
|
TaggingService.getTags(StoreRef storeRef, PagingRequest pagingRequest) Get a paged list of all the tags currently available |
Methods in org.alfresco.service.cmr.tagging with parameters of type NodeRef | |
TaggingService.addTag(NodeRef nodeRef, String tag) Add a tag to a node. |
|
TaggingService.addTags(NodeRef nodeRef, List<String> tags) Adds a list of tags to a node. |
|
void |
TaggingService.addTagScope(NodeRef nodeRef) Adds a tag scope to the specified node |
void |
TaggingService.clearTags(NodeRef nodeRef) Clears all tags from an already tagged node. |
List<org.alfresco.service.cmr.tagging.TagScope> |
TaggingService.findAllTagScopes(NodeRef nodeRef) Finds all the tag scopes for the specified node. |
TaggingService.findTaggedNodes(StoreRef storeRef, String tag, NodeRef nodeRef) Find all nodes that have been tagged with the specified tag and reside within the context of the node reference provided. |
|
org.alfresco.service.cmr.tagging.TagScope |
TaggingService.findTagScope(NodeRef nodeRef) Finds the 'nearest' tag scope for the specified node. |
TaggingService.getTagName(NodeRef nodeRef) | |
TaggingService.getTags(NodeRef nodeRef) Get all the tags on a node |
|
TaggingService.getTags(NodeRef nodeRef, PagingRequest pagingRequest) Get a paged list of all the tags on a node |
|
boolean |
TaggingService.hasTag(NodeRef nodeRef, String tag) Indicates whether a node has the specified tag or not. |
boolean |
TaggingService.isTagScope(NodeRef nodeRef) Indicates whether the node reference is a tag scope |
void |
TaggingService.refreshTagScope(NodeRef nodeRef, boolean async) Refreshes the tag count of the passed tag scope by recounting all the tags of the children of the scope. |
void |
TaggingService.removeTag(NodeRef nodeRef, String tag) Remove a tag from a node. |
void |
TaggingService.removeTags(NodeRef nodeRef, List<String> tags) Removes a list of tags from a node. |
void |
TaggingService.removeTagScope(NodeRef nodeRef) Removes a tag scope from a specified node. |
void |
TaggingService.setTags(NodeRef nodeRef, List<String> tags) Sets the list of tags that are applied to a node, replaces any existing tags with those provided. |
Uses of NodeRef in org.alfresco.service.cmr.version |
Methods in org.alfresco.service.cmr.version that return NodeRef | |
Version.getFrozenStateNodeRef() Gets the reference to the node that contains the frozen state of the version. |
|
Version.getVersionedNodeRef() Gets a reference to the node that this version was created from. |
|
VersionService.restore(NodeRef nodeRef, NodeRef parentNodeRef, QName assocTypeQName, QName assocQName) By default a deep restore is performed. |
|
VersionService.restore(NodeRef nodeRef, NodeRef parentNodeRef, QName assocTypeQName, QName assocQName, boolean deep) Restores a node not currently present in the store, but that has a version history. |
Methods in org.alfresco.service.cmr.version with parameters of type NodeRef | |
VersionService.createVersion(NodeRef nodeRef, Map<String,Serializable> versionProperties) Creates a new version based on the referenced node. |
|
VersionService.createVersion(NodeRef nodeRef, Map<String,Serializable> versionProperties, boolean versionChildren) Creates a new version based on the referenced node. |
|
void |
VersionService.deleteVersion(NodeRef nodeRef, Version version) Delete a specific version associated with a node reference. |
void |
VersionService.deleteVersionHistory(NodeRef nodeRef) Delete the version history associated with a node reference. |
void |
VersionService.ensureVersioningEnabled(NodeRef nodeRef, Map<QName,Serializable> versionProperties) Ensures that a node has the versionable aspect applied to it, and has at least an initial entry in the version store. |
VersionService.getCurrentVersion(NodeRef nodeRef) Gets the version object for the current version of the node reference passed. |
|
VersionService.getVersionHistory(NodeRef nodeRef) Gets the version history information for a node. |
|
boolean |
VersionService.isAVersion(NodeRef nodeRef) Is the nodeRef a version node? |
boolean |
VersionService.isVersioned(NodeRef nodeRef) Is the nodeRef versioned? |
VersionService.restore(NodeRef nodeRef, NodeRef parentNodeRef, QName assocTypeQName, QName assocQName) By default a deep restore is performed. |
|
VersionService.restore(NodeRef nodeRef, NodeRef parentNodeRef, QName assocTypeQName, QName assocQName, boolean deep) Restores a node not currently present in the store, but that has a version history. |
|
void |
VersionService.revert(NodeRef nodeRef) Revert the state of the node to the current version. |
void |
VersionService.revert(NodeRef nodeRef, boolean deep) Revert the state of the node to the current version. |
void |
VersionService.revert(NodeRef nodeRef, Version version) Revert the state of the node to the specified version. |
void |
VersionService.revert(NodeRef nodeRef, Version version, boolean deep) Revert the state of the node to the specified version. |
Method parameters in org.alfresco.service.cmr.version with type arguments of type NodeRef | |
VersionService.createVersion(Collection<NodeRef> nodeRefs, Map<String,Serializable> versionProperties) Creates new versions based on the list of node references provided. |
Uses of NodeRef in org.alfresco.service.cmr.workflow |
Fields in org.alfresco.service.cmr.workflow declared as NodeRef | |
WorkflowInstance.context Deprecated. |
|
WorkflowInstance.initiator Deprecated. |
|
WorkflowInstance.workflowPackage Deprecated. |
Methods in org.alfresco.service.cmr.workflow that return NodeRef | |
WorkflowService.createPackage(NodeRef container) Create a Workflow Package (a container of content to route through the Workflow). |
|
WorkflowInstance.getContext() | |
WorkflowInstance.getInitiator() | |
WorkflowInstance.getWorkflowPackage() |
Methods in org.alfresco.service.cmr.workflow that return types with arguments of type NodeRef | |
WorkflowService.getPackageContents(NodeRef packageRef) Get a list of node refs to all the package contents. |
|
WorkflowService.getPackageContents(String taskId) Get a list of node refs to all the package contents for the given task id. |
Methods in org.alfresco.service.cmr.workflow with parameters of type NodeRef | |
WorkflowService.createPackage(NodeRef container) Create a Workflow Package (a container of content to route through the Workflow). |
|
WorkflowService.deployDefinition(NodeRef workflowDefinition) Deploy a Workflow Definition to the Alfresco Repository Note: The specified content object must be of type bpm:workflowdefinition. |
|
WorkflowService.getPackageContents(NodeRef packageRef) Get a list of node refs to all the package contents. |
|
WorkflowService.getWorkflowsForContent(NodeRef packageItem, boolean active) Gets the Workflows that act upon the specified Repository content. |
|
boolean |
WorkflowService.isDefinitionDeployed(NodeRef workflowDefinition) Is the specified Workflow Definition already deployed? Note: the notion of "already deployed" may differ between bpm engines. |
WorkflowService.startWorkflowFromTemplate(NodeRef templateDefinition) Start a Workflow Instance from an existing "Start Task" template node held in the Repository. |
Method parameters in org.alfresco.service.cmr.workflow with type arguments of type NodeRef | |
WorkflowService.updateTask(String taskId, Map<QName,Serializable> properties, Map<QName,List<NodeRef>> add, Map<QName,List<NodeRef>> remove) Update the Properties and Associations of a Task |
Constructors in org.alfresco.service.cmr.workflow with parameters of type NodeRef |
WorkflowInstance(String id, WorkflowDefinition definition, String description, NodeRef initiator, NodeRef workflowPackage, NodeRef context, boolean active, Date startDate, Date endDate) |
|