Package com.skava.loyalty.process
Class CampaignProcess
java.lang.Object
com.skava.loyalty.process.CampaignProcess
This class contains the functionality to perform CRUD operations of Campaign event
- Since:
- 8.11
- Version:
- 8.11
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate
(CampaignDO campaignDO) This method is used to create Campaign based on given LoyaltyRequest.findAll
(CampaignDO campaignDO) This method is used to find all Collections based on given campaignRequest.get
(CampaignDO campaignDO) This method is used to get Campaign based on given LoyaltyRequest.org.springframework.data.domain.Page<Campaign>
This method will search in the entity and provide the results based on the filtersupdate
(CampaignDO campaignDO, String softDelete) This method is used to create Campaign based on given LoyaltyRequest.
-
Field Details
-
IDENTIFIER
IDENTIFIER- See Also:
-
ID
ID- See Also:
-
-
Constructor Details
-
CampaignProcess
public CampaignProcess()
-
-
Method Details
-
create
This method is used to create Campaign based on given LoyaltyRequest.- Parameters:
campaignDO
- It contains the attributes required for the creation of loyalty campaign.- Returns:
- It returns the
CampaignDO
.
-
get
This method is used to get Campaign based on given LoyaltyRequest.- Parameters:
campaignDO
- It contains the attributes required for the creation of loyalty campaign.- Returns:
- It returns the
CampaignDO
.
-
findAll
This method is used to find all Collections based on given campaignRequest.- Parameters:
campaignDO
- It contains the attributes required for the load of Collection.- Returns:
- It returns the
CampaignDO
.
-
search
public org.springframework.data.domain.Page<Campaign> search(String filters, org.springframework.data.domain.Sort sort, int page, int size) This method will search in the entity and provide the results based on the filters- Parameters:
filters
- this will contains qdsl filtersort
- this param contains the params for sortingpage
- this param contains the page count for paginationsize
- this param contains the size count for pagination- Returns:
- It will contain the list of collection
-
update
This method is used to create Campaign based on given LoyaltyRequest.- Parameters:
campaignDO
- It contains the attributes required for the creation of loyalty reward.softDelete
- softDelete.- Returns:
- It returns the
CampaignDO
.
-