***  This class is subject to change   ***

com.sas.commands.dataselectors
Class AdvancedFilterSelectorCommand

java.lang.Object
  |
  +--com.sas.entities.BaseEntity
        |
        +--com.sas.commands.BaseCommand
              |
              +--com.sas.commands.dataselectors.BaseSelectorCommand
                    |
                    +--com.sas.commands.dataselectors.AdvancedFilterSelectorCommand
All Implemented Interfaces:
BaseEntityInterface, BaseEntityValueInterface, CancelInterface, Command, CommandStatusInterface, CommandSupportedInterface, ContentsChangedInterface, DataSelectorCommandInterface, DynamicAttributeCommandInterface, EntityKeyInterface, PendingCommandInterface, PublicClonable, SimpleCommand, StringDataInterface

public class AdvancedFilterSelectorCommand
extends BaseSelectorCommand
implements CommandSupportedInterface, CommandStatusInterface

This class implements the Advanced Filter Selector Command. Ideally, the command class will perform all the modifications to the Selector model. The selector should react to the ContentsChangedEvents fired off after the model changes.


Field Summary
protected  HashMap actionInfo
          The action map
static String ADD_ACTION
          pendingAction value when the ADD_ACTION is executed.
static String AND_ACTION
          pendingAction value when the AND_ACTION is executed.
static String CANCEL_ACTION
          pendingAction value when the CANCEL_ACTION is executed.
static String CLEAR_ACTION
          pendingAction value when the CLEAR_ACTION is executed.
static String CLEARALL_ACTION
          pendingAction value when the CLEARALL_ACTION is executed.
static String CONDITION_CHANGED
          pendingAction value when the condition is changed.
static String DELETE_ACTION
          pendingAction value when the DELETE_ACTION is executed.
static String DELETEALL_ACTION
          pendingAction value when the DELETEALL_ACTION is executed.
static String DOWN_ACTION
          pendingAction value when the DOWN_ACTION is executed.
static String EDIT_ACTION
          pendingAction value when the EDIT_ACTION is executed.
static String FILTERITEM_CHANGED
          pendingAction value when the filter item changed.
static String GROUP_ACTION
          pendingAction value when the GROUP_ACTION is executed.
static String IMPORT_ACTION
          pendingAction value when the IMPORT_ACTION is executed.
static String NOT_ACTION
          pendingAction value when the NOT_ACTION is executed.
static String OLAPOK_ACTION
          pendingAction value when the OLAPOK_ACTION is executed.
static String OR_ACTION
          pendingAction value when the OR_ACTION is executed.
static String QUALIFIER_ACTION
          pendingAction value when the QUALIFIER_ACTION is executed.
static String QUALIFIER_APPLIED
          pendingAction when the qualifier is applied
static String QUALIFIER_CHANGED
          pendingAction value when the qualifier changed.
static String QUALIFIER_CHECKED
          pendingAction value when the qualifier is activated.
static String RB_KEY2
           
static String SELECTED_CONDITION
           
static String SET_ACTION
          pendingAction value when the SET_ACTION is executed.
static String SPLIT_ACTION
          pendingAction value when the SPLIT_ACTION is executed.
static String UP_ACTION
          pendingAction value when the UP_ACTION is executed.
static String UPDATE_ACTION
          pendingAction value when the UPDATE_ACTION is executed.
 
Fields inherited from class com.sas.commands.dataselectors.BaseSelectorCommand
actionClass, CANCEL_MODE, COMMIT_MODE, complete, contentsChanged, eventInfo, eventSource, modal, mode, model, PROCESS_MODE, selector, selectorModel, SHOW_MODE
 
Fields inherited from interface com.sas.actionprovider.CommandStatusInterface
DISABLED, ENABLED, IS_CURRENT_STATE_DISABLED, MODEL_MEMBER_DISABLED, MODEL_STATE_DISABLED, MODEL_TYPE_DISABLED
 
Fields inherited from interface com.sas.commands.DynamicAttributeCommandInterface
COMMAND_NAME_PREFIX
 
Constructor Summary
AdvancedFilterSelectorCommand()
          The default constructor for this command.
