Interface IArchiveItemDAO
- All Known Implementing Classes:
ArchiveItemDAO
public interface IArchiveItemDAO
IArchiveItemDAO
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(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.load(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, String strState, fr.paris.lutece.portal.service.plugin.Plugin plugin) update the archive state
-
Method Details
-
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, 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
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
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
-