public class OrderSearch extends java.lang.Object implements OrderSearchIf
Constructor and Description |
---|
OrderSearch()
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAffiliateId()
Identifier of the affiliate partner
|
int |
getAffiliateIdRule()
The rule for the search.
|
java.lang.String |
getCreator()
Identifier of the administrator who created the order
|
int |
getCreatorRule()
The rule for the search.
|
java.util.Calendar |
getDateAddedFrom() |
java.util.Calendar |
getDateAddedTo() |
int[] |
getExcludeStatusIds()
Order Status ids to exclude from the search
|
java.lang.String[] |
getIncludeArchiveIds()
Archive ids to include in the search
|
int[] |
getIncludeStatusIds()
Only return orders with status id equal to one of the integers in the array
|
java.util.Calendar |
getLastModifiedFrom() |
java.util.Calendar |
getLastModifiedTo() |
int |
getOrderId()
OrderId to search for a single order
|
java.lang.String |
getOrderNumber()
Order Number to search for a single order
|
int |
getParentId()
ParentId used in multi-vendor mode to search for vendor orders associated with the main order
|
boolean |
isIncludeAllChildrenCustomerOrders()
Includes all orders of the customer's children, grandchildren etc.
|
boolean |
isIncludeChildrenCustomerOrders()
Includes all orders of the customers direct children, but not from any children they may have
|
boolean |
isIncludeParentCustomerOrders()
Includes all orders of the customer's parent
|
boolean |
isIncludeSiblingCustomerOrders()
Includes all orders of the customer's siblings (customers sharing the same parent customer)
|
boolean |
isPopulateArchivedOrdersAttribute()
Fetches all archived orders for an order and adds them to the ArchivedOrders attribute.
|
void |
setAffiliateId(java.lang.String affiliateId)
Identifier of the affiliate partner
|
void |
setAffiliateIdRule(int affiliateIdRule)
The rule for the search.
|
void |
setCreator(java.lang.String creator)
Identifier of the administrator who created the order
|
void |
setCreatorRule(int creatorRule)
The rule for the search.
|
void |
setDateAddedFrom(java.util.Calendar dateAddedFrom) |
void |
setDateAddedTo(java.util.Calendar dateAddedTo) |
void |
setExcludeStatusIds(int[] excludeStatusIds)
Order Status ids to exclude from the search
|
void |
setIncludeAllChildrenCustomerOrders(boolean includeAllChildrenCustomerOrders)
Includes all orders of the customer's children, grandchildren etc.
|
void |
setIncludeArchiveIds(java.lang.String[] includeArchiveIds)
Archive ids to include in the search
|
void |
setIncludeChildrenCustomerOrders(boolean includeChildrenCustomerOrders)
Includes all orders of the customers direct children, but not from any children they may have
|
void |
setIncludeParentCustomerOrders(boolean includeParentCustomerOrders)
Includes all orders of the customer's parent
|
void |
setIncludeSiblingCustomerOrders(boolean includeSiblingCustomerOrders)
Includes all orders of the customer's siblings (customers sharing the same parent customer)
|
void |
setIncludeStatusIds(int[] includeStatusIds)
Only return orders with status id equal to one of the integers in the array
|
void |
setLastModifiedFrom(java.util.Calendar lastModifiedFrom) |
void |
setLastModifiedTo(java.util.Calendar lastModifiedTo) |
void |
setOrderId(int orderId)
OrderId to search for a single order
|
void |
setOrderNumber(java.lang.String orderNumber)
Order Number to search for a single order
|
void |
setParentId(int parentId)
ParentId used in multi-vendor mode to search for vendor orders associated with the main order
|
void |
setPopulateArchivedOrdersAttribute(boolean populateArchivedOrdersAttribute)
Fetches all archived orders for an order and adds them to the ArchivedOrders attribute.
|
java.lang.String |
toString() |
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.Calendar getDateAddedFrom()
getDateAddedFrom
in interface OrderSearchIf
public void setDateAddedFrom(java.util.Calendar dateAddedFrom)
setDateAddedFrom
in interface OrderSearchIf
dateAddedFrom
- the dateAddedFrom to setpublic java.util.Calendar getDateAddedTo()
getDateAddedTo
in interface OrderSearchIf
public void setDateAddedTo(java.util.Calendar dateAddedTo)
setDateAddedTo
in interface OrderSearchIf
dateAddedTo
- the dateAddedTo to setpublic int[] getIncludeStatusIds()
OrderSearchIf
getIncludeStatusIds
in interface OrderSearchIf
public void setIncludeStatusIds(int[] includeStatusIds)
OrderSearchIf
setIncludeStatusIds
in interface OrderSearchIf
includeStatusIds
- the includeStatusIds to setpublic java.lang.String getCreator()
getCreator
in interface OrderSearchIf
public void setCreator(java.lang.String creator)
setCreator
in interface OrderSearchIf
creator
- the creator to setpublic int getCreatorRule()
OrderSearchIf
getCreatorRule
in interface OrderSearchIf
public void setCreatorRule(int creatorRule)
OrderSearchIf
setCreatorRule
in interface OrderSearchIf
creatorRule
- the creatorRule to setpublic java.lang.String getAffiliateId()
getAffiliateId
in interface OrderSearchIf
public void setAffiliateId(java.lang.String affiliateId)
setAffiliateId
in interface OrderSearchIf
affiliateId
- the affiliateId to setpublic int getAffiliateIdRule()
OrderSearchIf
getAffiliateIdRule
in interface OrderSearchIf
public void setAffiliateIdRule(int affiliateIdRule)
OrderSearchIf
setAffiliateIdRule
in interface OrderSearchIf
affiliateIdRule
- the affiliateIdRule to setpublic int getParentId()
getParentId
in interface OrderSearchIf
public void setParentId(int parentId)
setParentId
in interface OrderSearchIf
parentId
- the parentId to setpublic java.util.Calendar getLastModifiedFrom()
getLastModifiedFrom
in interface OrderSearchIf
public void setLastModifiedFrom(java.util.Calendar lastModifiedFrom)
setLastModifiedFrom
in interface OrderSearchIf
lastModifiedFrom
- the lastModifiedFrom to setpublic java.util.Calendar getLastModifiedTo()
getLastModifiedTo
in interface OrderSearchIf
public void setLastModifiedTo(java.util.Calendar lastModifiedTo)
setLastModifiedTo
in interface OrderSearchIf
lastModifiedTo
- the lastModifiedTo to setpublic boolean isIncludeParentCustomerOrders()
isIncludeParentCustomerOrders
in interface OrderSearchIf
public void setIncludeParentCustomerOrders(boolean includeParentCustomerOrders)
setIncludeParentCustomerOrders
in interface OrderSearchIf
includeParentCustomerOrders
- the includeParentCustomerOrders to setpublic boolean isIncludeSiblingCustomerOrders()
isIncludeSiblingCustomerOrders
in interface OrderSearchIf
public void setIncludeSiblingCustomerOrders(boolean includeSiblingCustomerOrders)
setIncludeSiblingCustomerOrders
in interface OrderSearchIf
includeSiblingCustomerOrders
- the includeSiblingCustomerOrders to setpublic boolean isIncludeAllChildrenCustomerOrders()
isIncludeAllChildrenCustomerOrders
in interface OrderSearchIf
public void setIncludeAllChildrenCustomerOrders(boolean includeAllChildrenCustomerOrders)
setIncludeAllChildrenCustomerOrders
in interface OrderSearchIf
includeAllChildrenCustomerOrders
- the includeAllChildrenCustomerOrders to setpublic boolean isIncludeChildrenCustomerOrders()
isIncludeChildrenCustomerOrders
in interface OrderSearchIf
public void setIncludeChildrenCustomerOrders(boolean includeChildrenCustomerOrders)
setIncludeChildrenCustomerOrders
in interface OrderSearchIf
includeChildrenCustomerOrders
- the includeChildrenCustomerOrders to setpublic int getOrderId()
getOrderId
in interface OrderSearchIf
public void setOrderId(int orderId)
setOrderId
in interface OrderSearchIf
orderId
- the orderId to setpublic java.lang.String[] getIncludeArchiveIds()
getIncludeArchiveIds
in interface OrderSearchIf
public void setIncludeArchiveIds(java.lang.String[] includeArchiveIds)
setIncludeArchiveIds
in interface OrderSearchIf
includeArchiveIds
- the includeArchiveIds to setpublic int[] getExcludeStatusIds()
getExcludeStatusIds
in interface OrderSearchIf
public void setExcludeStatusIds(int[] excludeStatusIds)
setExcludeStatusIds
in interface OrderSearchIf
excludeStatusIds
- the excludeStatusIds to setpublic boolean isPopulateArchivedOrdersAttribute()
isPopulateArchivedOrdersAttribute
in interface OrderSearchIf
public void setPopulateArchivedOrdersAttribute(boolean populateArchivedOrdersAttribute)
setPopulateArchivedOrdersAttribute
in interface OrderSearchIf
populateArchivedOrdersAttribute
- the populateArchivedOrdersAttribute to setpublic java.lang.String getOrderNumber()
getOrderNumber
in interface OrderSearchIf
public void setOrderNumber(java.lang.String orderNumber)
setOrderNumber
in interface OrderSearchIf
orderNumber
- the orderNumber to setCopyright © 2018 DS Data Systems UK Ltd.