public class AdminPromotionSearch
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.Boolean |
active
When not set to null, it's used to return only active or inactive promotions.
|
private java.lang.Boolean |
cumulative
cumulative
|
private java.util.Date |
endDate
end date
|
private int |
id
id
|
private java.lang.String |
name
name
|
private int |
nameRule
name rule
|
private java.lang.String |
orderBy
orderBy
|
private java.lang.String |
orderTotalCode
order Total Code
|
private int |
orderTotalCodeRule
order Total Code rule
|
private java.lang.Boolean |
requiresCoupon
requires Coupon
|
private java.util.Date |
startDate
start date
|
Constructor and Description |
---|
AdminPromotionSearch()
Instantiates an AdminPromotionSearch object - a requirement for a bean class
|
AdminPromotionSearch(com.workingdogs.village.Record r,
com.konakart.db.KKCriteria c)
Instantiates the attributes of the AdminLanguageSearch object from a Record object
|
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
getActive()
When not set to null, it's used to return only active or inactive promotions.
|
java.lang.Boolean |
getCumulative() |
java.util.Date |
getEndDate() |
int |
getId() |
java.lang.String |
getName() |
int |
getNameRule()
The rule for the search.
|
java.lang.String |
getOrderBy() |
java.lang.String |
getOrderTotalCode() |
int |
getOrderTotalCodeRule()
The rule for the search.
|
java.lang.Boolean |
getRequiresCoupon() |
java.util.Date |
getStartDate() |
void |
setActive(java.lang.Boolean active)
When not set to null, it's used to return only active or inactive promotions.
|
void |
setCumulative(java.lang.Boolean cumulative) |
void |
setEndDate(java.util.Date endDate) |
void |
setId(int id) |
void |
setName(java.lang.String name) |
void |
setNameRule(int nameRule)
The rule for the search.
|
void |
setOrderBy(java.lang.String orderBy) |
void |
setOrderTotalCode(java.lang.String orderTotalCode) |
void |
setOrderTotalCodeRule(int orderTotalCodeRule)
The rule for the search.
|
void |
setRequiresCoupon(java.lang.Boolean requiresCoupon) |
void |
setStartDate(java.util.Date startDate) |
java.lang.String |
toString() |
java.lang.String |
toStringBrief() |
private java.lang.Boolean active
private java.util.Date startDate
private java.util.Date endDate
private java.lang.Boolean cumulative
private java.lang.String name
private int nameRule
private java.lang.String orderTotalCode
private int orderTotalCodeRule
private java.lang.Boolean requiresCoupon
private java.lang.String orderBy
private int id
public AdminPromotionSearch()
public AdminPromotionSearch(com.workingdogs.village.Record r, com.konakart.db.KKCriteria c) throws com.workingdogs.village.DataSetException
r
- Record containing datac
- Criteria containing column namescom.workingdogs.village.DataSetException
- an unexpected exception due to data in Torque (the database layer)public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringBrief()
public java.lang.Boolean getActive()
public void setActive(java.lang.Boolean active)
active
- The active to set.public java.lang.Boolean getCumulative()
public void setCumulative(java.lang.Boolean cumulative)
cumulative
- The cumulative to set.public java.util.Date getEndDate()
public void setEndDate(java.util.Date endDate)
endDate
- The endDate to set.public java.lang.String getName()
public void setName(java.lang.String name)
name
- The name to set.public java.lang.String getOrderTotalCode()
public void setOrderTotalCode(java.lang.String orderTotalCode)
orderTotalCode
- The orderTotalCode to set.public java.lang.Boolean getRequiresCoupon()
public void setRequiresCoupon(java.lang.Boolean requiresCoupon)
requiresCoupon
- The requiresCoupon to set.public java.util.Date getStartDate()
public void setStartDate(java.util.Date startDate)
startDate
- The startDate to set.public java.lang.String getOrderBy()
public void setOrderBy(java.lang.String orderBy)
orderBy
- The orderBy to set.public int getId()
public void setId(int id)
id
- The id to set.public int getNameRule()
public void setNameRule(int nameRule)
nameRule
- the nameRule to setpublic int getOrderTotalCodeRule()
public void setOrderTotalCodeRule(int orderTotalCodeRule)
orderTotalCodeRule
- the orderTotalCodeRule to setCopyright © 2018 DS Data Systems UK Ltd.