AdvancedFilterSelectorCommand(String name)
          Constructor that accepts a command name.
AdvancedFilterSelectorCommand(String name, String actionClass)
          Constructor that accepts a command name and an action class type.
 
Method Summary
 void cancel(Object o)
          The cancel method resets the model to its original state and hides or destroys the selector visual.
protected  void cleanUp()
           
protected  void commit(Object o)
          The commit method alters the original model to reflect any changes made by the user and hides or destroys the selector visual.
 String getAction()
          Returns the current action of the selector command.
 String getAddFilter()
          Returns the ADD_ACTION
 String getAndFilter()
          Returns the AND_ACTION
protected  List getCalendar(long type)
           
protected  FilterLogicEditableTestNodeInterface getChangableSelectionModel()
          Returns a version of the selection model that is modifiable.
protected  FilterLogicEditableTestNodeInterface getChangableSelectionModel(FilterLogicTestNodeInterface node)
           
 String getClearAllFilter()
          Returns the clearAllFilter action value
 String getClearFilter()
          Returns the clearFilter action value.
 int getCommandStatus(ActionSupportFilter filter)
          Returns a int value indicating whether the command is enabled for the given area as specified by the current area information encapsulate in the ActionSupportFilter.
 AdvancedFilterModelInterface getCurrentValidatedModel()
           
 String getDeleteAllFilters()
          Returns the DELETEALL_ACTION
 String getDeleteFilter()
          Returns the DELETE_ACTION
 String getDownFilter()
          Returns the DOWN_ACTION
 String getEditFilter()
          Returns the EDIT_ACTION
 String getEndCalendar()
          Return the end calendar value
 String getFilterDescription()
          Gets the current filter description from the selection model.
 String getFilterItem()
          Returns the filter item
 Map getFilterItemMap()
          Gets the map for the FilterItemInterface instances in the data model.
 String getFilterName()
          Gets the current filter name from the selection model.
 String getFilterOperator()
          Returns the filter operator
 String getFilterQualifier()
          Returns the filter qualifier value
 String getFilterValue()
          Returns the filter value.
protected  FilterValueInterface getFilterValue(String uniqueId, AdvancedFilterModelInterface afsModel)
           
 String getFilterValueMax()
          Returns the maximum filter value
 String getFilterValueMaxText()
          Returns the maximum filter value
 String getFilterValueMin()
          Returns the minimum filter value.
 String getFilterValueMinText()
          Returns the minimum filter value.
 String getFilterValueText()
          Returns the filter value for the text entry.
 String getFilterValueTyped()
          Returns the typed filter value
 String getGroupFilter()
          Returns the GROUP_ACTION
protected static String getID(Object object)
           
 String getImportFilter()
           
 String getNotFilter()
          Returns the NOT_ACTION
 String getOlapOkAction()
          Returns the OLAPOK_ACTION
 String getOrFilter()
          Returns the OR_ACTION
 String getPendingAction()
           
 String[] getQualifiedMeasure()
          Returns the qualified measure value used when the model is OLAP
protected  QualifiersEditorInterface getQualifierEditor()
          Returns the Qualifier Editor
 String getQualifierMode()
          Returns the OLAPOK_ACTION
 String getSelectedCondition()
           
 String[] getSelectedFilterValues()
          Returns the selected filter values
 String getSelectedQualifier()
          Returns the selected qualifier
protected  FilterLogicTestNodeInterface getSelection()
           
protected  FilterLogicTestNodeInterface getSelectionModel()
          Returns the selection portion of the selector model if it is valid.
 String getSplitFilter()
          Returns the OLAPOK_ACTION
 String getStartCalendar()
          Return the start calendar value
 String getTypedFilterValueMax()
          Returns the typed maximum filter value.
 String getTypedFilterValueMin()
          Returns the typed filter minimum value.
 String getTypedFilterValues()
          Returns the typed filter values
 String getUpdateFilter()
          Returns the UPDATE_FILTER action.
 String getUpFilter()
          Returns the UP_ACTION
 AdvancedFilterModelInterface getValidatedModel(boolean updateSelector)
           
 String getValueEntryType()
           
 String getValueListItem()
          Returns the filter value list
 String getWhereCheckbox()
           
