CampaignMessageRecordService¶
-
public interface
CampaignMessageRecordService
extends MotechDataService<CampaignMessageRecord>¶ Data Service interface for
CampaignMessageRecord
s. The implementation is generated by the Motech Data Services module.
Methods¶
findByName¶
-
List<CampaignMessageRecord>
findByName
(String name)¶ Finds all
CampaignMessageRecord
s with the given name.Parameters: - name – the name of the campaign message record
Returns: campaign message records with the given name
findByNameAndType¶
-
List<CampaignMessageRecord>
findByNameAndType
(CampaignType messageType, String name)¶ Finds all
CampaignMessageRecord
s with the given name and of the given type.Parameters: - messageType – the
CampaignType
of the campaign message records - name – the name of the campaign message records
Returns: campaign message records of the given name and type
- messageType – the