|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.archive.business.ArchiveItemDAO
public class ArchiveItemDAO
This class provides Data Access methods for MailItemQueue objects
| Constructor Summary | |
|---|---|
ArchiveItemDAO()
|
|
| Method Summary | |
|---|---|
void |
delete(int nIdMailItemQueue,
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 nIdMailItemQueue,
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ArchiveItemDAO()
| Method Detail |
|---|
public int nextArchiveItemId(fr.paris.lutece.portal.service.plugin.Plugin plugin)
nextArchiveItemId in interface IArchiveItemDAOplugin - Plugin
public void updateState(int nIdArchiveItem,
String strState,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
updateState in interface IArchiveItemDAOnIdArchiveItem - the id of the archive itemstrState - the new stateplugin - Plugin
public int insert(ArchiveItem archiveItem,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IArchiveItemDAOarchiveItem - the archive item to insertplugin - Plugin
public ArchiveItem load(int nIdMailItemQueue,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IArchiveItemDAOnIdMailItemQueue - the archive item idplugin - Plugin
ArchiveItem
public void delete(int nIdMailItemQueue,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IArchiveItemDAOnIdMailItemQueue - The indentifier of the archive item to removeplugin - Plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||