|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.actionprovider.strategies.remotefile2.BaseRemoteFileStrategy
public abstract class BaseRemoteFileStrategy
Field Summary | |
---|---|
static java.lang.String |
MODEL
|
static java.lang.String |
SORT_MODEL
|
static java.lang.String |
VIEWER
|
Fields inherited from class com.sas.actionprovider.strategies.BaseActionStrategy |
---|
TEMPLATE_DELIMITER |
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 | |
---|---|
BaseRemoteFileStrategy()
Default constructor. |
|
BaseRemoteFileStrategy(boolean swing,
RemoteFileActionUtil util)
Constructor for specifying type ( swing/http ) of strategy object. |
Method Summary | |
---|---|
protected void |
addDynamicValueInfo(java.lang.String valueName,
java.lang.String methodName,
java.lang.String filterAlias)
Register the information for determining a dynamic value. |
protected void |
initialize()
Initialize this strategy object. |
protected void |
initializeActionAttributes(BaseAction action,
java.lang.String areaType,
java.util.Locale locale)
Initializes the Action with all its default attributes, default AttributeDescriptor property settings and default values for non-locale-dependent attributes. |
protected void |
setUtilObject(java.lang.Object util)
Sets the default utility object on which to invoke the methods that determine dynamic attribute values and Action status values. |
Methods inherited from class com.sas.actionprovider.strategies.BaseActionStrategy |
---|
addDynamicValueInfo, addDynamicValueInfo, getActionStatus, getCustomAttributeValue, getDynamicValue, getUtilObject, initializeAction, isSwing, setActionAttributes, setLocaleDependentDefaultAttributes, setSwing |
Field Detail |
---|
public static final java.lang.String MODEL
public static final java.lang.String SORT_MODEL
public static final java.lang.String VIEWER
Constructor Detail |
---|
public BaseRemoteFileStrategy()
public BaseRemoteFileStrategy(boolean swing, RemoteFileActionUtil util)
swing
- boolean indicating whether the strategy will be used in
a swing environment. If false, the strategy is http type.Method Detail |
---|
protected void initializeActionAttributes(BaseAction action, java.lang.String areaType, java.util.Locale locale)
Initializes the Action with all its default attributes, default AttributeDescriptor property settings and default values for non-locale-dependent attributes. values.
initializeActionAttributes
in class BaseActionStrategy
action
- The instance of the Action to be initialized.areaType
- The areaType of the Viewer where the Action will be presented.locale
- The localeprotected void addDynamicValueInfo(java.lang.String valueName, java.lang.String methodName, java.lang.String filterAlias)
Register the information for determining a dynamic value.
This method is a convenient alternative to the four argument version implemented on
BaseActionStrategy
in that it always
passes the util
object as
the methodObject
argument.
valueName
- The name of the dynamic value.methodName
- The name of the method to call on the methodObject when determining
this value dynamically. If null, the dynamic value is considered to be available
directly from the ActionSupport filter.filterAlias
- The name of the attribute on the filter.
If true, the values of the methodName and methodObject parameters are inconsequential.protected void initialize()
Initialize this strategy object.
Via the addDynamicValueInfo(java.lang.String, java.lang.String, java.lang.String)
method, this method registers the
information for dynamic values that are available in all OLAP areas:
com.sas.actionprovider.strategies.olap.OLAPDynamicValueKeys#MODEL
com.sas.actionprovider.strategies.olap.OLAPDynamicValueKeys#TABLE
initialize
in class BaseActionStrategy
#setReturnStatus
protected void setUtilObject(java.lang.Object util)
BaseActionStrategy
Sets the default utility object on which to invoke the methods that determine dynamic attribute values and Action status values.
setUtilObject
in class BaseActionStrategy
util
- the utility object
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |