com.konakartadmin.app
Class AdminPromotionSearchResult

java.lang.Object
  extended by com.konakartadmin.app.AdminPromotionSearchResult

public class AdminPromotionSearchResult
extends java.lang.Object

Promotion Search Results object for the Admin App


Field Summary
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 Summary
AdminPromotionSearchResult()
          Constructor
AdminPromotionSearchResult(com.workingdogs.village.Record r, org.apache.torque.util.Criteria c)
          Instantiates the attributes of the Language object from a Record object
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

promSearch

private AdminPromotionSearch promSearch
ptomotionSearch - the search that was used to get the results


promotions

private AdminPromotion[] promotions
the promotions retrieved


offset

private int offset
offset


maxGroupSize

private int maxGroupSize
maxGroupSize


totalSetSize

private int totalSetSize
totalSetSize

Constructor Detail

AdminPromotionSearchResult

public AdminPromotionSearchResult()
Constructor


AdminPromotionSearchResult

public AdminPromotionSearchResult(com.workingdogs.village.Record r,
                                  org.apache.torque.util.Criteria c)
                           throws com.workingdogs.village.DataSetException
Instantiates the attributes of the Language object from a Record object

Parameters:
r - Record containing data
c - Criteria containing column names
Throws:
com.workingdogs.village.DataSetException
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
Returns:
Returns a string containing the attributes of the Promotion Search object.

toStringBrief

public java.lang.String toStringBrief()
Returns:
Returns a string containing the attributes of the Language object.

getMaxGroupSize

public int getMaxGroupSize()
Returns:
Returns the maxGroupSize.

setMaxGroupSize

public void setMaxGroupSize(int maxGroupSize)
Parameters:
maxGroupSize - The maxGroupSize to set.

getOffset

public int getOffset()
Returns:
Returns the offset.

setOffset

public void setOffset(int offset)
Parameters:
offset - The offset to set.

getPromSearch

public AdminPromotionSearch getPromSearch()
Returns:
Returns the promSearch.

setPromSearch

public void setPromSearch(AdminPromotionSearch promSearch)
Parameters:
promSearch - The promSearch to set.

getTotalSetSize

public int getTotalSetSize()
Returns:
Returns the totalSetSize.

setTotalSetSize

public void setTotalSetSize(int totalSetSize)
Parameters:
totalSetSize - The totalSetSize to set.

getPromotions

public AdminPromotion[] getPromotions()
Returns:
Returns the promotions.

setPromotions

public void setPromotions(AdminPromotion[] promotions)
Parameters:
promotions - The promotions to set.


Copyright © 2011 DS Data Systems UK Ltd.