public final class GalleryImageDAO extends Object implements IGalleryImageDAO
| Constructor and Description |
|---|
GalleryImageDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nGalleryImageId)
Delete a record from the table
|
void |
deleteByGallery(int nGalleryId)
Delete a record by id gallery from the table
|
void |
deleteByGalleryAndImage(int nIdGallery,
int nIdImage)
Delete a record by id gallery id image from the table
|
void |
deleteByImage(int nImageId)
Delete a record by id image from the table
|
List<GalleryImage> |
findByGallery(int nIdGallery) |
void |
insert(GalleryImage galleryImage)
Insert a new record in the table.
|
GalleryImage |
load(int nId)
Load the data from the table
|
List<GalleryImage> |
selectGalleryImagesList()
Load the data of all the galleryImage objects and returns them as a List
|
void |
store(GalleryImage galleryImage)
Update the record in the table
|
public void insert(GalleryImage galleryImage)
insert in interface IGalleryImageDAOgalleryImage - instance of the GalleryImage object to inssertpublic GalleryImage load(int nId)
load in interface IGalleryImageDAOpublic List<GalleryImage> findByGallery(int nIdGallery)
findByGallery in interface IGalleryImageDAOpublic void delete(int nGalleryImageId)
delete in interface IGalleryImageDAOnGalleryImageId - int identifier of the GalleryImage to deletepublic void deleteByGallery(int nGalleryId)
deleteByGallery in interface IGalleryImageDAOpublic void deleteByImage(int nImageId)
deleteByImage in interface IGalleryImageDAOpublic void deleteByGalleryAndImage(int nIdGallery,
int nIdImage)
deleteByGalleryAndImage in interface IGalleryImageDAOpublic void store(GalleryImage galleryImage)
store in interface IGalleryImageDAOgalleryImage - the reference of the GalleryImagepublic List<GalleryImage> selectGalleryImagesList()
selectGalleryImagesList in interface IGalleryImageDAOCopyright © 2023 City of Paris. All rights reserved.