protected  boolean isOlap()
           
 boolean isSupported(ActionSupportFilter actionFilter)
          Returns TRUE if the command is supported given the contents of the support filter.
protected  boolean isSwing()
           
protected  void process(Object o)
          Processes the request object to manipulate the model.
 void setAction(String value)
          Sets the current action of the selector command.
 void setAddFilter(String value)
          Sets pendingAction to ADD_ACTION
 void setAndFilter(String itemID)
          Sets pendingAction to AND_ACTION
 void setClearAllFilter(String all)
          Sets the CLEARALL_ACTION as the pending action.
 void setClearFilter(String itemID)
          Sets the CLEAR_ACTION as the pending action.
 void setDeleteAllFilters(String dummy)
          Sets pendingAction to DELETEALL_ACTION
 void setDeleteFilter(String itemID)
          Sets pendingAction to DELETE_ACTION
 void setDownFilter(String itemID)
          Sets pendingAction to DOWN_ACTION
 void setEditFilter(String itemID)
          Sets pendingAction to EDIT_ACTION
protected  void setEditor(AdvancedFilterModelInterface filterModel, EditorInterface editor)
           
protected  void setEditors(AdvancedFilterModelInterface filterModel, List editors)
           
protected  void setEditors(FilterableListModelInterface filterableList, List editors)
           
 void setEndCalendar(String calendar)
          Sets the end calendar value
 void setFilterDescription(String description)
          Sets the filter description in the selection model.
 void setFilterItem(String itemID)
          Sets the filter item
 void setFilterItemMap(List list)
          Sets the map for the FilterItemInterface instances in the data model.
 void setFilterName(String name)
          Sets the filter name in the selection model.
 void setFilterOperator(String itemID)
          Sets the filter operator value
 void setFilterQualifier(String itemID)
          Sets the filter qualifier values
 void setFilterValue(String value)
          Sets the filter value
 void setFilterValueMax(String value)
          Sets the maximum filter value when condition is In Between or Not In Between
 void setFilterValueMaxText(String value)
          Sets the maximum filter value when condition is In Between or Not In Between
 void setFilterValueMin(String value)
          Sets the minimum filter value when condition is In Between or Not In Between
 void setFilterValueMinText(String value)
          Sets the minimum filter value when condition is In Between or Not In Between
 void setFilterValueText(String value)
          Sets the filter value for the text entry.
 void setFilterValueTyped(String value)
          Sets the typed filter values
 void setGroupFilter(String items)
          Sets pendingAction to GROUP_ACTION
 void setImportFilter(String itemID)
           
 void setNotFilter(String itemID)
          Sets pendingAction to NOT_ACTION
 void setOlapOkAction(String value)
          Sets pendingAction to OLAPOK_ACTION
 void setOrFilter(String itemID)
          Sets pendingAction to OR_ACTION
 void setPendingAction(String value)
           
 void setQualifiedMeasure(String[] values)
          Sets qualified measures
 void setQualifierMode(String itemID)
          Sets pendingAction to QUALIFIER_ACTION
 void setSelectedCondition(String itemID)
           
 void setSelectedFilterValues(List values)
          Sets the selected filter values
 void setSelectedFilterValues(String[] values)
          Sets the selected filter values
 void setSelectedQualifier(String itemID)
          Sets the selected qualifier on the command
protected  void setSelection(FilterLogicTestNodeInterface selection)
           
 void setSplitFilter(String itemID)
          Sets pendingAction to SPLIT_ACTION
 void setStartCalendar(String calendar)
          Sets the start calendar value
 void setTypedFilterValueMax(String value)
          Sets the typed filter maximum value
 void setTypedFilterValueMin(String value)
          Sets the typed minimum filter value.
 void setTypedFilterValues(String value)
          Sets the typed filter values
 void setUpdateFilter(String itemID)
          Sets pendingAction to UPDATE_ACTION
 void setUpFilter(String itemID)
          Sets pendingAction to UP_ACTION
 void setValueEntryType(String type)
           
 void setValueListItem(String itemID)
          Sets the filter value list.
 void setWhereCheckbox(String state)
           
