Class ExtendedFieldValueDBDAO

    • Constructor Summary

      Constructors 
      Constructor Description
      ExtendedFieldValueDBDAO()
      Constructor for the ExtendedFieldValueDBDAO class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void create​(ExtendedFieldValue aExtendedFieldValue)
      Create a ExtendedFieldValue in persistent storage.
      void create​(java.sql.Connection aConnection, ExtendedFieldValue aExtendedFieldValue, boolean aCommit)
      Create a ExtendedFieldValue in persistent storage.
      void delete​(long aExtendedfieldValueID)
      Delete a ExtendedFieldValue in persistent storage.
      boolean exists​(java.lang.Long aExtendedFieldValueID)
      Find out if there exists in persistent storage a ExtendedFieldValue with the given id.
      ExtendedFieldValue read​(java.lang.Long aExtendedFieldID, java.lang.Long aInstanceID)
      Read the ExtendedFieldValue with the given extendedFieldID.
      void update​(ExtendedFieldValue aExtendedFieldValue)
      Update a ExtendedFieldValue in persistent storage.
      void update​(java.sql.Connection aConnection, ExtendedFieldValue aExtendedFieldValue, boolean aCommit)
      Read a ExtendedFieldValue in persistent storage.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • create

        public void create​(java.sql.Connection aConnection,
                           ExtendedFieldValue aExtendedFieldValue,
                           boolean aCommit)
                    throws java.sql.SQLException
        Create a ExtendedFieldValue in persistent storage.
        Parameters:
        aConnection - an open connection to the HarvestDatabase.
        aExtendedFieldValue - The ExtendedFieldValue to create in persistent storage
        aCommit - Should we commit this or not
        Throws:
        java.sql.SQLException - In case of Database access problems.
      • exists

        public boolean exists​(java.lang.Long aExtendedFieldValueID)
        Description copied from class: ExtendedFieldValueDAO
        Find out if there exists in persistent storage a ExtendedFieldValue with the given id.
        Specified by:
        exists in class ExtendedFieldValueDAO
        Parameters:
        aExtendedFieldValueID - An id associated with a ExtendedFieldValue
        Returns:
        true, if there already exists in persistent storage a ExtendedFieldValue with the given id.
      • read

        public ExtendedFieldValue read​(java.lang.Long aExtendedFieldID,
                                       java.lang.Long aInstanceID)
        Description copied from class: ExtendedFieldValueDAO
        Read the ExtendedFieldValue with the given extendedFieldID.
        Specified by:
        read in class ExtendedFieldValueDAO
        Parameters:
        aExtendedFieldID - A given ID for a ExtendedFieldValue
        aInstanceID - A given instanceID
        Returns:
        the ExtendedFieldValue with the given extendedFieldID.
      • update

        public void update​(java.sql.Connection aConnection,
                           ExtendedFieldValue aExtendedFieldValue,
                           boolean aCommit)
                    throws java.sql.SQLException
        Read a ExtendedFieldValue in persistent storage.
        Parameters:
        aConnection - an open connection to the HarvestDatabase
        aExtendedFieldValue - The ExtendedFieldValue to update
        aCommit - Should we commit this or not
        Throws:
        java.sql.SQLException - In case of database problems.