Uses of Class
com.minicrm.mini_crm_api.models.Campaign
Packages that use Campaign
Package
Description
-
Uses of Campaign in com.minicrm.mini_crm_api.controllers
Methods in com.minicrm.mini_crm_api.controllers that return CampaignModifier and TypeMethodDescriptionCampaignController.createCampaign(@Valid CampaignDTO campaignDTO, org.springframework.security.oauth2.core.user.OAuth2User principal) Creates and launches a new campaign.Methods in com.minicrm.mini_crm_api.controllers that return types with arguments of type CampaignModifier and TypeMethodDescriptionorg.springframework.data.domain.Page<Campaign>CampaignController.getAllCampaigns(org.springframework.data.domain.Pageable pageable) Retrieves a paginated list of all saved campaigns. -
Uses of Campaign in com.minicrm.mini_crm_api.repositories
Methods in com.minicrm.mini_crm_api.repositories that return types with arguments of type CampaignModifier and TypeMethodDescriptionorg.springframework.data.domain.Page<Campaign>CampaignRepository.findAll(org.springframework.data.domain.Pageable pageable) Spring Data will automatically handle the query to fetch only the requested page of data.CampaignRepository.findAllByOrderByCreatedAtDesc()Finds all campaigns sorted by creation date in descending order. -
Uses of Campaign in com.minicrm.mini_crm_api.services
Methods in com.minicrm.mini_crm_api.services that return CampaignModifier and TypeMethodDescriptionCampaignService.createCampaign(CampaignDTO campaignDTO, org.springframework.security.oauth2.core.user.OAuth2User principal) Creates a new campaign and publishes an event to process it asynchronously.Methods in com.minicrm.mini_crm_api.services that return types with arguments of type CampaignModifier and TypeMethodDescriptionorg.springframework.data.domain.Page<Campaign>CampaignService.findAllCampaigns(org.springframework.data.domain.Pageable pageable) Retrieves a paginated list of all campaigns.Methods in com.minicrm.mini_crm_api.services with parameters of type CampaignModifier and TypeMethodDescriptionCampaignService.findAudienceForCampaign(Campaign campaign) Finds the customer audience for a given campaign.