public interface DocumentLinkService
| Modifier and Type | Method and Description |
|---|---|
NodeRef |
createDocumentLink(NodeRef source,
NodeRef destination)
Creates a link node as child of the destination node
|
DeleteLinksStatusReport |
deleteLinksToDocument(NodeRef document)
Deletes all links having the provided node as destination.
|
NodeRef |
getLinkDestination(NodeRef linkNodeRef)
Returns the destination node of the provided link
|
List<Long> |
getNodeLinksIds(NodeRef nodeRef)
Returns the associated link ids for a node, from all stores
|
NodeRef createDocumentLink(NodeRef source, NodeRef destination)
source - Node to create a link for. Can be a file or a folder.destination - Destination to create the link in. Must be a folder.NodeRef getLinkDestination(NodeRef linkNodeRef)
linkNodeRef - The link node.List<Long> getNodeLinksIds(NodeRef nodeRef)
nodeRef - DeleteLinksStatusReport deleteLinksToDocument(NodeRef document)
document - The destination of the links to be deleted.Copyright © 2005–2020 Alfresco Software. All rights reserved.