com.konakartadmin.app
Class AdminCatalogSearchResult

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

public class AdminCatalogSearchResult
extends java.lang.Object

Catalog Search Results object for the Admin App


Field Summary
private  AdminCatalog[] catalogs
          the Catalogs retrieved
private  AdminCatalogSearch catalogSearch
          catalogSearch - the search that was used to get the results
private  int maxGroupSize
          maxGroupSize
private  int offset
          offset
private  int totalSetSize
          totalSetSize
 
Constructor Summary
AdminCatalogSearchResult()
          Constructor
AdminCatalogSearchResult(com.workingdogs.village.Record r, org.apache.torque.util.Criteria c)
          Instantiates the attributes of the Catalog object from a Record object
 
Method Summary
 AdminCatalog[] getCatalogs()
           
 AdminCatalogSearch getCatalogSearch()
           
 int getMaxGroupSize()
           
 int getOffset()
           
 int getTotalSetSize()
           
 void setCatalogs(AdminCatalog[] catalogs)
           
 void setCatalogSearch(AdminCatalogSearch catalogSearch)
           
 void setMaxGroupSize(int maxGroupSize)
           
 void setOffset(int offset)
           
 void setTotalSetSize(int totalSetSize)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

catalogSearch

private AdminCatalogSearch catalogSearch
catalogSearch - the search that was used to get the results


catalogs

private AdminCatalog[] catalogs
the Catalogs retrieved


offset

private int offset
offset


maxGroupSize

private int maxGroupSize
maxGroupSize


totalSetSize

private int totalSetSize
totalSetSize

Constructor Detail

AdminCatalogSearchResult

public AdminCatalogSearchResult()
Constructor


AdminCatalogSearchResult

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

getCatalogSearch

public AdminCatalogSearch getCatalogSearch()
Returns:
the catalogSearch

setCatalogSearch

public void setCatalogSearch(AdminCatalogSearch catalogSearch)
Parameters:
catalogSearch - the catalogSearch to set

getCatalogs

public AdminCatalog[] getCatalogs()
Returns:
the catalogs

setCatalogs

public void setCatalogs(AdminCatalog[] catalogs)
Parameters:
catalogs - the catalogs 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.