Class NodeDAO.NodeView

  • Enclosing interface:
    NodeDAO

    public static class NodeDAO.NodeView
    extends java.lang.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 Detail

      • NodeView

        public NodeView()
    • 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()