Interface IMailItemQueueDAO
- All Known Implementing Classes:
MailItemQueueDAO
public interface IMailItemQueueDAO
This class provides Data Access methods for MailItemQueue objects
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nIdMailItemQueue) Delete the mail item record in the tableintvoidinsert(MailItemQueue mailItemQueue) Insert a new mail item in the table.load(int nIdMailItemQueue) return the first mail item in the tablevoidlockMailItemQueue(int nIdMailItemQueue) Lock the mail itemintreturn the next mail item queue id
-
Method Details
-
insert
Insert a new mail item in the table.- Parameters:
mailItemQueue- the mail item
-
load
return the first mail item in the table- Parameters:
nIdMailItemQueue- the id of the mail item- Returns:
- the first mail item in the table
-
delete
void delete(int nIdMailItemQueue) Delete the mail item record in the table- Parameters:
nIdMailItemQueue- The indentifier of the mail item to remove
-
getCountMailItem
int getCountMailItem()- Returns:
- the number of mail item present in the core_mail_queue
-
nextMailItemQueueId
int nextMailItemQueueId()return the next mail item queue id- Returns:
- the next mail item queue id
-
lockMailItemQueue
void lockMailItemQueue(int nIdMailItemQueue) Lock the mail item- Parameters:
nIdMailItemQueue- the id of the mail item to lock
-