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.Objectpublic java.util.Calendar getDateAddedFrom()
getDateAddedFrom in interface OrderSearchIfpublic void setDateAddedFrom(java.util.Calendar dateAddedFrom)
setDateAddedFrom in interface OrderSearchIfdateAddedFrom - the dateAddedFrom to setpublic java.util.Calendar getDateAddedTo()
getDateAddedTo in interface OrderSearchIfpublic void setDateAddedTo(java.util.Calendar dateAddedTo)
setDateAddedTo in interface OrderSearchIfdateAddedTo - the dateAddedTo to setpublic int[] getIncludeStatusIds()
OrderSearchIfgetIncludeStatusIds in interface OrderSearchIfpublic void setIncludeStatusIds(int[] includeStatusIds)
OrderSearchIfsetIncludeStatusIds in interface OrderSearchIfincludeStatusIds - the includeStatusIds to setpublic java.lang.String getCreator()
getCreator in interface OrderSearchIfpublic void setCreator(java.lang.String creator)
setCreator in interface OrderSearchIfcreator - the creator to setpublic int getCreatorRule()
OrderSearchIfgetCreatorRule in interface OrderSearchIfpublic void setCreatorRule(int creatorRule)
OrderSearchIfsetCreatorRule in interface OrderSearchIfcreatorRule - the creatorRule to setpublic java.lang.String getAffiliateId()
getAffiliateId in interface OrderSearchIfpublic void setAffiliateId(java.lang.String affiliateId)
setAffiliateId in interface OrderSearchIfaffiliateId - the affiliateId to setpublic int getAffiliateIdRule()
OrderSearchIfgetAffiliateIdRule in interface OrderSearchIfpublic void setAffiliateIdRule(int affiliateIdRule)
OrderSearchIfsetAffiliateIdRule in interface OrderSearchIfaffiliateIdRule - the affiliateIdRule to setpublic int getParentId()
getParentId in interface OrderSearchIfpublic void setParentId(int parentId)
setParentId in interface OrderSearchIfparentId - the parentId to setpublic java.util.Calendar getLastModifiedFrom()
getLastModifiedFrom in interface OrderSearchIfpublic void setLastModifiedFrom(java.util.Calendar lastModifiedFrom)
setLastModifiedFrom in interface OrderSearchIflastModifiedFrom - the lastModifiedFrom to setpublic java.util.Calendar getLastModifiedTo()
getLastModifiedTo in interface OrderSearchIfpublic void setLastModifiedTo(java.util.Calendar lastModifiedTo)
setLastModifiedTo in interface OrderSearchIflastModifiedTo - the lastModifiedTo to setpublic boolean isIncludeParentCustomerOrders()
isIncludeParentCustomerOrders in interface OrderSearchIfpublic void setIncludeParentCustomerOrders(boolean includeParentCustomerOrders)
setIncludeParentCustomerOrders in interface OrderSearchIfincludeParentCustomerOrders - the includeParentCustomerOrders to setpublic boolean isIncludeSiblingCustomerOrders()
isIncludeSiblingCustomerOrders in interface OrderSearchIfpublic void setIncludeSiblingCustomerOrders(boolean includeSiblingCustomerOrders)
setIncludeSiblingCustomerOrders in interface OrderSearchIfincludeSiblingCustomerOrders - the includeSiblingCustomerOrders to setpublic boolean isIncludeAllChildrenCustomerOrders()
isIncludeAllChildrenCustomerOrders in interface OrderSearchIfpublic void setIncludeAllChildrenCustomerOrders(boolean includeAllChildrenCustomerOrders)
setIncludeAllChildrenCustomerOrders in interface OrderSearchIfincludeAllChildrenCustomerOrders - the includeAllChildrenCustomerOrders to setpublic boolean isIncludeChildrenCustomerOrders()
isIncludeChildrenCustomerOrders in interface OrderSearchIfpublic void setIncludeChildrenCustomerOrders(boolean includeChildrenCustomerOrders)
setIncludeChildrenCustomerOrders in interface OrderSearchIfincludeChildrenCustomerOrders - the includeChildrenCustomerOrders to setpublic int getOrderId()
getOrderId in interface OrderSearchIfpublic void setOrderId(int orderId)
setOrderId in interface OrderSearchIforderId - the orderId to setpublic java.lang.String[] getIncludeArchiveIds()
getIncludeArchiveIds in interface OrderSearchIfpublic void setIncludeArchiveIds(java.lang.String[] includeArchiveIds)
setIncludeArchiveIds in interface OrderSearchIfincludeArchiveIds - the includeArchiveIds to setpublic int[] getExcludeStatusIds()
getExcludeStatusIds in interface OrderSearchIfpublic void setExcludeStatusIds(int[] excludeStatusIds)
setExcludeStatusIds in interface OrderSearchIfexcludeStatusIds - the excludeStatusIds to setpublic boolean isPopulateArchivedOrdersAttribute()
isPopulateArchivedOrdersAttribute in interface OrderSearchIfpublic void setPopulateArchivedOrdersAttribute(boolean populateArchivedOrdersAttribute)
setPopulateArchivedOrdersAttribute in interface OrderSearchIfpopulateArchivedOrdersAttribute - the populateArchivedOrdersAttribute to setpublic java.lang.String getOrderNumber()
getOrderNumber in interface OrderSearchIfpublic void setOrderNumber(java.lang.String orderNumber)
setOrderNumber in interface OrderSearchIforderNumber - the orderNumber to setCopyright © 2018 DS Data Systems UK Ltd.