|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.archive.business.ArchiveItemHome
public final class ArchiveItemHome
This class provides Data Access methods for ArchiveItem objects
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static int create(ArchiveItem archiveItem,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
archiveItem - the archive item to insertplugin - Plugin
public 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 - Plugin
public 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 - Plugin
public static ArchiveItem findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - the archive item idplugin - Plugin
ArchiveItem
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||