Class TicketEmailExternalUserRecipientDAO
java.lang.Object
fr.paris.lutece.plugins.workflow.modules.ticketing.business.email.recipient.TicketEmailExternalUserRecipientDAO
- All Implemented Interfaces:
ITicketEmailExternalUserRecipientDAO
public class TicketEmailExternalUserRecipientDAO
extends Object
implements ITicketEmailExternalUserRecipientDAO
Implementation of the TicketEmailExternalUserRecipient DAO
-
Field Summary
Fields inherited from interface fr.paris.lutece.plugins.workflow.modules.ticketing.business.email.recipient.ITicketEmailExternalUserRecipientDAO
BEAN_SERVICE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteByHistoryList(List<Integer> idHistoryList, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete recipient by id history listvoiddeleteByIdHistory(int nIdHistory) Delete recipient of a specific historyvoiddeleteByIdRecipient(int nIdRecipient) Delete by recipient.voidinsert(TicketEmailExternalUserRecipient infosEmailExternalUser) Insert.loadByIdHistory(int nIdHistory, int nIdTask) Load.intGenerates a new primary key
-
Constructor Details
-
TicketEmailExternalUserRecipientDAO
public TicketEmailExternalUserRecipientDAO()
-
-
Method Details
-
newPrimaryKey
public int newPrimaryKey()Generates a new primary key- Returns:
- The new primary key
-
insert
@Transactional("workflow.transactionManager") public void insert(TicketEmailExternalUserRecipient infosEmailExternalUser) Insert.- Specified by:
insertin interfaceITicketEmailExternalUserRecipientDAO- Parameters:
infosEmailExternalUser- the TicketEmailExternalUser
-
loadByIdHistory
Load.- Specified by:
loadByIdHistoryin interfaceITicketEmailExternalUserRecipientDAO- Parameters:
nIdHistory- the id of history resourcenIdTask- the id of task- Returns:
- the TicketEmailExternalUserRecipient list
-
deleteByIdRecipient
@Transactional("workflow.transactionManager") public void deleteByIdRecipient(int nIdRecipient) Delete by recipient.- Specified by:
deleteByIdRecipientin interfaceITicketEmailExternalUserRecipientDAO- Parameters:
nIdRecipient- the n id recipient
-
deleteByIdHistory
@Transactional("workflow.transactionManager") public void deleteByIdHistory(int nIdHistory) Delete recipient of a specific history- Specified by:
deleteByIdHistoryin interfaceITicketEmailExternalUserRecipientDAO- Parameters:
nIdHistory- the identifier of the history
-
deleteByHistoryList
public void deleteByHistoryList(List<Integer> idHistoryList, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete recipient by id history list- Specified by:
deleteByHistoryListin interfaceITicketEmailExternalUserRecipientDAO- Parameters:
idHistoryList- the History id listplugin- the plugin
-