|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.browseengine.bobo.api.FacetSpec
public class FacetSpec
specifies how facets are to be returned for a browse
| Nested Class Summary | |
|---|---|
static class |
FacetSpec.FacetSortSpec
Sort options for facets |
| Constructor Summary | |
|---|---|
FacetSpec()
Constructor. |
|
| Method Summary | |
|---|---|
ComparatorFactory |
getCustomComparatorFactory()
|
int |
getMaxCount()
Gets the maximum number of choices to return |
int |
getMinHitCount()
Gets the minimum number of hits a choice would need to have to be returned. |
FacetSpec.FacetSortSpec |
getOrderBy()
Get the current choice sort order |
boolean |
isExpandSelection()
Gets whether we are expanding sibling choices |
void |
setCustomComparatorFactory(ComparatorFactory comparatorFactory)
|
void |
setExpandSelection(boolean expandSelection)
Sets whether we are expanding sibling choices |
void |
setMaxCount(int maxCount)
Sets the maximum number of choices to return. |
void |
setMinHitCount(int minCount)
Sets the minimum number of hits a choice would need to have to be returned. |
void |
setOrderBy(FacetSpec.FacetSortSpec order)
Sets the choice sort order |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FacetSpec()
| Method Detail |
|---|
public void setCustomComparatorFactory(ComparatorFactory comparatorFactory)
public ComparatorFactory getCustomComparatorFactory()
public void setMinHitCount(int minCount)
minCount - minimum countgetMinHitCount()public int getMinHitCount()
setMinHitCount(int)public FacetSpec.FacetSortSpec getOrderBy()
setOrderBy(FacetSortSpec)public void setOrderBy(FacetSpec.FacetSortSpec order)
order - sort ordergetOrderBy()public int getMaxCount()
setMaxCount(int)public void setMaxCount(int maxCount)
maxCount - max number of choices to return, default = 0 which means allgetMaxCount()public String toString()
toString in class Objectpublic boolean isExpandSelection()
setExpandSelection(boolean)public void setExpandSelection(boolean expandSelection)
expandSelection - indicating whether to expand sibling choices.isExpandSelection()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||