protected  void show(Object o)
          Creates the initial selector model from the stored data model and supplies it to the associated selector.
protected  boolean updatable(FilterLogicEditableTestNodeInterface changableSelection)
          Returns true if all required values for an update are available.
 boolean updateSelectionCombination(AdvancedFilterModelInterface afsModel, FilterLogicEditableTestNodeInterface changableSelection, FilterLogicTestNodeObjectMap objectMap)
          Updates the model with the combination actions such as ADD_ACTION, DELETE_ACTION, UPDATE_ACTION, EDIT_ACTION, MOVEUP_ACTION, MOVEDOWN_ACTION, GROUP_ACTION and SPLIT_ACTION.
 boolean updateSelectionModel()
          Updates the current selection model with the selector's value
protected  boolean updateSelectionModel(FilterLogicEditableTestNodeInterface changableSelection, AdvancedFilterModelInterface afsModel)
          Updates the selection model
 
Methods inherited from class com.sas.commands.dataselectors.BaseSelectorCommand
cancel, closeSelector, execute, getEventInfo, getEventSource, getMode, getModel, getSelector, getSelectorModel, isComplete, isContentsChanged, isModal, setComplete, setModal, setMode, setModel, setSelector, setSelectorModel
 
Methods inherited from class com.sas.commands.BaseCommand
getLocale, getName, getNextCommandName, getText, isExecutable, isUndoable, setLocale, setName, setText, undo
 
Methods inherited from class com.sas.entities.BaseEntity
clone, containsAttributeNamed, equals, equals, getAttribute, getAttribute, getAttributeCount, getAttributes, getEntityKey, getPropertyDescriptors, getStringAttribute, listAttributeNames, removeAllAttributes, removeAttribute, reset, sameEntity, setAttribute, setAttributes, setEntityKey, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.sas.entities.BaseEntityValueInterface
getAttribute, setAttribute
 
Methods inherited from interface com.sas.util.Command
clone
 

Field Detail


RB_KEY2

public static final String RB_KEY2

SELECTED_CONDITION

public static final String SELECTED_CONDITION

ADD_ACTION

public static final String ADD_ACTION
pendingAction value when the ADD_ACTION is executed.

UPDATE_ACTION

public static final String UPDATE_ACTION
pendingAction value when the UPDATE_ACTION is executed.

DELETE_ACTION

public static final String DELETE_ACTION
pendingAction value when the DELETE_ACTION is executed.

DELETEALL_ACTION

public static final String DELETEALL_ACTION
pendingAction value when the DELETEALL_ACTION is executed.

SET_ACTION

public static final String SET_ACTION
pendingAction value when the SET_ACTION is executed.

EDIT_ACTION

public static final String EDIT_ACTION
pendingAction value when the EDIT_ACTION is executed.

AND_ACTION

public static final String AND_ACTION
pendingAction value when the AND_ACTION is executed.

OR_ACTION

public static final String OR_ACTION
pendingAction value when the OR_ACTION is executed.

NOT_ACTION

public static final String NOT_ACTION
pendingAction value when the NOT_ACTION is executed.

SPLIT_ACTION

public static final String SPLIT_ACTION
pendingAction value when the SPLIT_ACTION is executed.

GROUP_ACTION

public static final String GROUP_ACTION
pendingAction value when the GROUP_ACTION is executed.

UP_ACTION

public static final String UP_ACTION
pendingAction value when the UP_ACTION is executed.

DOWN_ACTION

public static final String DOWN_ACTION
pendingAction value when the DOWN_ACTION is executed.

QUALIFIER_ACTION

public static final String QUALIFIER_ACTION
pendingAction value when the QUALIFIER_ACTION is executed.

CLEAR_ACTION

public static final String CLEAR_ACTION
pendingAction value when the CLEAR_ACTION is executed.

CLEARALL_ACTION

public static final String CLEARALL_ACTION
pendingAction value when the CLEARALL_ACTION is executed.

CANCEL_ACTION

public static final String CANCEL_ACTION
pendingAction value when the CANCEL_ACTION is executed.

OLAPOK_ACTION

public static final String OLAPOK_ACTION
pendingAction value when the OLAPOK_ACTION is executed.

