public interface IImageDAO
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nIdImage,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
insert(Image image,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
Image |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
List<Integer> |
selectIds(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load list of ids image
|
List<Integer> |
selectIdsByGallery(int nGalleryId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load list of ids image by id gallery
|
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
|
List<Image> |
selectImagesByIds(List<Integer> listIds,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load list images by ids
|
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
|
void |
store(Image image,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
void insert(Image image, fr.paris.lutece.portal.service.plugin.Plugin plugin)
image - instance of the Image object to inssertplugin - the Pluginvoid store(Image image, fr.paris.lutece.portal.service.plugin.Plugin plugin)
image - the reference of the Imageplugin - the Pluginvoid delete(int nIdImage,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdImage - int identifier of the Image to deleteplugin - the PluginImage load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strId - The identifier of the imageplugin - the PluginList<Image> selectImagesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the PlugindisplayType - the displayType ( Value by null if you want all the images)List<Integer> selectIdsLinkedToGallery(int nGalleryId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nGalleryId - the gallery idplugin - the PluginList<Integer> selectIdsByGallery(int nGalleryId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nGalleryId - the gallery idplugin - the PluginList<Integer> selectIds(fr.paris.lutece.portal.service.plugin.Plugin plugin)
nGalleryId - the gallery idplugin - the PluginCopyright © 2023 City of Paris. All rights reserved.