Class DefaultOfferAuditDetailService<P extends OfferAuditDetail>

  • All Implemented Interfaces:
    com.broadleafcommerce.data.tracking.core.service.CrudEntityService<P>, com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityService<P>, OfferAuditDetailService<P>

    public class DefaultOfferAuditDetailService<P extends OfferAuditDetail>
    extends com.broadleafcommerce.data.tracking.core.service.BaseRsqlCrudEntityService<P>
    implements OfferAuditDetailService<P>
    Author:
    Nathan Moore (nathanmoore).
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void assertOfferIdNotNull​(String offerId)  
      Long countByOffer​(String offerId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Count all OfferAuditDetail records that relate to the provided offer id.
      Long countByOfferAndCode​(String offerId, String code, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Count all OfferAuditDetail records that relate to the provided offer id and code.
      Long countByOfferAndUser​(String offerId, UserTarget userTarget, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Count all OfferAuditDetail records that relate to the provided offer id and user target.
      Long countByOfferAndUserAndBetweenDates​(String offerId, UserTarget userTarget, Instant startDate, Instant endDate, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Count all OfferAuditDetail records that relate to the provided offer id and user target and that fall between the given dates.
      protected OfferAuditDetailRepository<com.broadleafcommerce.data.tracking.core.Trackable> getRepository()  
      • Methods inherited from class com.broadleafcommerce.data.tracking.core.service.BaseRsqlCrudEntityService

        getRsqlHelper, readAll, readAll, readAll, readAll
      • Methods inherited from class com.broadleafcommerce.data.tracking.core.service.BaseCrudEntityService

        convertFromPersistentDomain, convertToPersistentDomain, create, createAll, createAllAllowingPartialSuccess, delete, getHelper, getSortPositionStrategy, readAll, readAll, readAll, readAllByContextId, readByContextId, replace, replaceAll, replaceAllAllowingPartialSuccess, setSortPositionStrategy, update, updateAll, updateAllAllowingPartialSuccess, updateSort
      • 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