com.sas.actionprovider.util.remotefile2
Class HttpRemoteFileActionUtil

com.sas.actionprovider.util.remotefile2.HttpRemoteFileActionUtil
All Implemented Interfaces:
ActionStatusKeysInterface, RemoteFileSelectorAreaInterface, DynamicValueKeys, RemoteFileDynamicValueKeys

public class HttpRemoteFileActionUtil


Field Summary
static java.lang.String DISPLAY_SEARCH_RESULTS_URL_TEMPLATE
           
static java.lang.String DISPLAY_SEARCH_RESULTS_URL_TEMPLATE_FOR_PARTIAL_REFRESH
           
static java.lang.String OPEN_FOLDER_COMBO_URL_TEMPLATE
           Default url pattern to be used with Open Folder combo actions.
static java.lang.String OPEN_FOLDER_COMBO_URL_TEMPLATE_FOR_PARTIAL_REFRESH
           Url pattern to be used with Open Folder combo actions when partial refresh is enabled.
 
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.util.remotefile2.RemoteFileDynamicValueKeys
FILE_NAME, FOLDER_NAME, FULLY_QUALIFIED_LOCATION, IS_FOLDER, MODEL, MODEL_COLUMN, NODE, PARENT_FOLDER_PATH, REMOTE_MODEL, SEARCH_ATTRIBUTES, SERVICE_MODEL, SORT_MODEL, TABLE
 
Fields inherited from interface com.sas.actionprovider.util.DynamicValueKeys
AREA_VALUE, AREA_VALUE_ATTRKEY, VIEWER, VIEWER_COMPONENT
 
Fields inherited from interface com.sas.actionprovider.ActionStatusKeysInterface
AREA_DISABLED, DISABLED, ENABLED, IS_CURRENT_STATE_DISABLED, MODEL_MEMBER_DISABLED, MODEL_STATE_DISABLED, MODEL_TYPE_DISABLED, UNSUPPORTED, VIEWER_DISABLED
 
Constructor Summary
HttpRemoteFileActionUtil()
           
 
Method Summary
 int getAreaDisabledIfNotFirstColumn(ActionSupportFilter filter, int currentStatus)
           
 int getAreaDisabledIfNotFirstColumnBaseFilter(ActionSupportFilter filter, int currentStatus)
           
static java.lang.Object getAreaValue(ActionSupportFilter filter)
           
 int getDisabledIfSearchMode(ActionSupportFilter filter, int currentStatus)
           
 RemoteFileMetadataInterface getNode(ActionSupportFilter filter)
          Returns the node.
 java.lang.Object getOpenAlternateText(ActionSupportFilter filter)
           
 int getOpenFolderStatus(ActionSupportFilter filter, int currentStatus)
           
 java.lang.Object getOpenShortDescription(ActionSupportFilter filter)
           
 java.lang.Object getOpenSmallIcon(ActionSupportFilter filter)
          Deprecated. Use getOpenSmallIconKey instead.
 int getSelectFileStatus(ActionSupportFilter filter, int currentStatus)
           
 
Methods inherited from class com.sas.actionprovider.util.remotefile2.RemoteFileActionUtil
getDisabledIfNoWritePermissions, getDisabledIfUpRestricted, getFullyQualifiedLocation, getRemoteFileServerModel, getRemoteFileServerModelFromToolBarFilter, getRemoteFileServerModelParentPath, getRemoteFileServerModelPath, getSortModel, isFolder
 

Field Detail

OPEN_FOLDER_COMBO_URL_TEMPLATE

public static final java.lang.String OPEN_FOLDER_COMBO_URL_TEMPLATE

Default url pattern to be used with Open Folder combo actions.

See Also:
Constant Field Values

DISPLAY_SEARCH_RESULTS_URL_TEMPLATE

public static final java.lang.String DISPLAY_SEARCH_RESULTS_URL_TEMPLATE
See Also:
Constant Field Values

OPEN_FOLDER_COMBO_URL_TEMPLATE_FOR_PARTIAL_REFRESH

public static final java.lang.String OPEN_FOLDER_COMBO_URL_TEMPLATE_FOR_PARTIAL_REFRESH

Url pattern to be used with Open Folder combo actions when partial refresh is enabled.

See Also:
Constant Field Values

DISPLAY_SEARCH_RESULTS_URL_TEMPLATE_FOR_PARTIAL_REFRESH

public static final java.lang.String DISPLAY_SEARCH_RESULTS_URL_TEMPLATE_FOR_PARTIAL_REFRESH
See Also:
Constant Field Values
Constructor Detail

HttpRemoteFileActionUtil

public HttpRemoteFileActionUtil()
Method Detail

getNode

public RemoteFileMetadataInterface getNode(ActionSupportFilter filter)
Description copied from class: RemoteFileActionUtil
Returns the node.

Overrides:
getNode in class RemoteFileActionUtil
Parameters:
filter - viewer data passed on the filter
Returns:

getAreaValue

public static java.lang.Object getAreaValue(ActionSupportFilter filter)

getOpenSmallIcon

public java.lang.Object getOpenSmallIcon(ActionSupportFilter filter)
Deprecated. Use getOpenSmallIconKey instead.

Parameters:
filter -
Returns:

getOpenAlternateText

public java.lang.Object getOpenAlternateText(ActionSupportFilter filter)

getOpenShortDescription

public java.lang.Object getOpenShortDescription(ActionSupportFilter filter)

getSelectFileStatus

public int getSelectFileStatus(ActionSupportFilter filter,
                               int currentStatus)

getAreaDisabledIfNotFirstColumn

public int getAreaDisabledIfNotFirstColumn(ActionSupportFilter filter,
                                           int currentStatus)
Overrides:
getAreaDisabledIfNotFirstColumn in class RemoteFileActionUtil

getAreaDisabledIfNotFirstColumnBaseFilter

public int getAreaDisabledIfNotFirstColumnBaseFilter(ActionSupportFilter filter,
                                                     int currentStatus)

getDisabledIfSearchMode

public int getDisabledIfSearchMode(ActionSupportFilter filter,
                                   int currentStatus)

getOpenFolderStatus

public int getOpenFolderStatus(ActionSupportFilter filter,
                               int currentStatus)
Overrides:
getOpenFolderStatus in class RemoteFileActionUtil



Copyright © 2009 SAS Institute Inc. All Rights Reserved.