public class AdminContentSearchResult
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private AdminContent[] |
contents
the contents retrieved
|
private int |
maxGroupSize
maxGroupSize
|
private int |
offset
offset
|
private AdminContentSearch |
search
search - the search that was used to get the results
|
private int |
totalSetSize
totalSetSize
|
Constructor and Description |
---|
AdminContentSearchResult()
Constructor
|
AdminContentSearchResult(com.workingdogs.village.Record r,
com.konakart.db.KKCriteria c)
Instantiates the attributes of the ContentSearchResult object from a Record object
|
Modifier and Type | Method and Description |
---|---|
AdminContent[] |
getContents() |
int |
getMaxGroupSize() |
int |
getOffset() |
AdminContentSearch |
getSearch() |
int |
getTotalSetSize() |
void |
setContents(AdminContent[] contents) |
void |
setMaxGroupSize(int maxGroupSize) |
void |
setOffset(int offset) |
void |
setSearch(AdminContentSearch search) |
void |
setTotalSetSize(int totalSetSize) |
java.lang.String |
toString() |
java.lang.String |
toStringBrief() |
private AdminContentSearch search
private AdminContent[] contents
private int offset
private int maxGroupSize
private int totalSetSize
public AdminContentSearchResult()
public AdminContentSearchResult(com.workingdogs.village.Record r, com.konakart.db.KKCriteria c) throws com.workingdogs.village.DataSetException
r
- Record containing datac
- Criteria containing column namescom.workingdogs.village.DataSetException
- an unexpected exception due to data in Torque (the database layer)public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringBrief()
public AdminContent[] getContents()
public void setContents(AdminContent[] contents)
contents
- the contents to setpublic AdminContentSearch getSearch()
public void setSearch(AdminContentSearch search)
search
- the search to setpublic int getOffset()
public void setOffset(int offset)
offset
- the offset to setpublic int getMaxGroupSize()
public void setMaxGroupSize(int maxGroupSize)
maxGroupSize
- the maxGroupSize to setpublic int getTotalSetSize()
public void setTotalSetSize(int totalSetSize)
totalSetSize
- the totalSetSize to setCopyright © 2018 DS Data Systems UK Ltd.