Interface FulfillmentGroupDao

All Known Implementing Classes:
FulfillmentGroupDaoImpl

public interface FulfillmentGroupDao
  • Method Details

    • readFulfillmentGroupById

      FulfillmentGroup readFulfillmentGroupById(Long fulfillmentGroupId)
    • save

      FulfillmentGroup save(FulfillmentGroup fulfillmentGroup)
    • readDefaultFulfillmentGroupForOrder

      FulfillmentGroup readDefaultFulfillmentGroupForOrder(Order order)
    • delete

      void delete(FulfillmentGroup fulfillmentGroup)
    • createDefault

      FulfillmentGroup createDefault()
    • create

    • createFulfillmentGroupFee

      FulfillmentGroupFee createFulfillmentGroupFee()
    • readUnfulfilledFulfillmentGroups

      List<FulfillmentGroup> readUnfulfilledFulfillmentGroups(int start, int maxResults)
      Reads FulfillmentGroups whose status is not FULFILLED or DELIVERED.
      Parameters:
      start -
      maxResults -
      Returns:
    • readPartiallyFulfilledFulfillmentGroups

      List<FulfillmentGroup> readPartiallyFulfilledFulfillmentGroups(int start, int maxResults)
      Reads FulfillmentGroups whose status is PARTIALLY_FULFILLED or PARTIALLY_DELIVERED.
      Parameters:
      start -
      maxResults -
      Returns:
    • readUnprocessedFulfillmentGroups

      List<FulfillmentGroup> readUnprocessedFulfillmentGroups(int start, int maxResults)
      Returns FulfillmentGroups whose status is null, or where no processing has yet occured. Default returns in ascending order according to date that the order was created.
      Parameters:
      start -
      maxResults -
      Returns:
    • readFulfillmentGroupsByStatus

      List<FulfillmentGroup> readFulfillmentGroupsByStatus(FulfillmentGroupStatusType status, int start, int maxResults, boolean ascending)
      Reads FulfillmentGroups by status, either ascending or descending according to the date that the order was created.
      Parameters:
      status -
      start -
      maxResults -
      ascending -
      Returns:
    • readFulfillmentGroupsByStatus

      List<FulfillmentGroup> readFulfillmentGroupsByStatus(FulfillmentGroupStatusType status, int start, int maxResults)
      Reads FulfillmentGroups by status, ascending according to the date that the order was created.
      Parameters:
      status -
      start -
      maxResults -
      Returns:
    • readNextFulfillmentGroupSequnceForOrder

      Integer readNextFulfillmentGroupSequnceForOrder(Order order)
      Reads the max sequnce of fulfillment groups for a particular order and increments by 1.
      Parameters:
      order -
      Returns: