| Constructor and Description |
|---|
ImageDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nIdImage,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete the Image Object
|
void |
deleteByTopic(int nTopicId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
remove all images associated to a given topic
|
void |
insert(Image image,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
Image |
load(int nIdImage,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the image Object
|
List<Image> |
selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
select all Images
|
List<Image> |
selectByTopicId(int nTopicId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
select images for a given topic
|
void |
store(Image image,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
update record in the table.
|
void |
storeMetadata(Image image,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
update image metadata in the table.
|
public void insert(Image image, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public void store(Image image, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public void storeMetadata(Image image, fr.paris.lutece.portal.service.plugin.Plugin plugin)
storeMetadata in interface IImageDAOimage - instance of the Image object to updateplugin - the pluginpublic Image load(int nIdImage, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public void delete(int nIdImage,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
public void deleteByTopic(int nTopicId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteByTopic in interface IImageDAOnTopicId - The Topic IDplugin - the Pluginpublic List<Image> selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
public List<Image> selectByTopicId(int nTopicId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectByTopicId in interface IImageDAOnTopicId - The topic IDplugin - The pluginCopyright © 2015 City of Paris. All rights reserved.