Class DefaultFulfillmentCaptureClaimService<P extends com.broadleafcommerce.order.client.domain.FulfillmentCaptureClaim>
java.lang.Object
com.broadleafcommerce.data.tracking.core.service.BaseCrudEntityService<P>
com.broadleafcommerce.data.tracking.core.service.BaseRsqlCrudEntityService<P>
com.broadleafcommerce.order.service.DefaultFulfillmentCaptureClaimService<P>
- Type Parameters:
P
- A subtype ofFulfillmentCaptureClaim
- 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
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultFulfillmentCaptureClaimService
(FulfillmentCaptureClaimRepository<com.broadleafcommerce.data.tracking.core.Trackable> repository, com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityHelper helper) -
Method Summary
Modifier and TypeMethodDescriptionprotected FulfillmentCaptureClaimRepository<com.broadleafcommerce.data.tracking.core.Trackable>
readByFulfillmentId
(String fulfillmentId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Find all fulfillment capture claims for the given fulfillment id.readByPaymentId
(String paymentId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Find all fulfillment capture claims for the given payment id.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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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 Details
-
DefaultFulfillmentCaptureClaimService
public DefaultFulfillmentCaptureClaimService(FulfillmentCaptureClaimRepository<com.broadleafcommerce.data.tracking.core.Trackable> repository, com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityHelper helper)
-
-
Method Details
-
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 interfaceFulfillmentCaptureClaimService<P extends com.broadleafcommerce.order.client.domain.FulfillmentCaptureClaim>
- Parameters:
paymentId
- the id of the payment that owns the claimed payment transactioncontextInfo
- 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 interfaceFulfillmentCaptureClaimService<P extends com.broadleafcommerce.order.client.domain.FulfillmentCaptureClaim>
- Parameters:
paymentIds
- the ids of the payments that owns the claimed payment transactioncontextInfo
- 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 interfaceFulfillmentCaptureClaimService<P extends com.broadleafcommerce.order.client.domain.FulfillmentCaptureClaim>
- Parameters:
fulfillmentId
- the id of the fulfillment that claimed the capture transactioncontextInfo
- 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 classcom.broadleafcommerce.data.tracking.core.service.BaseCrudEntityService<P extends com.broadleafcommerce.order.client.domain.FulfillmentCaptureClaim>
-