IMPORT_ACTION

public static final String IMPORT_ACTION
pendingAction value when the IMPORT_ACTION is executed.

FILTERITEM_CHANGED

public static final String FILTERITEM_CHANGED
pendingAction value when the filter item changed.

CONDITION_CHANGED

public static final String CONDITION_CHANGED
pendingAction value when the condition is changed.

QUALIFIER_CHANGED

public static final String QUALIFIER_CHANGED
pendingAction value when the qualifier changed.

QUALIFIER_CHECKED

public static final String QUALIFIER_CHECKED
pendingAction value when the qualifier is activated.

QUALIFIER_APPLIED

public static final String QUALIFIER_APPLIED
pendingAction when the qualifier is applied

actionInfo

protected HashMap actionInfo
The action map
Constructor Detail

AdvancedFilterSelectorCommand

public AdvancedFilterSelectorCommand()
The default constructor for this command.

AdvancedFilterSelectorCommand

public AdvancedFilterSelectorCommand(String name)
Constructor that accepts a command name.
Parameters:
name - the name of this command

AdvancedFilterSelectorCommand

public AdvancedFilterSelectorCommand(String name,
                                     String actionClass)
Constructor that accepts a command name and an action class type.
Parameters:
name - the name of this command
actionClass - the class name for the appropriate action
Method Detail

show

protected void show(Object o)
Creates the initial selector model from the stored data model and supplies it to the associated selector.
Overrides:
show in class BaseSelectorCommand
Parameters:
o - ignored in this implementation

setEditors

protected void setEditors(FilterableListModelInterface filterableList,
                          List editors)

cleanUp

protected void cleanUp()

setEditors

protected void setEditors(AdvancedFilterModelInterface filterModel,
                          List editors)

setEditor

protected void setEditor(AdvancedFilterModelInterface filterModel,
                         EditorInterface editor)

isSwing

protected boolean isSwing()

process

protected void process(Object o)
Processes the request object to manipulate the model. The selector then represents these changes for the user.
Overrides:
process in class BaseSelectorCommand
Parameters:
o - ignored in this implementation

cancel

public void cancel(Object o)
The cancel method resets the model to its original state and hides or destroys the selector visual.
Overrides:
cancel in class BaseSelectorCommand
Parameters:
o - ignored in this implementation

commit

protected void commit(Object o)
               throws IOException
The commit method alters the original model to reflect any changes made by the user and hides or destroys the selector visual.
Overrides:
commit in class BaseSelectorCommand
Parameters:
o - ignored in this implementation

setSelection

protected void setSelection(FilterLogicTestNodeInterface selection)

getSelection

protected FilterLogicTestNodeInterface getSelection()

updateSelectionModel

public boolean updateSelectionModel()
Updates the current selection model with the selector's value
Returns:
true if and update occurs, false otherwise

updatable

protected boolean updatable(FilterLogicEditableTestNodeInterface changableSelection)
Returns true if all required values for an update are available.
Parameters:
changableSelection - the current selection model to update
Returns:
true if updateable, false otherwise

updateSelectionModel

protected boolean updateSelectionModel(FilterLogicEditableTestNodeInterface changableSelection,
                                       AdvancedFilterModelInterface afsModel)
Updates the selection model
Parameters:
changableSelection - the current selection model
afsModel - the model
Returns:
true if update occurs, false otherwise

getCalendar

protected List getCalendar(long type)

getQualifierEditor

protected QualifiersEditorInterface getQualifierEditor()
Returns the Qualifier Editor
Returns:
qualifier editor

setQualifiedMeasure

public void setQualifiedMeasure(String[] values)
Sets qualified measures
Parameters:
values - qualified measures

getQualifiedMeasure

public String[] getQualifiedMeasure()
Returns the qualified measure value used when the model is OLAP
Returns:
NULL

updateSelectionCombination

public boolean updateSelectionCombination(AdvancedFilterModelInterface afsModel,
                                          FilterLogicEditableTestNodeInterface changableSelection,
                                          FilterLogicTestNodeObjectMap objectMap)
