public class DeletedNodesImpl extends Object implements DeletedNodes
Constructor and Description |
---|
DeletedNodesImpl() |
Modifier and Type | Method and Description |
---|---|
Node |
getDeletedNode(String originalId,
Parameters parameters,
boolean fullnode,
Map<String,UserInfo> mapUserInfo)
Gets a single deleted node by id.
|
CollectionWithPagingInfo<Node> |
listDeleted(Parameters parameters)
Lists deleted nodes using a ArchivedNodesCannedQuery
|
void |
purgeArchivedNode(String archivedId)
Permanently delete the node.
|
Node |
restoreArchivedNode(String archivedId)
Restores a deleted node and returns it.
|
void |
setNodeArchiveService(NodeArchiveService nodeArchiveService) |
void |
setNodes(Nodes nodes) |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) |
void |
setPersonService(PersonService personService) |
public void setNodeArchiveService(NodeArchiveService nodeArchiveService)
public void setPersonService(PersonService personService)
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
public void setNodes(Nodes nodes)
public CollectionWithPagingInfo<Node> listDeleted(Parameters parameters)
DeletedNodes
listDeleted
in interface DeletedNodes
public Node getDeletedNode(String originalId, Parameters parameters, boolean fullnode, Map<String,UserInfo> mapUserInfo)
DeletedNodes
getDeletedNode
in interface DeletedNodes
fullnode
- Should we return the full representation of the minimal one?public Node restoreArchivedNode(String archivedId)
DeletedNodes
restoreArchivedNode
in interface DeletedNodes
public void purgeArchivedNode(String archivedId)
DeletedNodes
purgeArchivedNode
in interface DeletedNodes
Copyright © 2005–2017 Alfresco Software. All rights reserved.