Interface IImageDAO

All Known Implementing Classes:
ImageDAO

public interface IImageDAO
IImageDAO Interface
  • Method Summary

    Modifier and Type
    Method
    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.
    load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load the data from the table
    selectIds(fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load list of ids image
    selectIdsByGallery(int nGalleryId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load list of ids image by id gallery
    selectIdsLinkedToGallery(int nGalleryId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load the list of image identifiers that are linked with a gallery
    selectImagesByIds(List<Integer> listIds, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load list images by ids
    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
  • Method Details

    • 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 inssert
      plugin - 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 Image
      plugin - 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 delete
      plugin - 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 image
      plugin - 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 Plugin
      displayType - 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 id
      plugin - 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 id
      plugin - 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 id
      plugin - the Plugin
      Returns:
      The List which contains the data of all the image objects
    • selectImagesByIds

      List<Image> selectImagesByIds(List<Integer> listIds, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load list images by ids
      Parameters:
      listIds - the list ids
      plugin - the Plugin
      Returns:
      The List which contains the data of all the image objects