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

com.sas.commands.dataselectors
Class AdvancedFilterSelectorCommandFacade

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

public class AdvancedFilterSelectorCommandFacade
extends BaseSelectorCommand
implements CompositeDynamicAttributeCommandInterface, CommandSupportedInterface, CommandStatusInterface, CompositeDataSelectorCommandInterface

This class is a facade that unifies the functionalities of the AdvancedFilterSelectorCommand plus the additional filtering funcionalities provided by the OLAPTimeBasedFilterCommand. This class is intended to be used in place of the existing AdvancedFilterSelectorCommand. It's an extended version of the existing AdvancedFilterSelectorCommand without subclassing the it.


Field Summary
static String ADVANCED_FILTER_SELECTOR_COMMAND
           
protected  boolean isImportOLAPRelativeTimeFilter
           
static String OLAP_TIME_BASED_FILTER_COMMAND
           
protected  Map selectorCommands
          The list of filtering selector commands unified by this facade, example the AdvancedFilterSelectorCommand and the OLAPTimeBasedFilterCommand
protected  boolean swing
           
 
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
AdvancedFilterSelectorCommandFacade()
          The default constructor for this command.
AdvancedFilterSelectorCommandFacade(String name)
          Constructor that accepts a command name
AdvancedFilterSelectorCommandFacade(String name, boolean swing)
          Constructor that accepts a command name and boolean attribute for specifying the swing attribute.
AdvancedFilterSelectorCommandFacade(String name, String actionClass)
          Constructor that accepts a command name and an action class type
 
Method Summary
 void cancel()
          Cancels the command.
 void cancel(Object o)
          The cancel method resets the model to its original state and hides or destroys the selector visual.
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 AdvancedFilterSelectorCommand command.
 String getAddFilter()
          Returns the ADD_ACTION
 String getAndFilter()
          Returns the AND_ACTION
 String getClearAllFilter()
          Returns the clearAllFilter action value
 String getClearFilter()
          Returns the clearFilter action value.
 Collection getCommandAttributeNames()
          Returns a collection containing the names of all the composite command's dynamic attributes.
 int getCommandStatus(ActionSupportFilter filter)
          Returns a status value indicating whether the command is enabled for a specific area as described by various filter attributes.
 BaseSelectorCommand getComponentSelectorCommand(String key)
          Returns the child data selector command that has been stored into the children's list with a specific key
 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 getEndingPeriodOption()
           
 HashMap getEventInfo()
          Returns a HashMap with information about the pending ContentsChangedEvent or null if no event is pending.
 Object getEventSource()
          Returns the source of a pending ContentsChangedEvent event.
 String getFilterDescription()
          Gets the current filter description from the selection model.
 String getFilterItem()
          Returns the filter item from the AdvancedFilterSelectorCommand
 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.
 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
 String getImportFilter()
           
 String getNotFilter()
          Returns the NOT_ACTION
 String getNumberOfPeriods()
           
 String getOlapOkAction()
          Returns the OLAPOK_ACTION
 String getOrFilter()
          Returns the OR_ACTION
 String getPendingAction()
           
 String getPeriodType()
           
 String[] getQualifiedMeasure()
          Returns the qualified measure value used when the model is OLAP
 String getQualifierMode()
          Returns the OLAPOK_ACTION
 String getRemoteAction()
           
 String getSelectedCondition()
           
 String getSelectedEndingPeriod()
           
 String[] getSelectedFilterValues()
          Returns the selected filter values
 String[] getSelectedPeriods()
           
 String getSelectedQualifier()
          Returns the selected qualifier
 String getSelectedStartingPeriod()
           
 String getSelectOption()
           
 String getShowOption()
           
 String getSplitFilter()
          Returns the OLAPOK_ACTION
 String getStartCalendar()
          Return the start calendar value
 String getStartingPeriodOption()
           
 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
 String getValueEntryType()
           
 String getValueListItem()
          Returns the filter value list
 String getWhereCheckbox()
           
 boolean isComplete()
          Returns a boolean indicating whether the command has been explicitly committed or cancelled.
 boolean isContentsChanged()
          Returns true if a ContentsChangedEvent should be generated, false otherwise.
 boolean isSupported(ActionSupportFilter actionFilter)
           Returns a boolean indicating whether the command is supported for the given area as specified by the current area information encapsulated in the ActionSupportFilter.
 boolean isSwing()
          Returns the property identifying whether or not this command is operating in the Swing environment.
