Interface FulfillmentGroupDao
- All Known Implementing Classes:
FulfillmentGroupDaoImpl
public interface FulfillmentGroupDao
-
Method Summary
Modifier and TypeMethodDescriptioncreate()voiddelete(FulfillmentGroup fulfillmentGroup) readFulfillmentGroupById(Long fulfillmentGroupId) readFulfillmentGroupsByStatus(FulfillmentGroupStatusType status, int start, int maxResults) Reads FulfillmentGroups by status, ascending according to the date that the order was created.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.Reads the max sequnce of fulfillment groups for a particular order and increments by 1.readPartiallyFulfilledFulfillmentGroups(int start, int maxResults) Reads FulfillmentGroups whose status is PARTIALLY_FULFILLED or PARTIALLY_DELIVERED.readUnfulfilledFulfillmentGroups(int start, int maxResults) Reads FulfillmentGroups whose status is not FULFILLED or DELIVERED.readUnprocessedFulfillmentGroups(int start, int maxResults) Returns FulfillmentGroups whose status is null, or where no processing has yet occured.save(FulfillmentGroup fulfillmentGroup)
-
Method Details
-
readFulfillmentGroupById
-
save
-
readDefaultFulfillmentGroupForOrder
-
delete
-
createDefault
FulfillmentGroup createDefault() -
create
FulfillmentGroup create() -
createFulfillmentGroupFee
FulfillmentGroupFee createFulfillmentGroupFee() -
readUnfulfilledFulfillmentGroups
Reads FulfillmentGroups whose status is not FULFILLED or DELIVERED.- Parameters:
start-maxResults-- Returns:
-
readPartiallyFulfilledFulfillmentGroups
Reads FulfillmentGroups whose status is PARTIALLY_FULFILLED or PARTIALLY_DELIVERED.- Parameters:
start-maxResults-- Returns:
-
readUnprocessedFulfillmentGroups
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
Reads the max sequnce of fulfillment groups for a particular order and increments by 1.- Parameters:
order-- Returns:
-