Interface CampaignCodeAuditDetailService<P extends CampaignCodeAuditDetail>

    • 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 all CampaignCodeAuditDetail 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 all CampaignCodeAuditDetail 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
      • Methods inherited from interface com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityService

        readAll, readAll, readAll, readAll
    • Method Detail

      • countByCampaignCode

        Integer countByCampaignCode​(@NonNull
                                    String campaignCodeContextId,
                                    @Nullable
                                    com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
        Count all CampaignCodeAuditDetail records that relate to the provided campaign code context ID.
        Parameters:
        campaignCodeContextId - the context ID of the campaign code to find audit records for
        contextInfo - 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 all CampaignCodeAuditDetail records that relate to the provided campaign code string.
        Parameters:
        campaignCode - the string that is the campaign code to find audit records for
        page - pagination information
        contextInfo - the context to perform the operation in
        Returns:
        the CampaignCodeAuditDetail records that relate to the provided campaign code string