com.sas.actionprovider.support.remotefileselector2
Class HttpRemoteFileSelectorSupport

com.sas.actionprovider.support.remotefileselector2.HttpRemoteFileSelectorSupport
All Implemented Interfaces:
RemoteFileActionTypeKeysInterface, RemoteFileSelectorAreaInterface

public class HttpRemoteFileSelectorSupport

Since:
3.1

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.remotefileselector2.RemoteFileSelectorAreaInterface
COMBO_AREA, DRILL_DOWN_AREA, FILTER_TYPE_AREA, SEARCH_BUTTON_AREA, TOOLBAR_AREA, TREE_AREA
 
Fields inherited from interface com.sas.actionprovider.support.remotefileselector2.RemoteFileActionTypeKeysInterface
ADD_FOLDER_ACTION, DISPLAY_SEARCH_RESULTS_ACTION, FILTER_TYPE_ACTION, GO_BACK_ACTION, OPEN_FOLDER_ACTION, START_SEARCH_ACTION, UP_ONE_LEVEL_ACTION, VIEW_SELECTION_ACTION
 
Constructor Summary
HttpRemoteFileSelectorSupport(java.lang.Class 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.
protected  java.util.Map initializeShortActionTypeMap()
          This method is called by the constructor and used to initiallize the actionTypeToShortActionTypeMap map.
 BaseAction newActionInstance(java.lang.String areaType, java.lang.String actionType)
          Return a newly instantiated default Action based on the specified actionType or return null if actionType not recognized.
protected  void registerComboActions(java.lang.String areaType)
           
 
Methods inherited from class com.sas.actionprovider.support.remotefileselector2.BaseRemoteFileSelectorSupport
createAndRegisterAction, createDefaultActions, initialize, registerDynamicValueInfo, registerSearchActions, registerToolBarActions, 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

HttpRemoteFileSelectorSupport

public HttpRemoteFileSelectorSupport(java.lang.Class actionClass)
Constructor

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

registerComboActions

protected void registerComboActions(java.lang.String areaType)
Overrides:
registerComboActions in class BaseRemoteFileSelectorSupport

newActionInstance

public BaseAction newActionInstance(java.lang.String areaType,
                                    java.lang.String actionType)
Return a newly instantiated default Action based on the specified actionType or return null if actionType not recognized.

Specified by:
newActionInstance in class BaseActionProviderSupport
Parameters:
areaType - the key associated with a defined area.
actionType - the key associated with a defined action type.
Returns:
a new action of the specified type.

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.

This method will become abstract once everyone makes the conversion from setActionAttributes()

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

initializeShortActionTypeMap

protected java.util.Map initializeShortActionTypeMap()
This method is called by the constructor and used to initiallize the 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.

Overrides:
initializeShortActionTypeMap in class BaseActionProviderSupport



Copyright © 2009 SAS Institute Inc. All Rights Reserved.