com.konakartadmin.app
Class AdminOrderSearchResult

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

public class AdminOrderSearchResult
extends java.lang.Object

Order Search Results object for the Admin App


Field Summary
private  int maxGroupSize
          maxGroupSize
private  int offset
          offset
private  AdminOrder[] orders
          the orders retrieved
private  AdminOrderSearch orderSearch
          custSearch - the search that was used to get the results
private  int totalSetSize
          totalSetSize
 
Constructor Summary
AdminOrderSearchResult()
          Constructor
AdminOrderSearchResult(com.workingdogs.village.Record r, org.apache.torque.util.Criteria c)
          Instantiates the attributes of the Order object from a Record object
 
Method Summary
 int getMaxGroupSize()
           
 int getOffset()
           
 AdminOrder[] getOrders()
           
 AdminOrderSearch getOrderSearch()
           
 int getTotalSetSize()
           
 void setMaxGroupSize(int maxGroupSize)
           
 void setOffset(int offset)
           
 void setOrders(AdminOrder[] orders)
           
 void setOrderSearch(AdminOrderSearch orderSearch)
           
 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

orderSearch

private AdminOrderSearch orderSearch
custSearch - the search that was used to get the results


orders

private AdminOrder[] orders
the orders retrieved


offset

private int offset
offset


maxGroupSize

private int maxGroupSize
maxGroupSize


totalSetSize

private int totalSetSize
totalSetSize

Constructor Detail

AdminOrderSearchResult

public AdminOrderSearchResult()
Constructor


AdminOrderSearchResult

public AdminOrderSearchResult(com.workingdogs.village.Record r,
                              org.apache.torque.util.Criteria c)
                       throws com.workingdogs.village.DataSetException
Instantiates the attributes of the Order 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 Order object.

toStringBrief

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

getOrders

public AdminOrder[] getOrders()
Returns:
the orders

setOrders

public void setOrders(AdminOrder[] orders)
Parameters:
orders - the orders to set

getOrderSearch

public AdminOrderSearch getOrderSearch()
Returns:
the orderSearch

setOrderSearch

public void setOrderSearch(AdminOrderSearch orderSearch)
Parameters:
orderSearch - the orderSearch to set

getOffset

public int getOffset()
Returns:
the offset

setOffset

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

getMaxGroupSize

public int getMaxGroupSize()
Returns:
the maxGroupSize

setMaxGroupSize

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

getTotalSetSize

public int getTotalSetSize()
Returns:
the totalSetSize

setTotalSetSize

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


Copyright © 2011 DS Data Systems UK Ltd.