In the context of the ActionProvider framework, this Support class assists
in the registering and retrieval of actions for OLAP viewer components such
as the OLAPTableView.
Since:
3.0
Field Summary
Fields inherited from class com.sas.actionprovider.support.olaptableview.BaseOLAPTableViewSupport
getAreaScopeAttributeMap(ActionSupportFilter filter)
Returns mappings for a pre-defined set of Action attribute keys to their corresponding
dynamic values for a specific area.
newActionInstance(java.lang.String actionArea,
java.lang.String actionType)
Return a newly instantiated default Action based on the
specified actionType or return null if actionType not recognized.
validArea(Area area,
ActionSupportFilter filter)
Validates that the given Area's 'type' and, if specified, its 'value' constraints
are met by the information provided on the action filter.
Methods inherited from class com.sas.actionprovider.support.olaptableview.BaseOLAPTableViewSupport
actionType - the key associated with a defined action type.
actionArea - the key associated with a defined area type.
Returns:
a new action of the specified type or null if the type is not
recognized.
createDefaultActions
protected void createDefaultActions()
Initializes the actionClass property and creates the default actions that
this class supports.
This method is called by the action provider that instantiates this support class.
Validates that the given Area's 'type' and, if specified, its 'value' constraints
are met by the information provided on the action filter.
If the Area is null or its 'type' is null then boolean true is returned because
then there are no constraints specified and, therefore, any specification of the
current area on the actionFilter must be valid. Otherwise, the method validates
that the area 'type' and, if specified, area 'value' match the current area
state represented by information on the actionFilter.
In the COLUMN_HEADER_AREA and the ROW_HEADER_AREA, the Area 'values' should be the name
of a row or column header that matches the header of the tupleElement on the action filter.