|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.actionprovider.support.olaptableview.HttpOLAPTableViewSupport
public class HttpOLAPTableViewSupport
In the context of the ActionProvider framework, this Support class assists in the registering and retrieval of actions for OLAP transformation bean viewer components such as the OLAPTableView.
Field Summary |
---|
Fields inherited from class com.sas.actionprovider.support.olaptableview.BaseOLAPTableViewSupport |
---|
RB_KEY |
Fields inherited from class com.sas.actionprovider.support.BaseActionProviderSupport |
---|
AREA_DISABLED, AREA_VALUE_ATTRKEY, DISABLED, ENABLED, IS_CURRENT_STATE_DISABLED, MODEL_MEMBER_DISABLED, MODEL_STATE_DISABLED, MODEL_TYPE_DISABLED, NON_SPECIFIC_AREA, UNSUPPORTED, VIEWER_DISABLED |
Fields inherited from interface com.sas.actionprovider.support.olaptableview.OLAPTableViewAreaInterface |
---|
COLUMN_HEADER_AREA, COLUMN_TITLE_AREA, DATA_CELL_AREA, ROW_HEADER_AREA, ROW_TITLE_AREA, TITLE_AREA |
Constructor Summary | |
---|---|
HttpOLAPTableViewSupport(java.lang.Class actionClass)
Constructor |
Method Summary | |
---|---|
protected void |
createDefaultActions()
Initializes the actionClass property and creates the default actions that this class supports. |
protected java.lang.Object |
getActionScopeAttribute(java.lang.String actionType,
java.lang.String attributeName,
ActionSupportFilter filter,
java.lang.Object currentValue)
Returns a specific dynamic value for an attribute whose value varies according to the type of action being generated. |
protected java.util.Map |
getActionScopeAttributeMap(java.lang.String actionType,
ActionSupportFilter filter)
Returns mappings for a pre-defined set of Action attribute keys to their corresponding dynamic values for a specific area and a specific actionType. |
protected java.util.Map |
getAreaScopeAttributeMap(ActionSupportFilter filter)
Returns mappings for a pre-defined set of Action attribute keys to their corresponding dynamic values for a specific area. |
protected ActionOrderList |
getDataCellOrderList(int type)
|
protected ActionOrderList |
getFirstHeaderDropDownList(int type)
|
protected ActionOrderList |
getFirstTitleDropDownList(int type)
|
protected ActionOrderList |
getHeaderOrderList(int type)
|
protected ActionOrderList |
getMoveDropDownList(int type)
|
protected ActionOrderList |
getMoveMeasureDropDownList(int type)
|
protected ActionOrderList |
getSecondHeaderDropDownList(int type)
|
protected ActionOrderList |
getSortDropDownList(int type)
|
protected ActionOrderList |
getThirdHeaderDropDownList(int type)
|
protected ActionOrderList |
getTitleChangeDataItemList(int type)
|
protected ActionOrderList |
getTitleMoveListList(int type)
|
protected ActionOrderList |
getTitleOrderList(int type)
|
protected ActionOrderList |
getTitleSortLevelList(int type)
|
protected java.util.Map |
initializeShortActionTypeMap()
This method is called by the constructor and used to initiallize the actionTypeToShortActionTypeMap map. |
BaseAction |
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. |
protected void |
registerDataCellActions(java.lang.String areaType)
|
protected void |
registerDynamicValueInfo()
Registers, via addDynamicValueInfo method, the dynamic value information for different areas. |
protected void |
registerHeaderActions(java.lang.String areaType)
|
protected void |
registerTitleActions(java.lang.String areaType)
|
protected boolean |
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 |
---|
createAndRegisterAction, initialize |
Methods inherited from class com.sas.actionprovider.support.BaseActionProviderSupport |
---|
addDefaultAction, getAction, getActionId, getActionOrderList, getActionProvider, getActions, getDefaultAction, getLocale, listActionTypes, listAreaTypes, listDefaultActions, reset, setAction, setActionOrderList, setActionProvider, setLocale |
Constructor Detail |
---|
public HttpOLAPTableViewSupport(java.lang.Class actionClass)
actionClass
- The class used to instantiate new actions.Method Detail |
---|
protected void registerDynamicValueInfo()
registerDynamicValueInfo
in class BaseOLAPTableViewSupport
public BaseAction newActionInstance(java.lang.String actionArea, java.lang.String actionType)
newActionInstance
in class BaseActionProviderSupport
actionType
- the key associated with a defined action type.actionArea
- the key associated with a defined area type.
protected void createDefaultActions()
createDefaultActions
in class BaseOLAPTableViewSupport
protected java.util.Map getActionScopeAttributeMap(java.lang.String actionType, ActionSupportFilter filter)
BaseActionProviderSupport
getActionScopeAttributeMap
in class BaseActionProviderSupport
filter
- Defines the specific area.protected java.util.Map getAreaScopeAttributeMap(ActionSupportFilter filter)
BaseActionProviderSupport
getAreaScopeAttributeMap
in class BaseActionProviderSupport
filter
- Defines the specific area.
protected boolean validArea(Area area, ActionSupportFilter filter)
validArea
in class BaseActionProviderSupport
area
- The Area object that may or may not specify certain area 'values'.actionFilter
- the ActionSupportFilter that the component passed as an
argument on the getActions() method.
BaseActionProviderSupport.setAction(com.sas.actionprovider.BaseAction, java.util.Collection, com.sas.actionprovider.Area)
,
BaseActionProviderSupport.getActions(com.sas.actionprovider.ActionSupportFilter)
protected void registerHeaderActions(java.lang.String areaType)
registerHeaderActions
in class BaseOLAPTableViewSupport
protected void registerTitleActions(java.lang.String areaType)
registerTitleActions
in class BaseOLAPTableViewSupport
protected void registerDataCellActions(java.lang.String areaType)
registerDataCellActions
in class BaseOLAPTableViewSupport
protected ActionOrderList getHeaderOrderList(int type)
getHeaderOrderList
in class BaseOLAPTableViewSupport
protected ActionOrderList getFirstHeaderDropDownList(int type)
protected ActionOrderList getSecondHeaderDropDownList(int type)
protected ActionOrderList getThirdHeaderDropDownList(int type)
protected ActionOrderList getSortDropDownList(int type)
protected ActionOrderList getMoveDropDownList(int type)
protected ActionOrderList getMoveMeasureDropDownList(int type)
protected ActionOrderList getTitleOrderList(int type)
getTitleOrderList
in class BaseOLAPTableViewSupport
protected ActionOrderList getFirstTitleDropDownList(int type)
protected ActionOrderList getTitleChangeDataItemList(int type)
protected ActionOrderList getTitleSortLevelList(int type)
protected ActionOrderList getTitleMoveListList(int type)
protected ActionOrderList getDataCellOrderList(int type)
getDataCellOrderList
in class BaseOLAPTableViewSupport
protected java.lang.Object getActionScopeAttribute(java.lang.String actionType, java.lang.String attributeName, ActionSupportFilter filter, java.lang.Object currentValue)
BaseActionProviderSupport
getActionScopeAttribute
in class BaseActionProviderSupport
actionType
- The key that uniquely identifies this type of action.attributeName
- The name of the dynamic attribute.filter
- Defines the specific area.currentValue
- The current value of this attribute on the actionprotected java.util.Map initializeShortActionTypeMap()
actionTypeToShortActionTypeMap
map.
This map should contain the ActionType as the key and the new short name
as the value. The short names are used to generate ids for HttpActions.
initializeShortActionTypeMap
in class BaseActionProviderSupport
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |