public class MailItemQueueDAO extends Object implements IMailItemQueueDAO
Constructor and Description |
---|
MailItemQueueDAO() |
Modifier and Type | Method and Description |
---|---|
void |
delete(int nIdMailItemQueue)
Delete the mail item record in the table
|
int |
getCountMailItem() |
void |
insert(MailItemQueue mailItemQueue)
Insert a new mail item in the table.
|
MailItemQueue |
load(int nIdMailItemQueue)
return the first mail item in the table
|
void |
lockMailItemQueue(int nIdMailItemQueue)
Lock the mail item
|
int |
nextMailItemQueueId()
return the next mail item queue id
|
public int nextMailItemQueueId()
nextMailItemQueueId
in interface IMailItemQueueDAO
public void lockMailItemQueue(int nIdMailItemQueue)
lockMailItemQueue
in interface IMailItemQueueDAO
nIdMailItemQueue
- the id of the mail item to lockpublic void insert(MailItemQueue mailItemQueue)
insert
in interface IMailItemQueueDAO
mailItemQueue
- the mail itempublic MailItemQueue load(int nIdMailItemQueue)
load
in interface IMailItemQueueDAO
nIdMailItemQueue
- the id of the mail itempublic void delete(int nIdMailItemQueue)
delete
in interface IMailItemQueueDAO
nIdMailItemQueue
- The identifier of the mail item to removepublic int getCountMailItem()
getCountMailItem
in interface IMailItemQueueDAO
Copyright © 2020 City of Paris. All rights reserved.