com.konakartadmin.app
Class AdminCustomerSearchResult

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

public class AdminCustomerSearchResult
extends java.lang.Object

Customer Search Results object for the Admin App


Field Summary
private  AdminCustomer[] customers
          the customers retrieved
private  AdminCustomerSearch custSearch
          custSearch - the search that was used to get the results
private  int maxGroupSize
          maxGroupSize
private  int offset
          offset
private  int totalSetSize
          totalSetSize
 
Constructor Summary
AdminCustomerSearchResult()
          Constructor
AdminCustomerSearchResult(com.workingdogs.village.Record r, org.apache.torque.util.Criteria c)
          Instantiates the attributes of the Customer object from a Record object
 
Method Summary
 AdminCustomer[] getCustomers()
           
 AdminCustomerSearch getCustSearch()
           
 int getMaxGroupSize()
           
 int getOffset()
           
 int getTotalSetSize()
           
 void setCustomers(AdminCustomer[] customers)
           
 void setCustSearch(AdminCustomerSearch custSearch)
           
 void setMaxGroupSize(int maxGroupSize)
           
 void setOffset(int offset)
           
 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

custSearch

private AdminCustomerSearch custSearch
custSearch - the search that was used to get the results


customers

private AdminCustomer[] customers
the customers retrieved


offset

private int offset
offset


maxGroupSize

private int maxGroupSize
maxGroupSize


totalSetSize

private int totalSetSize
totalSetSize

Constructor Detail

AdminCustomerSearchResult

public AdminCustomerSearchResult()
Constructor


AdminCustomerSearchResult

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

toStringBrief

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

getCustomers

public AdminCustomer[] getCustomers()
Returns:
the customers

setCustomers

public void setCustomers(AdminCustomer[] customers)
Parameters:
customers - the customers to set

getCustSearch

public AdminCustomerSearch getCustSearch()
Returns:
the custSearch

setCustSearch

public void setCustSearch(AdminCustomerSearch custSearch)
Parameters:
custSearch - the custSearch 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.