public class BrowseSelection extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
BrowseSelection.ValueOperation
Sets how selections filter given multiple of selections within one field
|
| Modifier and Type | Field and Description |
|---|---|
protected ArrayList<String> |
notValues |
protected ArrayList<String> |
values |
| Constructor and Description |
|---|
BrowseSelection(String fieldName)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
BrowseSelection |
addNotValue(String val)
Add a select NOT value
|
BrowseSelection |
addValue(String val)
Add a select value
|
int |
getDepth()
Deprecated.
|
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.
|
BrowseSelection |
setDepth(int depth)
Deprecated.
|
BrowseSelection |
setNotValues(String[] notVals)
Sets the NOT values
|
BrowseSelection |
setSelectionOperation(BrowseSelection.ValueOperation selectionOperation)
Sets value operation
|
void |
setSelectionProperties(Map<String,String> props) |
void |
setSelectionProperty(String key,
String val) |
BrowseSelection |
setStrict(boolean strict)
Deprecated.
|
BrowseSelection |
setValues(String[] vals)
Sets the selected values
|
String |
toString() |
public BrowseSelection(String fieldName)
fieldName - field namepublic boolean isStrict()
getSelectionProperties()setStrict(boolean)public BrowseSelection setStrict(boolean strict)
setSelectionOperation(ValueOperation)strict - is strict appliedisStrict()public int getDepth()
getSelectionProperties()setDepth(int)public BrowseSelection setDepth(int depth)
getSelectionProperties()depth - depthgetDepth()public String getFieldName()
public String[] getValues()
setValues(String[])public String[] getNotValues()
public BrowseSelection setValues(String[] vals)
vals - selected valuesgetValues()public BrowseSelection addValue(String val)
val - select valuepublic BrowseSelection addNotValue(String val)
val - select NOT valuepublic BrowseSelection setNotValues(String[] notVals)
notVals - NOT valuespublic Properties getSelectionProperties()
public BrowseSelection.ValueOperation getSelectionOperation()
setSelectionOperation(ValueOperation)public BrowseSelection setSelectionOperation(BrowseSelection.ValueOperation selectionOperation)
selectionOperation - value operationgetSelectionOperation()Copyright © 2005–2013. All rights reserved.