Interface ISecurityHeaderDAO

  • All Known Implementing Classes:
    SecurityHeaderDAO

    public interface ISecurityHeaderDAO
    ISecurityHeaderDAO Interface
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void delete​(int nSecurityHeaderId)
      Delete a record from the table.
      void insert​(SecurityHeader securityheader)
      Insert a new record in the table.
      SecurityHeader load​(int nKey)
      load the data of the security header from the table
      java.util.Collection<SecurityHeader> selectAll()
      Loads the data of all the security headers and returns them in form of a collection
      void store​(SecurityHeader securityheader)
      Update the record in the table.
      void updateIsActive​(int nSecurityHeaderId, boolean isActiveValue)
      Update of the is_active column value of securityHeader which is specified in parameter.
    • Method Detail

      • insert

        void insert​(SecurityHeader securityheader)
        Insert a new record in the table.
        Parameters:
        securityheader - instance of the SecurityHeader object to insert
      • store

        void store​(SecurityHeader securityheader)
        Update the record in the table.
        Parameters:
        securityheader - the reference of the SecurityHeader
      • delete

        void delete​(int nSecurityHeaderId)
        Delete a record from the table.
        Parameters:
        nSecurityHeaderId - int identifier of the SecurityHeader to delete
      • updateIsActive

        void updateIsActive​(int nSecurityHeaderId,
                            boolean isActiveValue)
        Update of the is_active column value of securityHeader which is specified in parameter.
        Parameters:
        nSecurityHeaderId - The securityHeader Id
        isActiveValue - The value to set to is_active column
      • load

        SecurityHeader load​(int nKey)
        load the data of the security header from the table
        Parameters:
        nKey - The identifier of the securityHeader
        Returns:
        The instance of the securityHeader
      • selectAll

        java.util.Collection<SecurityHeader> selectAll()
        Loads the data of all the security headers and returns them in form of a collection
        Returns:
        the collection which contains the data of all the security headers