public final class GalleryDAO extends Object implements IGalleryDAO
| Constructor and Description |
|---|
GalleryDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nGalleryId)
Delete a record from the table
|
Gallery |
insert(Gallery gallery)
Insert a new record in the table.
|
Gallery |
load(int nId)
Load the data from the table
|
Gallery |
loadByCodeGallery(String strCodeGallery)
Load the data by code gallery from the table
|
List<Gallery> |
selectGalleryList()
Load the data of all the gallery objects and returns them as a List
|
void |
store(Gallery gallery)
Update the record in the table
|
public Gallery insert(Gallery gallery)
insert in interface IGalleryDAOgallery - instance of the gallery object to insertpublic Gallery load(int nId)
load in interface IGalleryDAOpublic void delete(int nGalleryId)
delete in interface IGalleryDAOnGalleryId - int identifier of the Gallery to deletepublic void store(Gallery gallery)
store in interface IGalleryDAOgallery - the reference of the gallerypublic List<Gallery> selectGalleryList()
selectGalleryList in interface IGalleryDAOpublic Gallery loadByCodeGallery(String strCodeGallery)
loadByCodeGallery in interface IGalleryDAOstrCodeGallery - The code galleryCopyright © 2023 City of Paris. All rights reserved.