Interface IImageService

  • All Known Implementing Classes:
    ImageService

    public interface IImageService
    IImageService
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String BEAN_NAME  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Image create​(Image image)
      Create an instance of the image class
      Image findByPrimaryKey​(int nKey)
      Returns an instance of a image whose identifier is specified in parameter
      Image findImageWithBinary​(int nKey)
      Returns an instance of a image whose identifier is specified in parameter
      java.util.List<Image> getImagesList()
      Load the data of all the image objects and returns them in form of a list
      void remove​(int nImageId)
      Remove the image whose identifier is specified in parameter
      Image update​(Image image)
      Update of the image which is specified in parameter
    • Method Detail

      • create

        Image create​(Image image)
        Create an instance of the image class
        Parameters:
        image - The instance of the Image which contains the informations to store
        plugin - the Plugin
        Returns:
        The instance of image which has been created with its primary key.
      • update

        Image update​(Image image)
        Update of the image which is specified in parameter
        Parameters:
        image - The instance of the Image which contains the data to store
        plugin - the Plugin
        Returns:
        The instance of the image which has been updated
      • remove

        void remove​(int nImageId)
        Remove the image whose identifier is specified in parameter
        Parameters:
        nImageId - The image Id
        plugin - the Plugin
      • findByPrimaryKey

        Image findByPrimaryKey​(int nKey)
        Returns an instance of a image whose identifier is specified in parameter
        Parameters:
        nKey - The image primary key
        plugin - the Plugin
        Returns:
        an instance of Image
      • findImageWithBinary

        Image findImageWithBinary​(int nKey)
        Returns an instance of a image whose identifier is specified in parameter
        Parameters:
        nKey - The image primary key
        plugin - the Plugin
        Returns:
        an instance of Image
      • getImagesList

        java.util.List<Image> getImagesList()
        Load the data of all the image objects and returns them in form of a list
        Parameters:
        plugin - the Plugin
        Returns:
        the list which contains the data of all the image objects