Package org.alfresco.repo.domain.node
Class NodeDAO.NodeView
- java.lang.Object
-
- org.alfresco.repo.domain.node.NodeDAO.NodeView
-
- Enclosing interface:
- NodeDAO
public static class NodeDAO.NodeView extends Object
An object that contains data giving a 'view' of the node to be deleted. It is used for ensuring that node cleanup is only done for node-related data that has been handled by the NodeService's policy and related code. If new data is introduced to a node that has not been covered by the NodeService, then a subsequent node deletion will fail. This class is NOT thread-safe and should only be used within a transaction. Client code should use the getters to get the ID sets and add any IDs that have been visited during policy triggering.- Since:
- 4.1.1
- Author:
- Derek Hulley
-
-
Constructor Summary
Constructors Constructor Description NodeView()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<Long>getPrimaryChildAssocIds()Set<Long>getPrimaryParentAssocIds()Set<Long>getSecondaryChildAssocIds()Set<Long>getSecondaryParentAssocIds()Set<Long>getSourceAssocIds()Set<Long>getTargetAssocIds()static NodeDAO.NodeViewgetView(Long nodeId)Finds an instance to manage the views for a specific node in this transaction
-
-
-
Method Detail
-
getView
public static NodeDAO.NodeView getView(Long nodeId)
Finds an instance to manage the views for a specific node in this transaction
-
-