Interface IGalleryDAO

All Known Implementing Classes:
GalleryDAO

public interface IGalleryDAO
IGalleryDAO Interface
  • Method Details

    • insert

      Gallery insert(Gallery gallery)
      Insert a new record in the table.
      Parameters:
      gallery - instance of the gallery object to insert
    • store

      void store(Gallery gallery)
      Update the record in the table
      Parameters:
      gallery - the reference of the gallery
    • delete

      void delete(int nIdGallery)
      Delete a record from the table
      Parameters:
      nIdGallery - int identifier of the Gallery to delete
    • load

      Gallery load(int nKey)
      Load the data from the table
      Parameters:
      strId - The identifier of the gallery
      Returns:
      The instance of the gallery
    • loadByCodeGallery

      Gallery loadByCodeGallery(String strCodeGallery)
      Load the data by code gallery from the table
      Parameters:
      strCodeGallery - The code gallery
      Returns:
      The instance of the gallery
    • selectGalleryList

      List<Gallery> selectGalleryList()
      Load the data of all the gallery objects and returns them as a List
      Returns:
      The List which contains the data of all the gallery objects