public class AdminPromotionSearchResult
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
maxGroupSize
maxGroupSize
|
private int |
offset
offset
|
private AdminPromotion[] |
promotions
the promotions retrieved
|
private AdminPromotionSearch |
promSearch
ptomotionSearch - the search that was used to get the results
|
private int |
totalSetSize
totalSetSize
|
Constructor and Description |
---|
AdminPromotionSearchResult()
Constructor
|
AdminPromotionSearchResult(com.workingdogs.village.Record r,
com.konakart.db.KKCriteria c)
Instantiates the attributes of the Language object from a Record object
|
Modifier and Type | Method and Description |
---|---|
int |
getMaxGroupSize() |
int |
getOffset() |
AdminPromotion[] |
getPromotions() |
AdminPromotionSearch |
getPromSearch() |
int |
getTotalSetSize() |
void |
setMaxGroupSize(int maxGroupSize) |
void |
setOffset(int offset) |
void |
setPromotions(AdminPromotion[] promotions) |
void |
setPromSearch(AdminPromotionSearch promSearch) |
void |
setTotalSetSize(int totalSetSize) |
java.lang.String |
toString() |
java.lang.String |
toStringBrief() |
private AdminPromotionSearch promSearch
private AdminPromotion[] promotions
private int offset
private int maxGroupSize
private int totalSetSize
public AdminPromotionSearchResult()
public AdminPromotionSearchResult(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 int getMaxGroupSize()
public void setMaxGroupSize(int maxGroupSize)
maxGroupSize
- The maxGroupSize to set.public int getOffset()
public void setOffset(int offset)
offset
- The offset to set.public AdminPromotionSearch getPromSearch()
public void setPromSearch(AdminPromotionSearch promSearch)
promSearch
- The promSearch to set.public int getTotalSetSize()
public void setTotalSetSize(int totalSetSize)
totalSetSize
- The totalSetSize to set.public AdminPromotion[] getPromotions()
public void setPromotions(AdminPromotion[] promotions)
promotions
- The promotions to set.Copyright © 2018 DS Data Systems UK Ltd.