com.konakartadmin.app
Class AdminTagSearchResult

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

public class AdminTagSearchResult
extends java.lang.Object

Tag Search Results object for the Admin App


Field Summary
private  int maxGroupSize
          maxGroupSize...
private  int offset
          offset..
private  AdminSearch search
          search - the search that was used to get the results
private  AdminTag[] tags
          the AdminTags themselves.
private  int totalSetSize
          totalSetSize...
 
Constructor Summary
AdminTagSearchResult()
          Constructor
AdminTagSearchResult(com.workingdogs.village.Record r, org.apache.torque.util.Criteria c)
          Instantiates the attributes of the OrderStatus object from a Record object
 
Method Summary
 int getMaxGroupSize()
           
 int getOffset()
           
 AdminSearch getSearch()
           
 AdminTag[] getTags()
           
 int getTotalSetSize()
           
 void setMaxGroupSize(int maxGroupSize)
           
 void setOffset(int offset)
           
 void setSearch(AdminSearch search)
           
 void setTags(AdminTag[] tags)
           
 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

search

private AdminSearch search
search - the search that was used to get the results


offset

private int offset
offset.. the offset with reference to tagIds only...


maxGroupSize

private int maxGroupSize
maxGroupSize... the maximum number of unique tagIds to return - there may be more records returned if there are multiple languages for each tagId.


totalSetSize

private int totalSetSize
totalSetSize... the total number of unique tagIds found that match the search criteria


tags

private AdminTag[] tags
the AdminTags themselves.

Constructor Detail

AdminTagSearchResult

public AdminTagSearchResult()
Constructor


AdminTagSearchResult

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

toStringBrief

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

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

setSearch

public void setSearch(AdminSearch search)
Parameters:
search - Admin Search object to set

getSearch

public AdminSearch getSearch()
Returns:
the generic Admin search object

getTags

public AdminTag[] getTags()
Returns:
an array of AdminTags

setTags

public void setTags(AdminTag[] tags)
Parameters:
tags - the AdminTags to set


Copyright © 2011 DS Data Systems UK Ltd.