Updates the model with the combination actions such as ADD_ACTION, DELETE_ACTION, UPDATE_ACTION, EDIT_ACTION, MOVEUP_ACTION, MOVEDOWN_ACTION, GROUP_ACTION and SPLIT_ACTION.
Parameters:
afsModel - The AdvancedFilterModelInterface used for this command
changableSelection - the editable test node
objectMap - map containing the model information
Returns:
true if change has been made to the model, false otherwise

getSelectionModel

protected FilterLogicTestNodeInterface getSelectionModel()
Returns the selection portion of the selector model if it is valid.
Returns:
a usable selection model or null

setFilterName

public void setFilterName(String name)
Sets the filter name in the selection model.
Parameters:
name - the new filter name

getFilterName

public String getFilterName()
Gets the current filter name from the selection model.
Returns:
the name of the filter

setFilterDescription

public void setFilterDescription(String description)
Sets the filter description in the selection model.
Parameters:
name - the new filter description

getFilterDescription

public String getFilterDescription()
Gets the current filter description from the selection model.
Returns:
the description for the filter

setSelectedQualifier

public void setSelectedQualifier(String itemID)
Sets the selected qualifier on the command
Parameters:
itemID - the selected qualifier value

getSelectedQualifier

public String getSelectedQualifier()
Returns the selected qualifier
Returns:
the qualifier value

setSelectedCondition

public void setSelectedCondition(String itemID)

getSelectedCondition

public String getSelectedCondition()

setSelectedFilterValues

public void setSelectedFilterValues(String[] values)
Sets the selected filter values
Parameters:
values - filter values

setSelectedFilterValues

public void setSelectedFilterValues(List values)
Sets the selected filter values
Parameters:
values - filter values

getFilterValue

protected FilterValueInterface getFilterValue(String uniqueId,
                                              AdvancedFilterModelInterface afsModel)

getSelectedFilterValues

public String[] getSelectedFilterValues()
Returns the selected filter values
Returns:
the selected filter values

setFilterValue

public void setFilterValue(String value)
Sets the filter value
Parameters:
value - filter value

getFilterValue

public String getFilterValue()
Returns the filter value.
Returns:
NULL

setFilterValueText

public void setFilterValueText(String value)
Sets the filter value for the text entry.
Parameters:
value - filter value

getFilterValueText

public String getFilterValueText()
Returns the filter value for the text entry.
Returns:
NULL

setFilterValueMax

public void setFilterValueMax(String value)
Sets the maximum filter value when condition is In Between or Not In Between
Parameters:
value - the filter value

getFilterValueMax

public String getFilterValueMax()
Returns the maximum filter value
Returns:
NULL

setFilterValueMin

public void setFilterValueMin(String value)
Sets the minimum filter value when condition is In Between or Not In Between
Parameters:
value - the filter value

getFilterValueMin

public String getFilterValueMin()
Returns the minimum filter value.
Returns:
the minimum filter value

setFilterValueMaxText

public void setFilterValueMaxText(String value)
Sets the maximum filter value when condition is In Between or Not In Between
Parameters:
value - the filter value

getFilterValueMaxText

public String getFilterValueMaxText()
Returns the maximum filter value
Returns:
NULL

setFilterValueMinText

public void setFilterValueMinText(String value)
Sets the minimum filter value when condition is In Between or Not In Between
Parameters:
value - the filter value

getFilterValueMinText

public String getFilterValueMinText()
Returns the minimum filter value.
Returns:
the minimum filter value

setTypedFilterValues

public void setTypedFilterValues(String value)
Sets the typed filter values
Parameters:
value - filter values

getTypedFilterValues

public String getTypedFilterValues()
Returns the typed filter values
Returns:
NULL

setFilterValueTyped

public void setFilterValueTyped(String value)
Sets the typed filter values
Parameters:
value - typed value

getFilterValueTyped

public String getFilterValueTyped()
Returns the typed filter value
Returns:
returns null

setTypedFilterValueMax

public void setTypedFilterValueMax(String value)
Sets the typed filter maximum value
Parameters:
value - the maximum value

getTypedFilterValueMax

public String getTypedFilterValueMax()
Returns the typed maximum filter value.
Returns:
the filter maximum filter value