protected  void process(Object o)
          Processes the request object to manipulate the model.
 void setAction(String value)
          Sets the current action of the AdvancedFilterSelectorCommand command.
 void setAddFilter(String value)
          Sets pendingAction to ADD_ACTION
 void setAndFilter(String value)
          Sets pendingAction to AND_ACTION
 void setClearAllFilter(String value)
          Sets the CLEARALL_ACTION as the pending action.
 void setClearFilter(String value)
          Sets the CLEAR_ACTION as the pending action.
 void setCommonAttribute(String attributeName, Object attributeValue)
          Sets the specified attribute on all sub-commands.
 void setComplete(boolean complete)
          Set the boolean indicating whether the command has been explicitly committed or cancelled.
 void setComponentSelectorCommand(BaseSelectorCommand component, String key)
          Adds a data selector command to the list of children commands with a specific key
 void setDeleteAllFilters(String value)
          Sets pendingAction to DELETEALL_ACTION
 void setDeleteFilter(String value)
          Sets pendingAction to DELETE_ACTION
 void setDownFilter(String value)
          Sets pendingAction to DOWN_ACTION
 void setEditFilter(String value)
          Sets pendingAction to EDIT_ACTION
 void setEndCalendar(String value)
          Sets the end calendar value
 void setEndingPeriodOption(String value)
           
 void setFilterDescription(String value)
          Sets the filter description in the selection model.
 void setFilterItem(String value)
          Sets the filter item
 void setFilterItemMap(List value)
          Sets the map for the FilterItemInterface instances in the data model.
 void setFilterName(String value)
          Sets the filter name in the selection model.
 void setFilterOperator(String value)
          Sets the filter operator value
 void setFilterQualifier(String value)
          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 value)
          Sets pendingAction to GROUP_ACTION
 void setImportFilter(String value)
           
 void setModal(boolean modal)
           
 void setMode(String value)
          Sets the mode of execution for this command.
 void setModel(Object model)
          Sets the data model being viewed or manipulated by the selector.
 void setNotFilter(String value)
          Sets pendingAction to NOT_ACTION
 void setNumberOfPeriods(String value)
           
 void setOlapOkAction(String value)
          Sets pendingAction to OLAPOK_ACTION
 void setOrFilter(String value)
          Sets pendingAction to OR_ACTION
 void setPendingAction(String value)
           
 void setPeriodType(String value)
           
 void setQualifiedMeasure(String[] value)
          Sets qualified measures
 void setQualifierMode(String value)
          Sets pendingAction to QUALIFIER_ACTION
 void setRemoteAction(String value)
           
 void setSelectedCondition(String value)
           
 void setSelectedEndingPeriod(String value)
           
 void setSelectedFilterValues(String[] value)
          Sets the selected filter values
 void setSelectedPeriods(String[] values)
           
 void setSelectedQualifier(String value)
          Sets the selected qualifier on the command
 void setSelectedStartingPeriod(String value)
           
 void setSelectOption(String value)
           
 void setSelector(DataSelectorInterface value)
          Sets the command's reference to it's parent selector.
 void setShowOption(String value)
           
 void setSplitFilter(String value)
          Sets pendingAction to SPLIT_ACTION
 void setStartCalendar(String value)
          Sets the start calendar value
 void setStartingPeriodOption(String value)
           
 void setSwing(boolean mode)
          Sets the property identifying whether or not this command is operating in the Swing environment.
 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 value)
          Sets pendingAction to UPDATE_ACTION
 void setUpFilter(String value)
          Sets pendingAction to UP_ACTION
 void setValueEntryType(String value)
           
 void setValueListItem(String value)
          Sets the filter value list.
 void setWhereCheckbox(String value)
          Sets the state value for the 'where' checkbox.
protected  void show(Object o)
          Creates the initial selector model from the stored data model and supplies it to the associated selector.
 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
 
Methods inherited from class com.sas.commands.dataselectors.BaseSelectorCommand
closeSelector, execute, getMode, getModel, getSelector, getSelectorModel, isModal, 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

ADVANCED_FILTER_SELECTOR_COMMAND

public static final String ADVANCED_FILTER_SELECTOR_COMMAND

OLAP_TIME_BASED_FILTER_COMMAND

public static final String OLAP_TIME_BASED_FILTER_COMMAND

selectorCommands

protected Map selectorCommands
The list of filtering selector commands unified by this facade, example the AdvancedFilterSelectorCommand and the OLAPTimeBasedFilterCommand

swing

protected boolean swing

isImportOLAPRelativeTimeFilter

protected boolean isImportOLAPRelativeTimeFilter
Constructor Detail

AdvancedFilterSelectorCommandFacade

public AdvancedFilterSelectorCommandFacade()
The default constructor for this command.

AdvancedFilterSelectorCommandFacade

public AdvancedFilterSelectorCommandFacade(String name)
Constructor that accepts a command name

AdvancedFilterSelectorCommandFacade

public AdvancedFilterSelectorCommandFacade(String name,
                                           String actionClass)
Constructor that accepts a command name and an action class type

AdvancedFilterSelectorCommandFacade

public AdvancedFilterSelectorCommandFacade(String name,
                                           boolean swing)
Constructor that accepts a command name and boolean attribute for specifying the swing attribute.
Parameters:
name - the command's name
swing - true if command used in a Swing environment, false otherwise;
Method Detail

setSwing

public void setSwing(boolean mode)
Sets the property identifying whether or not this command is operating in the Swing environment.
Parameters:
mode - Set to true for Swing environment, false otherwise.

isSwing

public boolean isSwing()
Returns the property identifying whether or not this command is operating in the Swing environment.
Returns:
Returns true for Swing environment, false otherwise.

isContentsChanged

public boolean isContentsChanged()
Description copied from class: BaseSelectorCommand
Returns true if a ContentsChangedEvent should be generated, false otherwise.
Overrides:
isContentsChanged in class BaseSelectorCommand
Following copied from class: com.sas.commands.dataselectors.BaseSelectorCommand
Returns:
true if a ContentsChangedEvent should be generated, false otherwise.

isComplete

public boolean isComplete()
Description copied from class: BaseSelectorCommand
Returns a boolean indicating whether the command has been explicitly committed or cancelled.
Overrides:
isComplete in class BaseSelectorCommand
Following copied from class: com.sas.commands.dataselectors.BaseSelectorCommand
Returns:
a boolean indicating whether the command has been explicitly committed or cancelled.

setMode

public void setMode(String value)
Description copied from class: BaseSelectorCommand
Sets the mode of execution for this command. The mode is evaluated during the execute() method to determine what code in the command to process. Modes supported by this base implementation are defined as the constants SHOW_MODE, PROCESS_MODE, COMMIT_MODE, and CANCEL_MODE.
Overrides:
setMode in class BaseSelectorCommand
Following copied from class: com.sas.commands.dataselectors.BaseSelectorCommand
Parameters:
value - the mode for this command

setModal

public void setModal(boolean modal)
Overrides:
setModal in class BaseSelectorCommand

setComplete

public void setComplete(boolean complete)
Description copied from class: BaseSelectorCommand
Set the boolean indicating whether the command has been explicitly committed or cancelled.
Overrides:
setComplete in class BaseSelectorCommand
Following copied from class: com.sas.commands.dataselectors.BaseSelectorCommand
Parameters:
complete - the boolean indicating whether the command has been explicitly committed or cancelled.

setModel

public void setModel(Object model)
Description copied from class: BaseSelectorCommand
Sets the data model being viewed or manipulated by the selector.
Overrides:
setModel in class BaseSelectorCommand
Following copied from class: com.sas.commands.dataselectors.BaseSelectorCommand
Parameters:
model - the model

setSelector

public void setSelector(DataSelectorInterface value)
Description copied from class: BaseSelectorCommand
Sets the command's reference to it's parent selector.
Overrides:
setSelector in class BaseSelectorCommand
Following copied from class: com.sas.commands.dataselectors.BaseSelectorCommand
Parameters:
value - the selector associated with this command

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

process

protected void process(Object o)
Processes the request object to manipulate the model. The selector then represents these changes for the user. Calls one or more of the process() methods of the unified commands.
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

cancel

public void cancel()
Description copied from interface: CancelInterface
Cancels the command.

Common things done in this method:

Overrides:
cancel in class BaseSelectorCommand

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

getEventInfo

public HashMap getEventInfo()
Description copied from class: BaseSelectorCommand
Returns a HashMap with information about the pending ContentsChangedEvent or null if no event is pending.
Overrides:
getEventInfo in class BaseSelectorCommand
Following copied from class: com.sas.commands.dataselectors.BaseSelectorCommand
Returns:
event information

getEventSource

public Object getEventSource()
Description copied from class: BaseSelectorCommand
Returns the source of a pending ContentsChangedEvent event. The source will be null if no event is pending.
Overrides:
getEventSource in class BaseSelectorCommand
Following copied from class: com.sas.commands.dataselectors.BaseSelectorCommand
Returns:
the source of the event

getAction

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

setAction

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

getAddFilter

public String getAddFilter()
Returns the ADD_ACTION
Returns:
NULL

setAddFilter

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

getAndFilter

public String getAndFilter()
Returns the AND_ACTION
Returns:
NULL

setAndFilter

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

getClearAllFilter

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

setClearAllFilter

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

getClearFilter

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

setClearFilter

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

getDeleteAllFilters

public String getDeleteAllFilters()
Returns the DELETEALL_ACTION
Returns:
NULL

setDeleteAllFilters

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

getDeleteFilter

public String getDeleteFilter()
Returns the DELETE_ACTION
Returns:
NULL

setDeleteFilter

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

getDownFilter

public String getDownFilter()
Returns the DOWN_ACTION
Returns:
NULL

setDownFilter

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

getEditFilter

public String getEditFilter()
Returns the EDIT_ACTION
Returns:
NULL

setEditFilter

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

getEndCalendar

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

setEndCalendar

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

getFilterDescription

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

setFilterDescription

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

getFilterItem

public String getFilterItem()
Returns the filter item from the AdvancedFilterSelectorCommand
Returns:
the filter item from the AdvancedFilterSelectorCommand.

setFilterItem

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

getFilterItemMap

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

setFilterItemMap

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

getFilterName

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

setFilterName

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

getFilterOperator

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

setFilterOperator

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

getFilterQualifier

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

setFilterQualifier

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

getFilterValue

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

setFilterValue

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

getFilterValueMax

public String getFilterValueMax()
Returns the maximum filter value
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

getFilterValueMaxText

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

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

getFilterValueMin

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

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

getFilterValueMinText

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

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

getFilterValueText

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

setFilterValueText

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

getFilterValueTyped

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

setFilterValueTyped

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

getGroupFilter

public String getGroupFilter()
Returns the GROUP_ACTION
Returns:
NULL

setGroupFilter

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

getImportFilter

public String getImportFilter()

setImportFilter

public void setImportFilter(String value)

getNotFilter

public String getNotFilter()
Returns the NOT_ACTION
Returns:
NULL

setNotFilter

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

getOlapOkAction

public String getOlapOkAction()
Returns the OLAPOK_ACTION
Returns:
NULL

setOlapOkAction

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

getOrFilter

public String getOrFilter()
Returns the OR_ACTION
Returns:
NULL

setOrFilter

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

getPendingAction

public String getPendingAction()

setPendingAction

public void setPendingAction(String value)

getQualifiedMeasure

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

setQualifiedMeasure

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

getQualifierMode

public String getQualifierMode()
Returns the OLAPOK_ACTION
Returns:
NULL

setQualifierMode

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

getSelectedCondition

public String getSelectedCondition()

setSelectedCondition

public void setSelectedCondition(String value)

getSelectedFilterValues

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

setSelectedFilterValues

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

getSelectedQualifier

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

setSelectedQualifier

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

getSplitFilter

public String getSplitFilter()
Returns the OLAPOK_ACTION
Returns:
NULL

setSplitFilter

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

getStartCalendar

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

setStartCalendar

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

getTypedFilterValueMax

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

setTypedFilterValueMax

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

getTypedFilterValueMin

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

setTypedFilterValueMin

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

getTypedFilterValues

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

setTypedFilterValues

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

getUpdateFilter

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

setUpdateFilter

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

getUpFilter

public String getUpFilter()
Returns the UP_ACTION
Returns:
NULL

setUpFilter

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

getValueEntryType

public String getValueEntryType()

setValueEntryType

public void setValueEntryType(String value)

