|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.AbstractMap<K,V> java.util.HashMap<String,Object> com.endeca.infront.assembler.BasicContentItem com.endeca.infront.cartridge.ResultsList
public class ResultsList
ResultsListHandler
output model.
SortOptionLabel
,
Record
,
Serialized FormNested Class Summary |
---|
Nested classes/interfaces inherited from class java.util.AbstractMap |
---|
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V> |
Nested classes/interfaces inherited from interface java.util.Map |
---|
Map.Entry<K,V> |
Constructor Summary | |
---|---|
ResultsList(ResultsListConfig pConfig)
Creates the ResultsList output model, using the
type and data present in the input ResultsListConfig . |
Method Summary | |
---|---|
long |
getFirstRecNum()
One-based index of the first record in the records list. |
long |
getLastRecNum()
One-based index of the last record in the records list. |
NavigationAction |
getPagingActionTemplate()
Gets an action that can be modified to retrieve a page in the ResultsList. |
List<Sort> |
getPrecomputedSorts()
Returns the list of precomputed sorts (as configured in the mdex engine) |
List<Record> |
getRecords()
Returns the list of records. |
long |
getRecsPerPage()
Returns the records per page in the rendering code. |
List<SortOptionLabel> |
getSortOptions()
Returns the list of sort options to display. |
long |
getTotalNumRecs()
Total number of records in the result set; not the same as the number of records in this ResultsList. |
void |
setFirstRecNum(long firstRecNum)
Sets the one-based index of the first record in the record list. |
void |
setLastRecNum(long lastRecNum)
Sets one-based index of the last record in the records list. |
void |
setPagingActionTemplate(NavigationAction pagingAction)
Sets the paging action template. |
void |
setPrecomputedSorts(List<Sort> precomputedSorts)
Sets the list of precomputed sorts. |
void |
setRecords(List<Record> records)
Sets the list of records. |
void |
setRecsPerPage(long recsPerPage)
Sets records per page in the rendering code. |
void |
setSortOptions(List<SortOptionLabel> sortOptions)
Sets the list of sort options to display. |
void |
setTotalNumRecs(long totalNumRecs)
Sets total number of records. |
Methods inherited from class com.endeca.infront.assembler.BasicContentItem |
---|
getBooleanProperty, getIntProperty, getLongProperty, getType, getTypedProperty, setType |
Methods inherited from class java.util.HashMap |
---|
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from class java.util.AbstractMap |
---|
equals, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
---|
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
Constructor Detail |
---|
public ResultsList(ResultsListConfig pConfig)
ResultsList
output model, using the
type and data present in the input ResultsListConfig
.
Method Detail |
---|
public List<Record> getRecords()
public void setRecords(List<Record> records)
public long getFirstRecNum()
0
.
public void setFirstRecNum(long firstRecNum)
public long getLastRecNum()
0
.
public void setLastRecNum(long lastRecNum)
public long getTotalNumRecs()
If aggregate records are enabled, this is the total number of aggregate records in the result set.
public void setTotalNumRecs(long totalNumRecs)
getTotalNumRecs()
public NavigationAction getPagingActionTemplate()
e.g. /_/N-349584?No={offset}&Nrpp={recordPerPage}
Format of this action URL depends on application configuration and cartridge handler configuration.
public void setPagingActionTemplate(NavigationAction pagingAction)
getPagingActionTemplate()
public List<SortOptionLabel> getSortOptions()
public void setSortOptions(List<SortOptionLabel> sortOptions)
public long getRecsPerPage()
public void setRecsPerPage(long recsPerPage)
public List<Sort> getPrecomputedSorts()
Note: Unless precomputed sorts are explicitly selected to be returned by the app, this list will be empty
public void setPrecomputedSorts(List<Sort> precomputedSorts)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |