fr.paris.lutece.portal.business.mail
Interface IMailItemQueueDAO

All Known Implementing Classes:
MailItemQueueDAO

public interface IMailItemQueueDAO

This class provides Data Access methods for MailItemQueue objects


Method Summary
 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
 

Method Detail

insert

void insert(MailItemQueue mailItemQueue)
Insert a new mail item in the table.

Parameters:
mailItemQueue - the mail item

load

MailItemQueue load(int nIdMailItemQueue)
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


Copyright © 2010 Mairie de Paris. All Rights Reserved.