Interface CampaignCodeAuditDetailService<P extends CampaignCodeAuditDetail>
-
- All Superinterfaces:
com.broadleafcommerce.data.tracking.core.service.CrudEntityService<P>
,com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityService<P>
- All Known Implementing Classes:
DefaultCampaignCodeAuditDetailService
public interface CampaignCodeAuditDetailService<P extends CampaignCodeAuditDetail> extends com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityService<P>
Service API for
CampaignCodeAuditDetail
, supported byCampaignCodeAuditDetailRepository
.- Author:
- Samarth Dhruva (samarthd)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Integer
countByCampaignCode(String campaignCodeContextId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Count allCampaignCodeAuditDetail
records that relate to the provided campaign code context ID.org.springframework.data.domain.Page<P>
readAllByCampaignCode(String campaignCode, org.springframework.data.domain.Pageable page, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Retrieve allCampaignCodeAuditDetail
records that relate to the provided campaign code string.-
Methods inherited from interface com.broadleafcommerce.data.tracking.core.service.CrudEntityService
create, createAll, createAllAllowingPartialSuccess, delete, readAll, readAll, readAll, readAllByContextId, readByContextId, replace, replaceAll, replaceAllAllowingPartialSuccess, update, updateAll, updateAllAllowingPartialSuccess, updateSort
-
-
-
-
Method Detail
-
countByCampaignCode
Integer countByCampaignCode(@NonNull String campaignCodeContextId, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Count allCampaignCodeAuditDetail
records that relate to the provided campaign code context ID.- Parameters:
campaignCodeContextId
- the context ID of the campaign code to find audit records forcontextInfo
- the context to perform the operation in- Returns:
- the number of
CampaignCodeAuditDetail
records that relate to the provided campaign code context ID
-
readAllByCampaignCode
org.springframework.data.domain.Page<P> readAllByCampaignCode(@NonNull String campaignCode, org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Retrieve allCampaignCodeAuditDetail
records that relate to the provided campaign code string.- Parameters:
campaignCode
- the string that is the campaign code to find audit records forpage
- pagination informationcontextInfo
- the context to perform the operation in- Returns:
- the
CampaignCodeAuditDetail
records that relate to the provided campaign code string
-
-