fr.paris.lutece.plugins.crmclient.business
Interface ICRMItemQueueDAO


public interface ICRMItemQueueDAO

This class provides Data Access methods for CRMItemQueue objects


Method Summary
 void delete(int nIdCRMItemQueue)
          Delete the crm item queue in the table
 int getCountCRMItem()
          Get the number of crm items
 void insert(CRMItemQueue crmItemQueue)
          Insert a new crm item in the table.
 CRMItemQueue load(int nIdCRMItemQueue)
          return the first crm item in the table
 void lockCRMItemQueue(int nIdCRMItemQueue)
          Lock the mail item
 int nextCRMItemQueueId()
          Return the next crm item queue id
 

Method Detail

insert

void insert(CRMItemQueue crmItemQueue)
Insert a new crm item in the table.

Parameters:
crmItemQueue - the crm item queue

load

CRMItemQueue load(int nIdCRMItemQueue)
return the first crm item in the table

Parameters:
nIdCRMItemQueue - the id of the crm item
Returns:
the first crm item in the table

delete

void delete(int nIdCRMItemQueue)
Delete the crm item queue in the table

Parameters:
nIdCRMItemQueue - The indentifier of the crm item to remove

getCountCRMItem

int getCountCRMItem()
Get the number of crm items

Returns:
the number of crm item present in the database

nextCRMItemQueueId

int nextCRMItemQueueId()
Return the next crm item queue id

Returns:
the next mail item queue id

lockCRMItemQueue

void lockCRMItemQueue(int nIdCRMItemQueue)
Lock the mail item

Parameters:
nIdCRMItemQueue - the id of the crm item to lock


Copyright © 2012 Mairie de Paris. All Rights Reserved.