public interface IArchiveItemDAO
Modifier and Type | Method and Description |
---|---|
void |
delete(int nIdArchiveItem,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete the archive item record in the table
|
int |
insert(ArchiveItem archiveItem,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new archive item in the database queue.
|
ArchiveItem |
load(int nIdArchiveItem,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load the archive item wich the id is specified in parameter
|
int |
nextArchiveItemId(fr.paris.lutece.portal.service.plugin.Plugin plugin)
return the next archive item queue id
|
void |
updateState(int nIdArchiveItem,
String strState,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
update the archive state
|
int nextArchiveItemId(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- Plugin
void updateState(int nIdArchiveItem, String strState, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdArchiveItem
- the id of the archive itemstrState
- the new stateplugin
- Plugin
int insert(ArchiveItem archiveItem, fr.paris.lutece.portal.service.plugin.Plugin plugin)
archiveItem
- the archive item to insertplugin
- Plugin
ArchiveItem load(int nIdArchiveItem, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdArchiveItem
- the archive item idplugin
- Plugin
ArchiveItem
void delete(int nIdArchiveItem, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdArchiveItem
- The indentifier of the archive item to removeplugin
- Plugin
Copyright © 2018 City of Paris. All rights reserved.