|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.actionprovider.support.HttpViewerSupport
public class HttpViewerSupport
Provides a common implementation of the HttpActionProviderViewInterface
to which components may delegate their own implementations of that interface.
Transformation Bean Components that acquire their Actions via the ActionProvider Framework (APF) are required to implement that interface.
A basic understanding of the ActionProvider Framework, of which this class is a part, is recommended before attempting to use this class.
For general information on the ActionProvider Framework, including an overview of how
the primary classes of the framework work together, refer to the
package documentation.
com.sas.actionprovider
For examples demonstrating how to use the ActionProvider Framework, including how to override default Actions or add new custom Actions, refer to the Samples Site.
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 .
HttpActionProviderViewInterface| Constructor Summary | |
|---|---|
HttpViewerSupport()
Default constructor |
|
HttpViewerSupport(ActionProviderViewInterface viewer)
Constructor that takes an instance of the view component that this class supports. |
|
| Method Summary | |
|---|---|
HttpActionProvider |
getActionProvider()
Returns the ActionProvider object |
javax.servlet.http.HttpServletRequest |
getRequest()
Returns the Viewer's request |
com.sas.util.SimpleTemplate |
getURLTemplate()
Returns the URLTemplate string |
java.util.Collection |
listActionTypes(java.lang.String areaType)
Returns a Collection of String keys that define the valid actionTypes as defined by the support class that is currently associated with this component. |
java.util.Collection |
listAreaTypes()
Returns a Collection of String keys that define the valid areaTypes as defined by the support class that is currently associated with this component. |
void |
setActionProvider(HttpActionProvider actionProvider)
Sets the ActionProvider object |
void |
setRequest(javax.servlet.http.HttpServletRequest request)
Sets the Viewer's request |
void |
setURLTemplate(com.sas.util.SimpleTemplate URLTemplate)
Sets the URLTemplate string |
| Methods inherited from class com.sas.actionprovider.support.BaseViewerSupport |
|---|
getActionSupportType, getUniqueId, isActionVisible, setActionSupportType, setActionVisible, setUniqueId |
| Methods inherited from interface com.sas.actionprovider.ActionProviderViewInterface |
|---|
getActionSupportType, getUniqueId, isActionVisible, setActionSupportType, setActionVisible, setUniqueId |
| Constructor Detail |
|---|
public HttpViewerSupport()
public HttpViewerSupport(ActionProviderViewInterface viewer)
viewer - The instance of the view component.| Method Detail |
|---|
public com.sas.util.SimpleTemplate getURLTemplate()
getURLTemplate in interface URLTemplateViewInterfacegetURLTemplate(),
URLTemplateViewInterfacepublic void setURLTemplate(com.sas.util.SimpleTemplate URLTemplate)
setURLTemplate in interface URLTemplateViewInterfaceURLTemplate - stringgetURLTemplate(),
URLTemplateViewInterfacepublic HttpActionProvider getActionProvider()
getActionProvider in interface HttpActionProviderInterfacesetActionProvider(com.sas.actionprovider.HttpActionProvider)public void setActionProvider(HttpActionProvider actionProvider)
setActionProvider in interface HttpActionProviderInterfaceActionProvider - objectgetActionProvider()public java.util.Collection listAreaTypes()
listAreaTypes in interface ActionProviderViewInterfacelistAreaTypes in class BaseViewerSupportjava.lang.IllegalStateException - if actionSupportType not set.listActionTypes(java.lang.String),
BaseViewerSupport.setActionSupportType(java.lang.String)public java.util.Collection listActionTypes(java.lang.String areaType)
listActionTypes in interface ActionProviderViewInterfacelistActionTypes in class BaseViewerSupportareaType - The key associated with a defined areaType.
java.lang.IllegalStateException - if actionSupportType not set.
java.lang.IllegalArgumentException - if areaType is null.listAreaTypes(),
BaseViewerSupport.setActionSupportType(java.lang.String)public void setRequest(javax.servlet.http.HttpServletRequest request)
setRequest in interface HttpActionProviderInterfacesetRequest in interface HttpActionProviderViewInterfacename - the Viewer's requestgetRequest()public javax.servlet.http.HttpServletRequest getRequest()
getRequest in interface HttpActionProviderInterfacegetRequest in interface HttpActionProviderViewInterfacesetRequest(javax.servlet.http.HttpServletRequest)
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||