public class ContentSearchResult extends java.lang.Object implements ContentSearchResultIf
Constructor and Description |
---|
ContentSearchResult()
Constructor
|
ContentSearchResult(com.workingdogs.village.Record r,
KKCriteria c)
Instantiates the attributes of the Content object from a Record object
|
Modifier and Type | Method and Description |
---|---|
ContentIf[] |
getContents() |
int |
getMaxGroupSize() |
int |
getOffset() |
ContentSearchIf |
getSearch() |
int |
getTotalSetSize() |
void |
setContents(ContentIf[] contents) |
void |
setMaxGroupSize(int maxGroupSize) |
void |
setOffset(int offset) |
void |
setSearch(ContentSearchIf search) |
void |
setTotalSetSize(int totalSetSize) |
java.lang.String |
toString() |
java.lang.String |
toStringBrief() |
public ContentSearchResult()
public ContentSearchResult(com.workingdogs.village.Record r, 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 ContentIf[] getContents()
getContents
in interface ContentSearchResultIf
public void setContents(ContentIf[] contents)
setContents
in interface ContentSearchResultIf
contents
- the contents to setpublic ContentSearchIf getSearch()
getSearch
in interface ContentSearchResultIf
public void setSearch(ContentSearchIf search)
setSearch
in interface ContentSearchResultIf
search
- the search to setpublic int getOffset()
getOffset
in interface ContentSearchResultIf
public void setOffset(int offset)
setOffset
in interface ContentSearchResultIf
offset
- the offset to setpublic int getMaxGroupSize()
getMaxGroupSize
in interface ContentSearchResultIf
public void setMaxGroupSize(int maxGroupSize)
setMaxGroupSize
in interface ContentSearchResultIf
maxGroupSize
- the maxGroupSize to setpublic int getTotalSetSize()
getTotalSetSize
in interface ContentSearchResultIf
public void setTotalSetSize(int totalSetSize)
setTotalSetSize
in interface ContentSearchResultIf
totalSetSize
- the totalSetSize to setCopyright © 2018 DS Data Systems UK Ltd.