com.sas.actionprovider.support
Class HttpCustomSupport

com.sas.actionprovider.support.HttpCustomSupport
All Implemented Interfaces:
CustomAreaInterface

public class HttpCustomSupport

This is the Http version of the support class that manages the registering and retrieval of custom actions for viewer components that do not have any default actions.

It defines a single areaType, CustomAreaInterface.CUSTOM_AREA, to which custom Actions may be registered.

A basic understanding of the ActionProvider Framework, of which this class is a part, is recommended before attempting to use this class.



Visit the AppDev Studio Developer's Site to access step-by-step examples, white papers and additional usage information at http://support.sas.com/rnd/appdev/.

Note: A snapshot of the AppDev Studio Developers Site is installed on your local Web server when you install AppDev Studio. To access the site from webAF, select Help -> Developer Site .

Since:
3.0

Field Summary
 
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.CustomAreaInterface
CUSTOM_AREA
 
Constructor Summary
HttpCustomSupport(java.lang.Class actionClass)
          ActionClass Constructor
 
Method Summary
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.
 
Methods inherited from class com.sas.actionprovider.support.BaseCustomSupport
initialize, newActionInstance, validArea
 
Methods inherited from class com.sas.actionprovider.support.BaseActionProviderSupport
addDefaultAction, getAction, getActionId, getActionOrderList, getActionProvider, getActions, getActionScopeAttribute, getActionScopeAttributeMap, getDefaultAction, getLocale, listActionTypes, listAreaTypes, listDefaultActions, reset, setAction, setActionOrderList, setActionProvider, setLocale
 

Constructor Detail

HttpCustomSupport

public HttpCustomSupport(java.lang.Class actionClass)
ActionClass Constructor

Parameters:
actionClass - The class used to instantiate new actions.
Method Detail

getAreaScopeAttributeMap

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.

KEY VALUE
"viewer" The value of the 'viewer' attribute on the ActionSupportFilter

Specified by:
getAreaScopeAttributeMap in class BaseActionProviderSupport
Parameters:
filter - Defines the specific area.
Returns:
mappings for a pre-defined set of Action Attribues keys



Copyright © 2009 SAS Institute Inc. All Rights Reserved.