public final class ArchiveItemHome extends Object
| Modifier and Type | Method and Description |
|---|---|
static int |
create(ArchiveItem archiveItem,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new archive item in the database queue.
|
static void |
delete(int nIdArchiveItem,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete the archive item record in the table
|
static ArchiveItem |
findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load the archive item wich the id is specified in parameter
|
static ArchiveItem |
getNextArchiveItemQueue(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Return the first archive item in the queue
|
static void |
updateState(int nIdArchiveItem,
String strState,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
update the archive state
|
public static int create(ArchiveItem archiveItem, fr.paris.lutece.portal.service.plugin.Plugin plugin)
archiveItem - the archive item to insertplugin - Pluginpublic static void delete(int nIdArchiveItem,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdArchiveItem - The indentifier of the archive item to removeplugin - Pluginpublic static ArchiveItem getNextArchiveItemQueue(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - Pluginpublic static void updateState(int nIdArchiveItem,
String strState,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdArchiveItem - the id of the archive itemstrState - the new stateplugin - Pluginpublic static ArchiveItem findByPrimaryKey(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - the archive item idplugin - PluginArchiveItemCopyright © 2016 Mairie de Paris. All rights reserved.