public final class ImageResourceDAO extends Object implements IImageResourceDAO
Constructor and Description |
---|
ImageResourceDAO() |
Modifier and Type | Method and Description |
---|---|
void |
delete(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a ImageResource from the table
|
int |
insert(fr.paris.lutece.portal.service.image.ImageResource imageResource,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
fr.paris.lutece.portal.service.image.ImageResource |
load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the ImageResource from the table
|
public int insert(fr.paris.lutece.portal.service.image.ImageResource imageResource, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IImageResourceDAO
insert
in interface IImageResourceDAO
imageResource
- instance of the ImageResource object to insertplugin
- the pluginpublic fr.paris.lutece.portal.service.image.ImageResource load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IImageResourceDAO
load
in interface IImageResourceDAO
nId
- The identifier of the fileplugin
- the pluginpublic void delete(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IImageResourceDAO
delete
in interface IImageResourceDAO
nId
- The identifier of the ImageResourceplugin
- the pluginCopyright © 2016 Mairie de Paris. All Rights Reserved.