Interface ISecurityHeaderDAO

All Known Implementing Classes:
SecurityHeaderDAO

public interface ISecurityHeaderDAO
ISecurityHeaderDAO Interface
  • Method Summary

    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.
    load(int nKey)
    load the data of the security header from the table
    Returns all active security headers from a specified type (page or rest api)
    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 Details

    • 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

      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
    • selectActiveByType

      Collection<SecurityHeader> selectActiveByType(String strType)
      Returns all active security headers from a specified type (page or rest api)
      Parameters:
      strType - The type
      Returns:
      the collection which contains the data of all the securityHeaders