|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.endeca.infront.navigation.model.SortOption
public class SortOption
A specification of how a navigation results list should be sorted.
| Constructor Summary | |
|---|---|
SortOption()
|
|
SortOption(String stringRepresentation)
Constructor that supports a String representation. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object that)
Equality check. |
String |
getLabel()
The display name for this sorting option (optional). |
List<SortSpec> |
getSorts()
The list of sort specifications. |
int |
hashCode()
|
boolean |
isDefault()
Returns whether or not this sort was applied as a default sort, or as a user-requested sort Used to control the application of Boost / Bury |
void |
setDefault(boolean isDefault)
|
void |
setLabel(String label)
|
void |
setSorts(List<SortSpec> sorts)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SortOption()
public SortOption(String stringRepresentation)
stringRepresentation - cannot be null| Method Detail |
|---|
public String getLabel()
public void setLabel(String label)
public List<SortSpec> getSorts()
public void setSorts(List<SortSpec> sorts)
sorts - -- if this is null, will set
an empty list for the value of sortspublic boolean isDefault()
public void setDefault(boolean isDefault)
public boolean equals(Object that)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||