Class DefaultFulfillmentCaptureClaimService<P extends com.broadleafcommerce.order.client.domain.FulfillmentCaptureClaim>

  • Type Parameters:
    P - A subtype of FulfillmentCaptureClaim
    All Implemented Interfaces:
    com.broadleafcommerce.data.tracking.core.service.CrudEntityService<P>, com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityService<P>, FulfillmentCaptureClaimService<P>

    public class DefaultFulfillmentCaptureClaimService<P extends com.broadleafcommerce.order.client.domain.FulfillmentCaptureClaim>
    extends com.broadleafcommerce.data.tracking.core.service.BaseRsqlCrudEntityService<P>
    implements FulfillmentCaptureClaimService<P>
    Default implementation of FulfillmentCaptureClaimService
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected FulfillmentCaptureClaimRepository<com.broadleafcommerce.data.tracking.core.Trackable> getRepository()  
      List<P> readByFulfillmentId​(String fulfillmentId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Find all fulfillment capture claims for the given fulfillment id.
      List<P> readByPaymentId​(String paymentId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Find all fulfillment capture claims for the given payment id.
      List<P> readByPaymentIds​(List<String> paymentIds, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Find all fulfillment capture claims for the given payment ids.
      • 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
    • Constructor Detail

      • DefaultFulfillmentCaptureClaimService

        public DefaultFulfillmentCaptureClaimService​(FulfillmentCaptureClaimRepository<com.broadleafcommerce.data.tracking.core.Trackable> repository,
                                                     com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityHelper helper)
    • Method Detail

      • readByPaymentId

        public List<P> readByPaymentId​(String paymentId,
                                       @Nullable
                                       com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
        Description copied from interface: FulfillmentCaptureClaimService
        Find all fulfillment capture claims for the given payment id.
        Specified by:
        readByPaymentId in interface FulfillmentCaptureClaimService<P extends com.broadleafcommerce.order.client.domain.FulfillmentCaptureClaim>
        Parameters:
        paymentId - the id of the payment that owns the claimed payment transaction
        contextInfo - context information related to multitenancy
        Returns:
        all fulfillment capture claims for the given payment id
      • readByPaymentIds

        public List<P> readByPaymentIds​(List<String> paymentIds,
                                        @Nullable
                                        com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
        Description copied from interface: FulfillmentCaptureClaimService
        Find all fulfillment capture claims for the given payment ids.
        Specified by:
        readByPaymentIds in interface FulfillmentCaptureClaimService<P extends com.broadleafcommerce.order.client.domain.FulfillmentCaptureClaim>
        Parameters:
        paymentIds - the ids of the payments that owns the claimed payment transaction
        contextInfo - context information related to multitenancy
        Returns:
        all fulfillment capture claims for the given payment ids
      • readByFulfillmentId

        public List<P> readByFulfillmentId​(String fulfillmentId,
                                           @Nullable
                                           com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
        Description copied from interface: FulfillmentCaptureClaimService
        Find all fulfillment capture claims for the given fulfillment id.
        Specified by:
        readByFulfillmentId in interface FulfillmentCaptureClaimService<P extends com.broadleafcommerce.order.client.domain.FulfillmentCaptureClaim>
        Parameters:
        fulfillmentId - the id of the fulfillment that claimed the capture transaction
        contextInfo - context information related to multitenancy
        Returns:
        all fulfillment capture claims for the given fulfillment id
      • getRepository

        protected FulfillmentCaptureClaimRepository<com.broadleafcommerce.data.tracking.core.Trackable> getRepository()
        Overrides:
        getRepository in class com.broadleafcommerce.data.tracking.core.service.BaseCrudEntityService<P extends com.broadleafcommerce.order.client.domain.FulfillmentCaptureClaim>