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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Optional<P> readByOrderFulfillmentId​(String orderFulfillmentId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Read a ShipmentDetails by an OrderFulfillment 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 Detail

      • readByOrderFulfillmentId

        Optional<P> readByOrderFulfillmentId​(String orderFulfillmentId,
                                             @Nullable
                                             com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
        Read a ShipmentDetails by an OrderFulfillment id.
        Parameters:
        orderFulfillmentId - The id of the OrderFulfillment associated with the ShipmentDetails.
        contextInfo - The context for the operation.
        Returns:
        The ShipmentDetails that corresponds to the given orderFulfillmentId.