Class DefaultBillingEventAdjustmentService<P extends BillingEventAdjustment>
java.lang.Object
com.broadleafcommerce.data.tracking.core.service.BaseCrudEntityService<P>
com.broadleafcommerce.billing.service.impl.DefaultBillingEventAdjustmentService<P>
- All Implemented Interfaces:
BillingEventAdjustmentService<P>,com.broadleafcommerce.data.tracking.core.service.CrudEntityService<P>
public class DefaultBillingEventAdjustmentService<P extends BillingEventAdjustment>
extends com.broadleafcommerce.data.tracking.core.service.BaseCrudEntityService<P>
implements BillingEventAdjustmentService<P>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefaultBillingEventAdjustmentService(BillingEventAdjustmentRepository<com.broadleafcommerce.data.tracking.core.Trackable> repository, com.broadleafcommerce.data.tracking.core.service.CrudEntityHelper helper) -
Method Summary
Modifier and TypeMethodDescriptionreadAllByContextId(Iterable<String> ids, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) readByBillingEventId(String billingEventId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Finds all billing event adjustment by the associated event idMethods inherited from class com.broadleafcommerce.data.tracking.core.service.BaseCrudEntityService
convertFromPersistentDomain, convertToPersistentDomain, create, createAll, createAllAllowingPartialSuccess, delete, getHelper, getRepository, getSortPositionStrategy, readAll, readAll, readAll, readByContextId, replace, replaceAll, replaceAllAllowingPartialSuccess, setSortPositionStrategy, update, updateAll, updateAllAllowingPartialSuccess, updateSortMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.broadleafcommerce.billing.service.BillingEventAdjustmentService
createBillingEventAdjustment, findAllByBillingEventId, findById, updateBillingEventAdjustmentMethods inherited from interface com.broadleafcommerce.data.tracking.core.service.CrudEntityService
create, createAll, createAllAllowingPartialSuccess, delete, readAll, readAll, readAll, readByContextId, replace, replaceAll, replaceAllAllowingPartialSuccess, update, updateAll, updateAllAllowingPartialSuccess, updateSort
-
Field Details
-
properties
-
-
Constructor Details
-
DefaultBillingEventAdjustmentService
public DefaultBillingEventAdjustmentService(BillingEventAdjustmentRepository<com.broadleafcommerce.data.tracking.core.Trackable> repository, com.broadleafcommerce.data.tracking.core.service.CrudEntityHelper helper)
-
-
Method Details
-
readByBillingEventId
public List<P> readByBillingEventId(String billingEventId, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Description copied from interface:BillingEventAdjustmentServiceFinds all billing event adjustment by the associated event id- Specified by:
readByBillingEventIdin interfaceBillingEventAdjustmentService<P extends BillingEventAdjustment>
-
readAllByContextId
public Iterable<P> readAllByContextId(Iterable<String> ids, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) - Specified by:
readAllByContextIdin interfacecom.broadleafcommerce.data.tracking.core.service.CrudEntityService<P extends BillingEventAdjustment>- Overrides:
readAllByContextIdin classcom.broadleafcommerce.data.tracking.core.service.BaseCrudEntityService<P extends BillingEventAdjustment>
-