Class TicketEmailExternalUserCcDAO
- java.lang.Object
-
- fr.paris.lutece.plugins.workflow.modules.ticketing.business.email.cc.TicketEmailExternalUserCcDAO
-
- All Implemented Interfaces:
ITicketEmailExternalUserCcDAO
public class TicketEmailExternalUserCcDAO extends Object implements ITicketEmailExternalUserCcDAO
Implementation of the TicketEmailExternalUserCc DAO
-
-
Field Summary
-
Fields inherited from interface fr.paris.lutece.plugins.workflow.modules.ticketing.business.email.cc.ITicketEmailExternalUserCcDAO
BEAN_SERVICE
-
-
Constructor Summary
Constructors Constructor Description TicketEmailExternalUserCcDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeleteByIdCc(int nIdCc)Delete by id cc.voiddeleteByIdHistory(int nIdHistory)Delete by id history.voiddeleteEmailExternalUserCcByIdHistoryList(List<Integer> idHistoryList)Delete by id history list.voidinsert(TicketEmailExternalUserCc infosEmailExternalUser)Insert.List<TicketEmailExternalUserCc>loadByIdHistory(int nIdHistory, int nIdTask)Load.intnewPrimaryKey()Generates a new primary key
-
-
-
Method Detail
-
newPrimaryKey
public int newPrimaryKey()
Generates a new primary key- Returns:
- The new primary key
-
insert
@Transactional("workflow.transactionManager") public void insert(TicketEmailExternalUserCc infosEmailExternalUser)Insert.- Specified by:
insertin interfaceITicketEmailExternalUserCcDAO- Parameters:
infosEmailExternalUser- the TicketEmailExternalUserCc
-
loadByIdHistory
public List<TicketEmailExternalUserCc> loadByIdHistory(int nIdHistory, int nIdTask)
Load.- Specified by:
loadByIdHistoryin interfaceITicketEmailExternalUserCcDAO- Parameters:
nIdHistory- the id of history resourcenIdTask- the id of task- Returns:
- the TicketEmailExternalUserCc list
-
deleteByIdCc
@Transactional("workflow.transactionManager") public void deleteByIdCc(int nIdCc)Delete by id cc.- Specified by:
deleteByIdCcin interfaceITicketEmailExternalUserCcDAO- Parameters:
nIdCc- the n id cc
-
deleteByIdHistory
@Transactional("workflow.transactionManager") public void deleteByIdHistory(int nIdHistory)Delete by id history.- Specified by:
deleteByIdHistoryin interfaceITicketEmailExternalUserCcDAO- Parameters:
nIdHistory- the id of history resource
-
deleteEmailExternalUserCcByIdHistoryList
public void deleteEmailExternalUserCcByIdHistoryList(List<Integer> idHistoryList)
Delete by id history list.- Specified by:
deleteEmailExternalUserCcByIdHistoryListin interfaceITicketEmailExternalUserCcDAO- Parameters:
idHistoryList- the id of history list
-
-