|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
This interface defines the relationship between the AdvancedFilterPanel and an implemented adaptor.
SimpleFilterDefinitionModelInterface,
SimpleFilterListEditorModelInterface| Method Summary | |
boolean |
addSelection(FilterLogicTestNodeInterface value)
adds a new selection to the end of the FilterLogicList (cursor position undefined after an add) |
FilterValueInterface |
applyExpressionValueEditorChanges(FilterLogicTestNodeInterface testNode,
int valueIndex)
Applies the changes made in the ExpressionValueEditor to the given FilterLogicTestNodeInterface. |
FilterItemInterface |
applyFilterItemEditorChanges(FilterLogicTestNodeInterface testNode)
Applies the changes made in the FilterItemEditor to the given FilterLogicTestNodeInterface. |
FilterQualifierInterface |
applyFilterQualifierEditorChanges(FilterLogicTestNodeInterface testNode)
Applies the changes made in the FilterQualifierEditor to the given FilterLogicTestNodeInterface. |
FilterValueInterface |
applyPromptValueEditorChanges(FilterLogicTestNodeInterface testNode,
int valueIndex)
Applies the changes made in the PromptValueEditor to the given FilterLogicTestNodeInterface. |
void |
cancel()
Returns the filter model to its initial state. |
void |
clear()
Clear the filter selection model and commit the changes. |
void |
clear(boolean commit)
Clear the filter selection model and optionally commit the changes. |
ExpressionValueEditorInterface |
getExpressionValueEditor()
Returns the editor to use to edit an expression value. |
String |
getFilterDescription()
Gets the description for the overall filter. |
FilterItemEditorInterface |
getFilterItemEditor()
Returns the editor to use to edit a filter item. |
String |
getFilterLabel()
Returns the label for the overall filter. |
FilterLogicListInterface |
getFilterLogicList()
Returns a java.util.List of test nodes. |
QualifiersEditorInterface |
getFilterQualifierEditor()
Returns the editor to use to edit a filter qualifier. |
Locale |
getLocale()
Returns the Locale currently set on the model. |
int |
getMaxOutputObservations()
Returns the current maximum number of output observations returned when gathering a list of possible values to select from when creating a filter expression. |
PromptValueEditorInterface |
getPromptValueEditor()
Returns the editor to use to edit a prompt value. |
List |
getPromptValueList(Object testNode)
Returns a List containing all known prompts filter values. |
Map |
getPromptValueMap()
Returns a Map containing all known prompts using their names for keys. |
int |
getSelectionCount()
get the number of selectable entries in the model. |
int |
getSelectionCursor()
get the index of the model cursor |
SimpleFilterLogicTreeInterface |
getSelectionTree()
Returns a tree model that defines a single compound filter. |
boolean |
isEditedExpressionValue(Object value)
Returns TRUE if the given object represents a value that was created by the expression editor. |
boolean |
isPromptedValue(Object value)
Returns TRUE if the given object represents a prompted value. |
boolean |
isQuotedValue(Object value)
Returns TRUE if the given object represents a value that will be quoted during query generation. |
boolean |
isUserCreatedValue(Object value)
Returns TRUE if the given object represents a value that was created by a user entering a String expression value in the filter selector. |
boolean |
isValidFilter(FilterLogicTestNodeInterface testNode)
Validates the filter. |
void |
removeSelection()
removes the current selection from the FilterLogicList (cursor position is undefined after remove) |
void |
setExpressionValueEditor(ExpressionValueEditorInterface editor)
Sets the editor to use to edit an expression value. |
void |
setExpressionValueEditorInfo(FilterLogicTestNodeInterface testNode,
int valueIndex)
Prepares the ExpressionValueEditor to edit the current filter value based on the given FilterLogicTestNodeInterface. |
void |
setFilterDescription(String value)
Sets the description for the overall filter. |
void |
setFilterItemEditor(FilterItemEditorInterface editor)
Sets the editor to use to edit a filter item. |
void |
setFilterItemEditorInfo(FilterLogicTestNodeInterface testNode)
Prepares the FilterItemEditor to edit the current filter value based on the given FilterLogicTestNodeInterface. |
void |
setFilterLabel(String label)
Sets the label for the overall filter. |
void |
setFilterQualifierEditor(QualifiersEditorInterface editor)
Sets the editor to use to edit a filter qualifier. |
void |
setFilterQualifierEditorInfo(FilterLogicTestNodeInterface testNode)
Prepares the FilterQualifierEditor to edit the selected qualifiers based on the given FilterLogicTestNodeInterface. |
void |
setLocale(Locale locale)
Sets the Locale to be used by the model. |
void |
setMaxOutputObservations(int max)
Sets the current maximum number of output observations to be returned when gathering a list of possible values to select from when creating a filter expression. |
void |
setPromptValueEditor(PromptValueEditorInterface editor)
Sets the editor to use to edit a prompt value. |
void |
setPromptValueEditorInfo(FilterLogicTestNodeInterface testNode,
int valueIndex)
Prepares the PromptValueEditor to edit the current filter value based on the given FilterLogicTestNodeInterface. |
void |
setSelectionCursor(int index)
move the model cursor to a new selection index |
| Methods inherited from interface com.sas.dataselectors.filters.AdvancedFilterDefinitionModelInterface |
isOLAP |
| Methods inherited from interface com.sas.dataselectors.filters.SimpleFilterDefinitionModelInterface |
commitChanges, getApplicationData, getDataSource, getRootFilterObject, getSelection, setApplicationData, setSelection |
| Method Detail |
public String getFilterLabel()
public void setFilterLabel(String label)
label - the new labelpublic String getFilterDescription()
public void setFilterDescription(String value)
value - the new descriptionpublic SimpleFilterLogicTreeInterface getSelectionTree()
FilterLogicTestNodeInterface,
FilterLogicBaseNodeInterface,
FilterLogicAndNodeInterface,
FilterLogicOrNodeInterface,
FilterLogicNotNodeInterfacepublic FilterLogicListInterface getFilterLogicList()
DefaultFilterLogicListpublic void setSelectionCursor(int index)
int - the 0 based index in the FilterLogicList to be the new selectionpublic int getSelectionCursor()
public boolean addSelection(FilterLogicTestNodeInterface value)
FilterLogicTestNodeInterface - logic test node values to make up the new objectpublic void removeSelection()
public int getSelectionCount()
public void clear()
public void clear(boolean commit)
commit - pass TRUE if the model should apply the changes to the
underlying data source.public PromptValueEditorInterface getPromptValueEditor()
public void setPromptValueEditor(PromptValueEditorInterface editor)
editor - the prompt value editorpublic ExpressionValueEditorInterface getExpressionValueEditor()
public void setExpressionValueEditor(ExpressionValueEditorInterface editor)
editor - the expression value editorpublic FilterItemEditorInterface getFilterItemEditor()
public void setFilterItemEditor(FilterItemEditorInterface editor)
editor - the filter item editorpublic QualifiersEditorInterface getFilterQualifierEditor()
public void setFilterQualifierEditor(QualifiersEditorInterface editor)
editor - the filter qualifier editorpublic void setFilterItemEditorInfo(FilterLogicTestNodeInterface testNode)
testNode - the test node to examinepublic FilterItemInterface applyFilterItemEditorChanges(FilterLogicTestNodeInterface testNode)
testNode - the test node to examinepublic void setFilterQualifierEditorInfo(FilterLogicTestNodeInterface testNode)
testNode - the test node to examinepublic FilterQualifierInterface applyFilterQualifierEditorChanges(FilterLogicTestNodeInterface testNode)
testNode - the test node to examine
public void setPromptValueEditorInfo(FilterLogicTestNodeInterface testNode,
int valueIndex)
testNode - the test node to examinevalueIndex - the index in the value list of the value to edit
public FilterValueInterface applyPromptValueEditorChanges(FilterLogicTestNodeInterface testNode,
int valueIndex)
testNode - the test node to examinevalueIndex - the index in the value list of the value to edit
public void setExpressionValueEditorInfo(FilterLogicTestNodeInterface testNode,
int valueIndex)
testNode - the test node to examinevalueIndex - the index in the value list of the value to edit
public FilterValueInterface applyExpressionValueEditorChanges(FilterLogicTestNodeInterface testNode,
int valueIndex)
testNode - the test node to examinevalueIndex - the index in the value list of the value to editpublic boolean isPromptedValue(Object value)
value - the Object to examinepublic Map getPromptValueMap()
public List getPromptValueList(Object testNode)
testNode - the object to return prompts forpublic boolean isEditedExpressionValue(Object value)
value - the Object to examinepublic void cancel()
public Locale getLocale()
public void setLocale(Locale locale)
locale - the new Locale for the modelpublic int getMaxOutputObservations()
public void setMaxOutputObservations(int max)
max - the new maximum number of output observationsGoverning
public boolean isValidFilter(FilterLogicTestNodeInterface testNode)
throws FilterException
testNode - the testNode to validate the filter forFilterException - if any errors occurred during the validation of the filterpublic boolean isUserCreatedValue(Object value)
value - the Object to examinepublic boolean isQuotedValue(Object value)
value - the Object to examine
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||