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)
IImageResourceDAOinsert in interface IImageResourceDAOimageResource - 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)
IImageResourceDAOload in interface IImageResourceDAOnId - The identifier of the fileplugin - the pluginpublic void delete(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
IImageResourceDAOdelete in interface IImageResourceDAOnId - The identifier of the ImageResourceplugin - the pluginCopyright © 2016 City of Paris. All rights reserved.