Interface ShipmentDetailsService<P extends ShipmentDetails>
- All Superinterfaces:
com.broadleafcommerce.data.tracking.core.service.CrudEntityService<P>
- All Known Implementing Classes:
DefaultShipmentDetailsService
public interface ShipmentDetailsService<P extends ShipmentDetails>
extends com.broadleafcommerce.data.tracking.core.service.CrudEntityService<P>
Service to facilitate CRUD operations for
ShipmentDetails
.- Author:
- Cade Rea (cade-rea)
-
Method Summary
Modifier and TypeMethodDescriptionreadByOrderFulfillmentId
(String orderFulfillmentId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Read aShipmentDetails
by anOrderFulfillment
id.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
-
Method Details
-
readByOrderFulfillmentId
Optional<P> readByOrderFulfillmentId(String orderFulfillmentId, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Read aShipmentDetails
by anOrderFulfillment
id.- Parameters:
orderFulfillmentId
- The id of theOrderFulfillment
associated with theShipmentDetails
.contextInfo
- The context for the operation.- Returns:
- The
ShipmentDetails
that corresponds to the given orderFulfillmentId.
-