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 tablejava.util.List<java.lang.Integer>selectIds(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load list of ids imagejava.util.List<java.lang.Integer>selectIdsByGallery(int nGalleryId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load list of ids image by id galleryjava.util.List<java.lang.Integer>selectIdsLinkedToGallery(int nGalleryId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the list of image identifiers that are linked with a galleryjava.util.List<Image>selectImagesByIds(java.util.List<java.lang.Integer> listIds, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load list images by idsjava.util.List<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
java.util.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
java.util.List<java.lang.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
java.util.List<java.lang.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
java.util.List<java.lang.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
-
selectImagesByIds
java.util.List<Image> selectImagesByIds(java.util.List<java.lang.Integer> listIds, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load list images by ids- Parameters:
listIds- the list idsplugin- the Plugin- Returns:
- The List which contains the data of all the image objects
-
-