Interface IImageDAO
-
- All Known Implementing Classes:
ImageDAO
public interface IImageDAOIImageDAO
-
-
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 the Image ObjectvoiddeleteByTopic(int nTopicId, fr.paris.lutece.portal.service.plugin.Plugin plugin)remove all images associated to a given topicvoidinsert(Image image, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the table.Imageload(int nIdImage, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the image ObjectList<Image>selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)select all ImagesList<Image>selectByTopicId(int nTopicId, fr.paris.lutece.portal.service.plugin.Plugin plugin)select images for a given topicvoidstore(Image image, fr.paris.lutece.portal.service.plugin.Plugin plugin)update record in the table.voidstoreMetadata(Image image, fr.paris.lutece.portal.service.plugin.Plugin plugin)update image metadata 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 insertplugin- the plugin
-
store
void store(Image image, fr.paris.lutece.portal.service.plugin.Plugin plugin)
update record in the table.- Parameters:
image- instance of the Image object to updateplugin- the plugin
-
storeMetadata
void storeMetadata(Image image, fr.paris.lutece.portal.service.plugin.Plugin plugin)
update image metadata in the table.- Parameters:
image- instance of the Image object to updateplugin- the plugin
-
load
Image load(int nIdImage, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the image Object- Parameters:
nIdImage- the image idplugin- the plugin- Returns:
- the image Object
-
delete
void delete(int nIdImage, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete the Image Object- Parameters:
nIdImage- theimage idplugin- the plugin
-
selectAll
List<Image> selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
select all Images- Parameters:
plugin- the plugin- Returns:
- a list of Image
-
selectByTopicId
List<Image> selectByTopicId(int nTopicId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
select images for a given topic- Parameters:
nTopicId- The topic IDplugin- The plugin- Returns:
- The list
-
deleteByTopic
void deleteByTopic(int nTopicId, fr.paris.lutece.portal.service.plugin.Plugin plugin)remove all images associated to a given topic- Parameters:
nTopicId- The Topic IDplugin- the Plugin
-
-