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 java.lang.ObjectAn 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 java.util.Set<java.lang.Long>getPrimaryChildAssocIds()java.util.Set<java.lang.Long>getPrimaryParentAssocIds()java.util.Set<java.lang.Long>getSecondaryChildAssocIds()java.util.Set<java.lang.Long>getSecondaryParentAssocIds()java.util.Set<java.lang.Long>getSourceAssocIds()java.util.Set<java.lang.Long>getTargetAssocIds()static NodeDAO.NodeViewgetView(java.lang.Long nodeId)Finds an instance to manage the views for a specific node in this transaction
-
-
-
Method Detail
-
getView
public static NodeDAO.NodeView getView(java.lang.Long nodeId)
Finds an instance to manage the views for a specific node in this transaction
-
getPrimaryParentAssocIds
public java.util.Set<java.lang.Long> getPrimaryParentAssocIds()
-
getSecondaryParentAssocIds
public java.util.Set<java.lang.Long> getSecondaryParentAssocIds()
-
getPrimaryChildAssocIds
public java.util.Set<java.lang.Long> getPrimaryChildAssocIds()
-
getSecondaryChildAssocIds
public java.util.Set<java.lang.Long> getSecondaryChildAssocIds()
-
getTargetAssocIds
public java.util.Set<java.lang.Long> getTargetAssocIds()
-
getSourceAssocIds
public java.util.Set<java.lang.Long> getSourceAssocIds()
-
-