setTypedFilterValueMin

public void setTypedFilterValueMin(String value)
Sets the typed minimum filter value.
Parameters:
value - the minimum filter value

getTypedFilterValueMin

public String getTypedFilterValueMin()
Returns the typed filter minimum value.
Returns:
NULL

setValueListItem

public void setValueListItem(String itemID)
Sets the filter value list.
Parameters:
itemID - filter value unique id

getValueListItem

public String getValueListItem()
Returns the filter value list
Returns:
null

setFilterItem

public void setFilterItem(String itemID)
Sets the filter item
Parameters:
itemID - filterItem unique id

getFilterItem

public String getFilterItem()
Returns the filter item
Returns:
NULL

setFilterQualifier

public void setFilterQualifier(String itemID)
Sets the filter qualifier values
Parameters:
itemID - filter qualifier

getFilterQualifier

public String getFilterQualifier()
Returns the filter qualifier value
Returns:
filter qualifier

setFilterOperator

public void setFilterOperator(String itemID)
Sets the filter operator value
Parameters:
itemID - filter operator

getFilterOperator

public String getFilterOperator()
Returns the filter operator
Returns:
the filter operator value

setAddFilter

public void setAddFilter(String value)
Sets pendingAction to ADD_ACTION
Parameters:
value - pendingAction value

getAddFilter

public String getAddFilter()
Returns the ADD_ACTION
Returns:
NULL

setUpdateFilter

public void setUpdateFilter(String itemID)
Sets pendingAction to UPDATE_ACTION
Parameters:
value - pendingAction value

getUpdateFilter

public String getUpdateFilter()
Returns the UPDATE_FILTER action.
Returns:
NULL

setEditFilter

public void setEditFilter(String itemID)
Sets pendingAction to EDIT_ACTION
Parameters:
value - pendingAction value

getEditFilter

public String getEditFilter()
Returns the EDIT_ACTION
Returns:
NULL

setDeleteFilter

public void setDeleteFilter(String itemID)
Sets pendingAction to DELETE_ACTION
Parameters:
value - pendingAction value

getDeleteFilter

public String getDeleteFilter()
Returns the DELETE_ACTION
Returns:
NULL

setDeleteAllFilters

public void setDeleteAllFilters(String dummy)
Sets pendingAction to DELETEALL_ACTION
Parameters:
value - pendingAction value

getDeleteAllFilters

public String getDeleteAllFilters()
Returns the DELETEALL_ACTION
Returns:
NULL

setAndFilter

public void setAndFilter(String itemID)
Sets pendingAction to AND_ACTION
Parameters:
value - pendingAction value

getAndFilter

public String getAndFilter()
Returns the AND_ACTION
Returns:
NULL

setOrFilter

public void setOrFilter(String itemID)
Sets pendingAction to OR_ACTION
Parameters:
value - pendingAction value

getOrFilter

public String getOrFilter()
Returns the OR_ACTION
Returns:
NULL

setNotFilter

public void setNotFilter(String itemID)
Sets pendingAction to NOT_ACTION
Parameters:
value - pendingAction value

getNotFilter

public String getNotFilter()
Returns the NOT_ACTION
Returns:
NULL

setGroupFilter

public void setGroupFilter(String items)
Sets pendingAction to GROUP_ACTION
Parameters:
value - pendingAction value

getGroupFilter

public String getGroupFilter()
Returns the GROUP_ACTION
Returns:
NULL

setSplitFilter

public void setSplitFilter(String itemID)
Sets pendingAction to SPLIT_ACTION
Parameters:
value - pendingAction value

getSplitFilter

public String getSplitFilter()
Returns the OLAPOK_ACTION
Returns:
NULL

setUpFilter

public void setUpFilter(String itemID)
Sets pendingAction to UP_ACTION
Parameters:
value - pendingAction value

getUpFilter

public String getUpFilter()
Returns the UP_ACTION
Returns:
NULL

setDownFilter

public void setDownFilter(String itemID)
Sets pendingAction to DOWN_ACTION
Parameters:
value - pendingAction value

getDownFilter

public String getDownFilter()
Returns the DOWN_ACTION
Returns:
NULL

