|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractMap<K,V>
java.util.HashMap<String,Object>
com.endeca.infront.assembler.BasicContentItem
com.endeca.infront.cartridge.DimensionSearchResultsConfig
public class DimensionSearchResultsConfig
DimensionSearchResultsHandler
configuration model.
Nested 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 | |
---|---|
DimensionSearchResultsConfig()
Creates a DimensionSearchResultsConfig with the following default settings: enabled = false
showCountsEnabled = false
relRankEnabled = false
maxResults = 100
maxResultsPerDimension = 10
dimensionList = null
|
|
DimensionSearchResultsConfig(ContentItem pContentItem)
Creates a DimensionSearchResultsConfig with the following default settings: enabled = false
showCountsEnabled = false
relRankEnabled = false
maxResults = 100
maxResultsPerDimension = 10
dimensionList = null
|
|
DimensionSearchResultsConfig(String pType)
Creates a DimensionSearchResultsConfig with the following default settings: enabled = false
showCountsEnabled = false
relRankEnabled = false
maxResults = 100
maxResultsPerDimension = 10
dimensionList = null
|
Method Summary | |
---|---|
List<String> |
getDimensionList()
Returns the dimensions that will be used for dimension search. |
int |
getMaxResults()
Returns the maximum total number of dimension search results. |
int |
getMaxResultsPerDimension()
Returns the maximum number of dimension search results returned for each dimension. |
String |
getRelRank()
Returns the relevancy ranking strategy for sorting dimension search results |
boolean |
isEnabled()
Returns whether or not the dimension search cartridge is enabled. |
boolean |
isShowCountsEnabled()
Returns whether or not record counts are calculated for each result item. |
void |
setDimensionList(List<String> dimensionList)
Sets the dimensions to be used for dimension search. |
void |
setEnabled(boolean enabled)
Enables or disables the dimension search cartridge. |
void |
setMaxResults(int maxResults)
Sets the maximum total number of dimension search results. |
void |
setMaxResultsPerDimension(int maxResultsPerDimension)
Sets the maximum number of dimension search results returned for each dimension. |
void |
setRelRank(String relRank)
Sets the relevancy ranking strategy to use for sorting dimension search results. |
void |
setShowCountsEnabled(boolean enabled)
Enables or disable the calculation of record counts. |
Methods inherited from class com.endeca.infront.assembler.BasicContentItem |
---|
getBooleanProperty, getIntProperty, getLongProperty, getType, getTypedProperty |
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 DimensionSearchResultsConfig()
false
false
false
100
10
null
public DimensionSearchResultsConfig(String pType)
false
false
false
100
10
null
public DimensionSearchResultsConfig(ContentItem pContentItem)
false
false
false
100
10
null
Method Detail |
---|
public boolean isEnabled()
false
, the cartridge handler returns null
for its output model.
The default value is false
.
setEnabled(boolean)
public void setEnabled(boolean enabled)
enabled
- true if dimensions search cartridge should be enabled.isEnabled()
public List<String> getDimensionList()
null
or empty
,
then the dimension search will apply across all dimensions.
The default value is null
.
setDimensionList(java.util.List)
public void setDimensionList(List<String> dimensionList)
null
or empty
,
then the dimension search will apply across all dimensions.
dimensionList
- a list of Strings representing dimension value IDs. May
be null or empty.getDimensionList()
public int getMaxResultsPerDimension()
10
.
setMaxResultsPerDimension(int)
public void setMaxResultsPerDimension(int maxResultsPerDimension)
maxResultsPerDimension
- number of maximum results per dimensiongetMaxResultsPerDimension()
public int getMaxResults()
100
.
setMaxResults(int)
public void setMaxResults(int maxResults)
maxResults
- total number of dimension search results.getMaxResults()
public boolean isShowCountsEnabled()
false
.
setShowCountsEnabled(boolean)
public void setShowCountsEnabled(boolean enabled)
enabled
- true if record counts should be returned.isShowCountsEnabled()
public String getRelRank()
setRelRank(String)
public void setRelRank(String relRank)
Defaults to null.
relRank
- a relrank string, such as "first,static(nbins,desc)" or "exact", or "exact,first"
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |