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 ofFulfillmentCaptureClaimService
-
-
Constructor Summary
Constructors Constructor Description DefaultFulfillmentCaptureClaimService(FulfillmentCaptureClaimRepository<com.broadleafcommerce.data.tracking.core.Trackable> repository, com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityHelper helper)
-
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 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
-
-
-
-
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:FulfillmentCaptureClaimServiceFind all fulfillment capture claims for the given payment id.- Specified by:
readByPaymentIdin 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:FulfillmentCaptureClaimServiceFind all fulfillment capture claims for the given payment ids.- Specified by:
readByPaymentIdsin 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:FulfillmentCaptureClaimServiceFind all fulfillment capture claims for the given fulfillment id.- Specified by:
readByFulfillmentIdin 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:
getRepositoryin classcom.broadleafcommerce.data.tracking.core.service.BaseCrudEntityService<P extends com.broadleafcommerce.order.client.domain.FulfillmentCaptureClaim>
-
-