Interface IMailItemQueueDAO

All Known Implementing Classes:
MailItemQueueDAO

public interface IMailItemQueueDAO
This class provides Data Access methods for MailItemQueue objects
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    delete(int nIdMailItemQueue)
    Delete the mail item record in the table
    int
     
    void
    insert(MailItemQueue mailItemQueue)
    Insert a new mail item in the table.
    load(int nIdMailItemQueue)
    return the first mail item in the table
    void
    lockMailItemQueue(int nIdMailItemQueue)
    Lock the mail item
    int
    return the next mail item queue id
  • Method Details

    • 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