@Service public class EnfantReferentService extends Object implements Serializable
EnfantReferentService exposes functions required for managing the 'coupon_reponse_enfant_referent' table.| Constructor and Description |
|---|
EnfantReferentService() |
| Modifier and Type | Method and Description |
|---|---|
EnfantReferent |
createEnfantReferent(EnfantReferent enfantReferent)
Persist a given instance of
EnfantReferent |
EnfantReferent |
getByIdEnfantIdReferent(Long idEnfant,
Long idReferent)
Find a
EnfantReferent instance by the given enfant and referent IDs |
List<EnfantReferent> |
getEnfantReferentByBenCode(String benCode)
Find the list of
EnfantReferent instances for the given BEN code |
List<EnfantReferent> |
getEnfantReferentIdByIdEnfant(Long enfantId)
Find the list of
EnfantReferent instances for the given enfant ID |
List<EnfantReferent> |
getEnfantReferentIdByIdReferent(Long referentId)
Find the list of
EnfantReferent instances for the given referent ID |
void |
updateStatutEnvoi(Long idEnfant,
Long idReferent,
String dateEnvoi)
Update the mail delivery status
|
public List<EnfantReferent> getEnfantReferentIdByIdReferent(Long referentId) throws org.springframework.dao.DataAccessException
EnfantReferent instances for the given referent IDreferentId - Referent IDEnfantReferent instances for the given referent IDorg.springframework.dao.DataAccessExceptionpublic List<EnfantReferent> getEnfantReferentIdByIdEnfant(Long enfantId) throws org.springframework.dao.DataAccessException
EnfantReferent instances for the given enfant IDenfantId - Enfant IDEnfantReferent instances for the given enfant IDorg.springframework.dao.DataAccessExceptionpublic List<EnfantReferent> getEnfantReferentByBenCode(String benCode) throws org.springframework.dao.DataAccessException
EnfantReferent instances for the given BEN codebenCode - BEN code valueEnfantReferent instances for the given BEN codeorg.springframework.dao.DataAccessExceptionpublic EnfantReferent getByIdEnfantIdReferent(Long idEnfant, Long idReferent) throws org.springframework.dao.DataAccessException
EnfantReferent instance by the given enfant and referent IDsidEnfant - Enfant IDidReferent - Referent IDEnfantReferent instance corresponding to the given enfant and referent IDsorg.springframework.dao.DataAccessExceptionpublic EnfantReferent createEnfantReferent(EnfantReferent enfantReferent) throws org.springframework.dao.DataAccessException
EnfantReferentenfantReferent - EnfantReferent instance that needs to be persistedEnfantReferent instanceorg.springframework.dao.DataAccessExceptionpublic void updateStatutEnvoi(Long idEnfant, Long idReferent, String dateEnvoi) throws org.springframework.dao.DataAccessException
idEnfant - Enfant IDidReferent - Referent IDdateEnvoi - Date at which mail has been sentorg.springframework.dao.DataAccessExceptionCopyright © 2019 City of Paris. All rights reserved.