|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.browseengine.bobo.api.BrowseSelection
public class BrowseSelection
Browse selection.
| Nested Class Summary | |
|---|---|
static class |
BrowseSelection.ValueOperation
Sets how selections filter given multiple of selections within one field |
| Field Summary | |
|---|---|
protected ArrayList<String> |
notValues
|
protected ArrayList<String> |
values
|
| Constructor Summary | |
|---|---|
BrowseSelection(String fieldName)
Constructor |
|
| Method Summary | |
|---|---|
void |
addNotValue(String val)
Add a select NOT value |
void |
addValue(String val)
Add a select value |
int |
getDepth()
Deprecated. use getSelectionProperties() |
String |
getFieldName()
Gets the field name |
String[] |
getNotValues()
Gets the selected NOT values |
BrowseSelection.ValueOperation |
getSelectionOperation()
Gets value operation. |
Properties |
getSelectionProperties()
|
String[] |
getValues()
Gets the selected values |
boolean |
isStrict()
Deprecated. use getSelectionProperties() |
void |
setDepth(int depth)
Deprecated. use getSelectionProperties() |
void |
setNotValues(String[] notVals)
Sets the NOT values |
void |
setSelectionOperation(BrowseSelection.ValueOperation selectionOperation)
Sets value operation |
void |
setSelectionProperties(Map<String,String> props)
|
void |
setSelectionProperty(String key,
String val)
|
void |
setStrict(boolean strict)
Deprecated. use setSelectionOperation(ValueOperation) |
void |
setValues(String[] vals)
Sets the selected values |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected ArrayList<String> values
protected ArrayList<String> notValues
| Constructor Detail |
|---|
public BrowseSelection(String fieldName)
fieldName - field name| Method Detail |
|---|
public void setSelectionProperty(String key,
String val)
public void setSelectionProperties(Map<String,String> props)
public boolean isStrict()
getSelectionProperties()
setStrict(boolean)public void setStrict(boolean strict)
setSelectionOperation(ValueOperation)
strict - is strict appliedisStrict()public int getDepth()
getSelectionProperties()
setDepth(int)public void setDepth(int depth)
getSelectionProperties()
depth - depthgetDepth()public String getFieldName()
public String[] getValues()
setValues(String[])public String[] getNotValues()
public void setValues(String[] vals)
vals - selected valuesgetValues()public void addValue(String val)
val - select valuepublic void addNotValue(String val)
val - select NOT valuepublic void setNotValues(String[] notVals)
notVals - NOT valuespublic Properties getSelectionProperties()
public BrowseSelection.ValueOperation getSelectionOperation()
setSelectionOperation(ValueOperation)public void setSelectionOperation(BrowseSelection.ValueOperation selectionOperation)
selectionOperation - value operationgetSelectionOperation()public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||