setQualifierMode

public void setQualifierMode(String itemID)
Sets pendingAction to QUALIFIER_ACTION
Parameters:
value - pendingAction value

getQualifierMode

public String getQualifierMode()
Returns the OLAPOK_ACTION
Returns:
NULL

setOlapOkAction

public void setOlapOkAction(String value)
Sets pendingAction to OLAPOK_ACTION
Parameters:
value - pendingAction value

getOlapOkAction

public String getOlapOkAction()
Returns the OLAPOK_ACTION
Returns:
NULL

setAction

public void setAction(String value)
Sets the current action of the selector command.
Parameters:
value - the action being executed

getAction

public String getAction()
Returns the current action of the selector command.
Returns:
the current action

setClearFilter

public void setClearFilter(String itemID)
Sets the CLEAR_ACTION as the pending action.
Parameters:
itemID - the CLEAR_ACTION value

getClearFilter

public String getClearFilter()
Returns the clearFilter action value.
Returns:
null

setClearAllFilter

public void setClearAllFilter(String all)
Sets the CLEARALL_ACTION as the pending action.
Parameters:
all -  

getClearAllFilter

public String getClearAllFilter()
Returns the clearAllFilter action value
Returns:
null

setImportFilter

public void setImportFilter(String itemID)

getImportFilter

public String getImportFilter()

getStartCalendar

public String getStartCalendar()
Return the start calendar value
Returns:
startCalendar value

setStartCalendar

public void setStartCalendar(String calendar)
Sets the start calendar value
Parameters:
calendar - start calendar

getEndCalendar

public String getEndCalendar()
Return the end calendar value
Returns:
endCalendar value

setEndCalendar

public void setEndCalendar(String calendar)
Sets the end calendar value
Parameters:
calendar - end calendar

getValueEntryType

public String getValueEntryType()

setValueEntryType

public void setValueEntryType(String type)

getChangableSelectionModel

protected FilterLogicEditableTestNodeInterface getChangableSelectionModel()
Returns a version of the selection model that is modifiable.
Returns:
a changeable selection model

getChangableSelectionModel

protected FilterLogicEditableTestNodeInterface getChangableSelectionModel(FilterLogicTestNodeInterface node)

getID

protected static String getID(Object object)

isOlap

protected boolean isOlap()

getFilterItemMap

public Map getFilterItemMap()
Gets the map for the FilterItemInterface instances in the data model.
Returns:
the FilterItemInterface map

setFilterItemMap

public void setFilterItemMap(List list)
Sets the map for the FilterItemInterface instances in the data model.
Parameters:
map - the new FilterItemInterface map

getValidatedModel

public AdvancedFilterModelInterface getValidatedModel(boolean updateSelector)

getCommandStatus

public int getCommandStatus(ActionSupportFilter filter)
Returns a int value indicating whether the command is enabled for the given area as specified by the current area information encapsulate in the ActionSupportFilter. If not enabled, the key indicates a reason why the command is not enabled.
Specified by:
getCommandStatus in interface CommandStatusInterface
Parameters:
filter - The ActionSupportFilter that encapsulates all the necessary information to describe the current area.
Returns:
an int value indicating whether the command is enabled and, if not, why.

isSupported

public boolean isSupported(ActionSupportFilter actionFilter)
Returns TRUE if the command is supported given the contents of the support filter.
Specified by:
isSupported in interface CommandSupportedInterface
Following copied from interface: com.sas.actionprovider.CommandSupportedInterface
Parameters:
filter - The ActionSupportFilter that encapsulates all the necessary information to describe the current area.
Returns:
a boolean indicating whether the command is supported
See Also:
BaseAction.setReturnStatus(int)

getPendingAction

public String getPendingAction()

setPendingAction

public void setPendingAction(String value)

getCurrentValidatedModel

public AdvancedFilterModelInterface getCurrentValidatedModel()

setWhereCheckbox

public void setWhereCheckbox(String state)

getWhereCheckbox

public String getWhereCheckbox()

***  This class is subject to change   ***




Copyright © 2005 SAS Institute Inc. All Rights Reserved.
javadoc generated Thu, 16 Feb 2006 01:49:45