| Constructor and Description |
|---|
ImageDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nImageId,
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 nId,
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
|
public void insert(Image image, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public Image load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public void delete(int nImageId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
public void store(Image image, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public List<Image> selectImagesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectImagesList in interface IImageDAOplugin - the Pluginpublic List<Integer> selectIdsLinkedToGallery(int nGalleryId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IImageDAOselectIdsLinkedToGallery in interface IImageDAOnGalleryId - the gallery idplugin - the Pluginpublic List<Image> selectImagesByIds(List<Integer> listIds, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IImageDAOselectImagesByIds in interface IImageDAOlistIds - the list idsplugin - the Pluginpublic List<Integer> selectIdsByGallery(int nGalleryId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IImageDAOselectIdsByGallery in interface IImageDAOnGalleryId - the gallery idplugin - the PluginCopyright © 2023 City of Paris. All rights reserved.