Interface IImageDAO
-
- All Known Implementing Classes:
ImageDAO
public interface IImageDAOIImageDAO Interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(int nIdImage, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the tablevoidinsert(Image image, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the table.Imageload(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tableList<Integer>selectIds(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load list of ids imageList<Integer>selectIdsByGallery(int nGalleryId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load list of ids image by id galleryList<Integer>selectIdsLinkedToGallery(int nGalleryId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the list of image identifiers that are linked with a galleryList<Image>selectImagesByIds(List<Integer> listIds, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load list images by idsList<Image>selectImagesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the image objects and returns them as a Listvoidstore(Image image, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the record in the table
-
-
-
Method Detail
-
insert
void insert(Image image, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.- Parameters:
image- instance of the Image object to inssertplugin- the Plugin
-
store
void store(Image image, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table- Parameters:
image- the reference of the Imageplugin- the Plugin
-
delete
void delete(int nIdImage, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the table- Parameters:
nIdImage- int identifier of the Image to deleteplugin- the Plugin
-
load
Image load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table- Parameters:
strId- The identifier of the imageplugin- the Plugin- Returns:
- The instance of the image
-
selectImagesList
List<Image> selectImagesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the image objects and returns them as a List- Parameters:
plugin- the PlugindisplayType- the displayType ( Value by null if you want all the images)- Returns:
- The List which contains the data of all the image objects
-
selectIdsLinkedToGallery
List<Integer> selectIdsLinkedToGallery(int nGalleryId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of image identifiers that are linked with a gallery- Parameters:
nGalleryId- the gallery idplugin- the Plugin- Returns:
- The list of image identifiers that are linked with a gallery
-
selectIdsByGallery
List<Integer> selectIdsByGallery(int nGalleryId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load list of ids image by id gallery- Parameters:
nGalleryId- the gallery idplugin- the Plugin- Returns:
- The List which contains the data of all the image objects
-
selectIds
List<Integer> selectIds(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load list of ids image- Parameters:
nGalleryId- the gallery idplugin- the Plugin- Returns:
- The List which contains the data of all the image objects
-
-