Interface IGalleryImageDAO
-
- All Known Implementing Classes:
GalleryImageDAO
public interface IGalleryImageDAOIGalleryImageDAO Interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(int nIdGalleryImage)Delete a record from the tablevoiddeleteByGallery(int nIdGallery)Delete a record by id gallery from the tablevoiddeleteByGalleryAndImage(int nIdGallery, int nIdImage)Delete a record by id gallery id image from the tablevoiddeleteByImage(int nIdImage)Delete a record by id image from the tablejava.util.List<GalleryImage>findByGallery(int nIdGallery)voidinsert(GalleryImage galleryImage)Insert a new record in the table.GalleryImageload(int nKey)Load the data from the tablejava.util.List<GalleryImage>selectGalleryImagesList()Load the data of all the galleryImage objects and returns them as a Listvoidstore(GalleryImage galleryImage)Update the record in the table
-
-
-
Method Detail
-
insert
void insert(GalleryImage galleryImage)
Insert a new record in the table.- Parameters:
galleryImage- instance of the GalleryImage object to inssert
-
store
void store(GalleryImage galleryImage)
Update the record in the table- Parameters:
galleryImage- the reference of the GalleryImage
-
delete
void delete(int nIdGalleryImage)
Delete a record from the table- Parameters:
nIdGalleryImage- int identifier of the GalleryImage to delete
-
deleteByGallery
void deleteByGallery(int nIdGallery)
Delete a record by id gallery from the table- Parameters:
nIdGalleryImage- int identifier of the GalleryImage to delete
-
deleteByImage
void deleteByImage(int nIdImage)
Delete a record by id image from the table- Parameters:
nIdGalleryImage- int identifier of the GalleryImage to delete
-
deleteByGalleryAndImage
void deleteByGalleryAndImage(int nIdGallery, int nIdImage)Delete a record by id gallery id image from the table- Parameters:
nIdGallery-nIdImage-
-
load
GalleryImage load(int nKey)
Load the data from the table- Parameters:
strId- The identifier of the galleryImage- Returns:
- The instance of the galleryImage
-
findByGallery
java.util.List<GalleryImage> findByGallery(int nIdGallery)
- Parameters:
nIdGallery-- Returns:
- list of GalleryImage
-
selectGalleryImagesList
java.util.List<GalleryImage> selectGalleryImagesList()
Load the data of all the galleryImage objects and returns them as a List- Returns:
- The List which contains the data of all the galleryImage objects
-
-