org.broadleafcommerce.core.order.dao
Interface FulfillmentGroupDao

All Known Implementing Classes:
FulfillmentGroupDaoImpl

public interface FulfillmentGroupDao


Method Summary
 FulfillmentGroup create()
           
 FulfillmentGroup createDefault()
           
 FulfillmentGroupFee createFulfillmentGroupFee()
           
 void delete(FulfillmentGroup fulfillmentGroup)
           
 FulfillmentGroup readDefaultFulfillmentGroupForOrder(Order order)
           
 FulfillmentGroup readFulfillmentGroupById(Long fulfillmentGroupId)
           
 List<FulfillmentGroup> readFulfillmentGroupsByStatus(FulfillmentGroupStatusType status, int start, int maxResults)
          Reads FulfillmentGroups by status, ascending according to the date that the order was created.
 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.
 Integer readNextFulfillmentGroupSequnceForOrder(Order order)
          Reads the max sequnce of fulfillment groups for a particular order and increments by 1.
 List<FulfillmentGroup> readPartiallyFulfilledFulfillmentGroups(int start, int maxResults)
          Reads FulfillmentGroups whose status is PARTIALLY_FULFILLED or PARTIALLY_DELIVERED.
 List<FulfillmentGroup> readUnfulfilledFulfillmentGroups(int start, int maxResults)
          Reads FulfillmentGroups whose status is not FULFILLED or DELIVERED.
 List<FulfillmentGroup> readUnprocessedFulfillmentGroups(int start, int maxResults)
          Returns FulfillmentGroups whose status is null, or where no processing has yet occured.
 FulfillmentGroup save(FulfillmentGroup fulfillmentGroup)
           
 

Method Detail

readFulfillmentGroupById

FulfillmentGroup readFulfillmentGroupById(Long fulfillmentGroupId)

save

FulfillmentGroup save(FulfillmentGroup fulfillmentGroup)

readDefaultFulfillmentGroupForOrder

FulfillmentGroup readDefaultFulfillmentGroupForOrder(Order order)

delete

void delete(FulfillmentGroup fulfillmentGroup)

createDefault

FulfillmentGroup createDefault()

create

FulfillmentGroup 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:


Copyright © 2013. All Rights Reserved.