Class RelationshipDAO


  • public class RelationshipDAO
    extends java.lang.Object
    Dao implementation for relationship, based on JDBC.
    Since:
    7.0.0
    Version:
    $Revision: 15056 $ $Date: 2012-11-29 18:51:41 -0200 (Thu, 29 Nov 2012) $
    • Constructor Summary

      Constructors 
      Constructor Description
      RelationshipDAO()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.List<java.lang.String> getAllRelatableNodeRelationshipType​(java.lang.String sourceId, java.lang.String targetId, ITransaction transaction)
      Gets the relatableNode that have some relation between the relatable nodes in params.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RelationshipDAO

        public RelationshipDAO()
    • Method Detail

      • getAllRelatableNodeRelationshipType

        public static java.util.List<java.lang.String> getAllRelatableNodeRelationshipType​(java.lang.String sourceId,
                                                                                           java.lang.String targetId,
                                                                                           ITransaction transaction)
        Gets the relatableNode that have some relation between the relatable nodes in params.
        Parameters:
        sourceId - identification node source.
        targetId - identification node target.
        transaction - the transaction for persistence access.
        Returns:
        a list that contains identifiers to some relatableNode.
        Since:
        7.0.0