getValueListItem

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

setValueListItem

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

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

updateSelectionModel

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

setComponentSelectorCommand

public void setComponentSelectorCommand(BaseSelectorCommand component,
                                        String key)
Description copied from interface: CompositeDataSelectorCommandInterface
Adds a data selector command to the list of children commands with a specific key
Specified by:
setComponentSelectorCommand in interface CompositeDataSelectorCommandInterface
Following copied from interface: com.sas.commands.dataselectors.CompositeDataSelectorCommandInterface
Parameters:
component - the data selector command to add to the list of children

getComponentSelectorCommand

public BaseSelectorCommand getComponentSelectorCommand(String key)
Description copied from interface: CompositeDataSelectorCommandInterface
Returns the child data selector command that has been stored into the children's list with a specific key
Specified by:
getComponentSelectorCommand in interface CompositeDataSelectorCommandInterface
Following copied from interface: com.sas.commands.dataselectors.CompositeDataSelectorCommandInterface
Parameters:
key - the key to retrieve the child data selector command into the list of children commands
Returns:
the child data selector command has been stored into the children list with a specific key, null if there's no such key into the children's list

isSupported

public boolean isSupported(ActionSupportFilter actionFilter)
Description copied from interface: CommandSupportedInterface

Returns a boolean indicating whether the command is supported for the given area as specified by the current area information encapsulated in the ActionSupportFilter.

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)

getCommandStatus

public int getCommandStatus(ActionSupportFilter filter)
Description copied from interface: CommandStatusInterface
Returns a status value indicating whether the command is enabled for a specific area as described by various filter attributes.

If enabled, the value is: CommandStatusInterface.ENABLED

If disabled, the value may be one of the following values which indicate why the command is disabled.

Specified by:
getCommandStatus in interface CommandStatusInterface
Following copied from interface: com.sas.actionprovider.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.
See Also:
BaseAction.setReturnStatus(int)

setCommonAttribute

public void setCommonAttribute(String attributeName,
                               Object attributeValue)
Description copied from interface: CompositeDynamicAttributeCommandInterface
Sets the specified attribute on all sub-commands.

For use when all sub-commands need the same attribute set with the same value.

Specified by:
setCommonAttribute in interface CompositeDynamicAttributeCommandInterface
Following copied from interface: com.sas.commands.CompositeDynamicAttributeCommandInterface
Parameters:
attributeName - The name of the attribute to set on all sub-commands.
attributeValue - The value of the attribute.

getCommandAttributeNames

public Collection getCommandAttributeNames()
Description copied from interface: CompositeDynamicAttributeCommandInterface
Returns a collection containing the names of all the composite command's dynamic attributes.
Specified by:
getCommandAttributeNames in interface CompositeDynamicAttributeCommandInterface
Following copied from interface: com.sas.commands.CompositeDynamicAttributeCommandInterface
Returns:
a collection of command attribute names.

getPeriodType

public String getPeriodType()

setPeriodType

public void setPeriodType(String value)

getNumberOfPeriods

public String getNumberOfPeriods()

setNumberOfPeriods

public void setNumberOfPeriods(String value)

getSelectOption

public String getSelectOption()

setSelectOption

public void setSelectOption(String value)

getStartingPeriodOption

public String getStartingPeriodOption()

setStartingPeriodOption

public void setStartingPeriodOption(String value)

getEndingPeriodOption

public String getEndingPeriodOption()

setEndingPeriodOption

public void setEndingPeriodOption(String value)

getSelectedPeriods

public String[] getSelectedPeriods()

setSelectedPeriods

public void setSelectedPeriods(String[] values)

getShowOption

public String getShowOption()

setShowOption

public void setShowOption(String value)

getSelectedStartingPeriod

public String getSelectedStartingPeriod()

setSelectedStartingPeriod

public void setSelectedStartingPeriod(String value)

getSelectedEndingPeriod

public String getSelectedEndingPeriod()

setSelectedEndingPeriod

public void setSelectedEndingPeriod(String value)

setRemoteAction

public void setRemoteAction(String value)

getRemoteAction

public String getRemoteAction()

setWhereCheckbox

public void setWhereCheckbox(String value)
Sets the state value for the 'where' checkbox.
Parameters:
value - the state of the 'where' checkbox

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:55