@Repository(value="blFulfillmentGroupDao") public class FulfillmentGroupDaoImpl extends Object implements FulfillmentGroupDao
| Modifier and Type | Field and Description |
|---|---|
protected javax.persistence.EntityManager |
em |
protected EntityConfiguration |
entityConfiguration |
| Constructor and Description |
|---|
FulfillmentGroupDaoImpl() |
| Modifier and Type | Method and Description |
|---|---|
FulfillmentGroup |
create() |
FulfillmentGroup |
createDefault() |
FulfillmentGroupFee |
createFulfillmentGroupFee() |
void |
delete(FulfillmentGroup fulfillmentGroup) |
FulfillmentGroupImpl |
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) |
protected javax.persistence.EntityManager em
protected EntityConfiguration entityConfiguration
public FulfillmentGroup save(FulfillmentGroup fulfillmentGroup)
save in interface FulfillmentGroupDaopublic FulfillmentGroup readFulfillmentGroupById(Long fulfillmentGroupId)
readFulfillmentGroupById in interface FulfillmentGroupDaopublic FulfillmentGroupImpl readDefaultFulfillmentGroupForOrder(Order order)
readDefaultFulfillmentGroupForOrder in interface FulfillmentGroupDaopublic void delete(FulfillmentGroup fulfillmentGroup)
delete in interface FulfillmentGroupDaopublic FulfillmentGroup createDefault()
createDefault in interface FulfillmentGroupDaopublic FulfillmentGroup create()
create in interface FulfillmentGroupDaopublic FulfillmentGroupFee createFulfillmentGroupFee()
createFulfillmentGroupFee in interface FulfillmentGroupDaopublic List<FulfillmentGroup> readUnfulfilledFulfillmentGroups(int start, int maxResults)
FulfillmentGroupDaoreadUnfulfilledFulfillmentGroups in interface FulfillmentGroupDaopublic List<FulfillmentGroup> readPartiallyFulfilledFulfillmentGroups(int start, int maxResults)
FulfillmentGroupDaoreadPartiallyFulfilledFulfillmentGroups in interface FulfillmentGroupDaopublic List<FulfillmentGroup> readUnprocessedFulfillmentGroups(int start, int maxResults)
FulfillmentGroupDaoreadUnprocessedFulfillmentGroups in interface FulfillmentGroupDaopublic List<FulfillmentGroup> readFulfillmentGroupsByStatus(FulfillmentGroupStatusType status, int start, int maxResults, boolean ascending)
FulfillmentGroupDaoreadFulfillmentGroupsByStatus in interface FulfillmentGroupDaopublic List<FulfillmentGroup> readFulfillmentGroupsByStatus(FulfillmentGroupStatusType status, int start, int maxResults)
FulfillmentGroupDaoreadFulfillmentGroupsByStatus in interface FulfillmentGroupDaopublic Integer readNextFulfillmentGroupSequnceForOrder(Order order)
FulfillmentGroupDaoreadNextFulfillmentGroupSequnceForOrder in interface FulfillmentGroupDaoCopyright © 2015. All Rights Reserved.