Interface CampaignRepository
- All Known Implementing Classes:
DatabaseCampaignRepository
public interface CampaignRepository
Right-side port for secondary actors of the business domain. See
CampaignExecutionEngine
Use to Store Campaign-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate(Campaign campaign) findAll()findByExecutionId(Long campaignExecutionId) findByName(String campaignName) findCampaignsByScenarioId(String scenarioId) findExecutionsById(Long campaignId) findLastExecutions(Long numberOfExecution) findScenariosIds(Long campaignId) newCampaignExecution(Long campaignId) booleanremoveById(Long id) voidsaveReport(Long campaignId, CampaignExecutionReport report)
-
Method Details
-
createOrUpdate
-
saveReport
-
removeById
-
findById
- Throws:
CampaignNotFoundException
-
findAll
-
findByName
-
findExecutionsById
-
findLastExecutions
-
findScenariosIds
-
findCampaignsByScenarioId
-
newCampaignExecution
-
findByExecutionId
-