mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
Merged HEAD (5.2) to 5.2.N (5.2.1)
126599 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2) 124903 gjames: RA-850 Purge Deleted Node git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126944 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -160,4 +160,12 @@ public class DeletedNodesImpl implements DeletedNodes
|
||||
throw new ApiException("Unable to restore node "+archivedId);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void purgeArchivedNode(String archivedId)
|
||||
{
|
||||
//First check the node is valid and has been archived.
|
||||
NodeRef validatedNodeRef = nodes.validateNode(StoreRef.STORE_REF_ARCHIVE_SPACESSTORE, archivedId);
|
||||
nodeArchiveService.purgeArchivedNode(validatedNodeRef);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user