Interface IArchiveItemDAO
-
- All Known Implementing Classes:
ArchiveItemDAO
public interface IArchiveItemDAOIArchiveItemDAO
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(int nIdArchiveItem, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete the archive item record in the tableintinsert(ArchiveItem archiveItem, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new archive item in the database queue.ArchiveItemload(int nIdArchiveItem, fr.paris.lutece.portal.service.plugin.Plugin plugin)load the archive item wich the id is specified in parameterintnextArchiveItemId(fr.paris.lutece.portal.service.plugin.Plugin plugin)return the next archive item queue idvoidupdateState(int nIdArchiveItem, java.lang.String strState, fr.paris.lutece.portal.service.plugin.Plugin plugin)update the archive state
-
-
-
Method Detail
-
nextArchiveItemId
int nextArchiveItemId(fr.paris.lutece.portal.service.plugin.Plugin plugin)
return the next archive item queue id- Parameters:
plugin-Plugin- Returns:
- the next archive item queue id
-
updateState
void updateState(int nIdArchiveItem, java.lang.String strState, fr.paris.lutece.portal.service.plugin.Plugin plugin)update the archive state- Parameters:
nIdArchiveItem- the id of the archive itemstrState- the new stateplugin-Plugin
-
insert
int insert(ArchiveItem archiveItem, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new archive item in the database queue.- Parameters:
archiveItem- the archive item to insertplugin-Plugin- Returns:
- the id of the archive item
-
load
ArchiveItem load(int nIdArchiveItem, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load the archive item wich the id is specified in parameter- Parameters:
nIdArchiveItem- the archive item idplugin-Plugin- Returns:
ArchiveItem
-
delete
void delete(int nIdArchiveItem, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete the archive item record in the table- Parameters:
nIdArchiveItem- The indentifier of the archive item to removeplugin-Plugin
-
-