|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.servlet.tbeans.BaseActionTransformation
public abstract class BaseActionTransformation
| Constructor Summary | |
|---|---|
BaseActionTransformation()
Default constructor. |
|
| Method Summary | |
|---|---|
void |
dispose()
This method exists for consumers to call when they are done with a component to ensure that the HttpActionProvider is cleared of all references to and for the component. |
HttpActionProvider |
getActionProvider()
Returns the HttpActionProvider object |
java.lang.String |
getActionSupportType()
Return the key that associated with a particular support class in the ActionProvider framework. |
java.lang.Object |
getUniqueId()
Returns the Viewer's uniqueId |
boolean |
isActionVisible(java.lang.String actionType,
java.lang.String areaType)
Returns a boolean indicating if the action type is visible everywhere in the specified areaType. |
java.util.Collection |
listActionTypes(java.lang.String areaType)
Returns a Collection of String keys that define the valid actionTypes for the specified area of the action support class designated the actionSupportType attribute. |
java.util.Collection |
listAreaTypes()
Returns a Collection of String keys that define the valid areaTypes for the action support class designated by the actionSupportType attribute. |
void |
setActionProvider(HttpActionProvider provider)
Sets the HttpActionProvider object |
void |
setActionSupportType(java.lang.String actionSupportType)
Set the key that associated with a particular support class in the ActionProvider framework. |
void |
setActionVisible(java.lang.String actionType,
java.lang.String areaType,
boolean visible)
Sets the visible status of the specified actionType for the specified area. |
void |
setUniqueId(java.lang.Object uniqueId)
Sets the Viewer's uniqueId |
void |
write(java.io.PrintWriter out)
Writes the custom attributes of the object. |
| Methods inherited from interface com.sas.actionprovider.HttpActionProviderViewInterface |
|---|
getRequest, setRequest |
| Constructor Detail |
|---|
public BaseActionTransformation()
| Method Detail |
|---|
public HttpActionProvider getActionProvider()
getActionProvider in interface HttpActionProviderInterfaceHttpActionProviderInterface.setActionProvider(com.sas.actionprovider.HttpActionProvider)public void setActionProvider(HttpActionProvider provider)
setActionProvider in interface HttpActionProviderInterfaceHttpActionProvider - objectHttpActionProviderInterface.getActionProvider()public java.lang.Object getUniqueId()
getUniqueId in interface ActionProviderViewInterfaceActionProviderViewInterface.setUniqueId(java.lang.Object)public void setUniqueId(java.lang.Object uniqueId)
setUniqueId in interface ActionProviderViewInterfaceuniqueId - the Viewer's uniqueIdActionProviderViewInterface.getUniqueId()
public void setActionVisible(java.lang.String actionType,
java.lang.String areaType,
boolean visible)
setActionVisible in interface ActionProviderViewInterfaceactionType - The key that identifies the type of action.area - The area affected by the change in visibility fort the actionType. If null,
then the method call applies to all the known areaTypes.visible - The boolean indicating whether the actionType should be hidden
or unhidden.
java.lang.IllegalArgumentException - if non-null Area specified with a null areaType attribute.
java.lang.IllegalStateException - if actionSupportType not set.ActionProviderViewInterface.isActionVisible(java.lang.String, java.lang.String),
ActionProviderSupportTypes
public boolean isActionVisible(java.lang.String actionType,
java.lang.String areaType)
isActionVisible in interface ActionProviderViewInterfaceactionType - The key that identifies the type of action as defined by the
support class.areaType - The key that identifies the type of area as defined by the support
class.
ActionProviderViewInterface.setActionVisible(java.lang.String, java.lang.String, boolean),
ActionProviderSupportTypespublic java.util.Collection listAreaTypes()
listAreaTypes in interface ActionProviderViewInterfaceActionProviderViewInterface.listActionTypes(java.lang.String),
ActionProviderViewInterface.setActionSupportType(java.lang.String)public java.util.Collection listActionTypes(java.lang.String areaType)
listActionTypes in interface ActionProviderViewInterfaceareaType - The key associated with a defined areaType.
ActionProviderViewInterface.listAreaTypes(),
ActionProviderViewInterface.setActionSupportType(java.lang.String)public void setActionSupportType(java.lang.String actionSupportType)
setActionSupportType in interface ActionProviderViewInterfaceactionSupportType - The key that is associated with a particular support class.ActionProviderViewInterface.getActionSupportType(),
ActionProviderSupportTypespublic java.lang.String getActionSupportType()
getActionSupportType in interface ActionProviderViewInterfaceActionProviderViewInterface.setActionSupportType(java.lang.String),
ActionProviderSupportTypes
public void write(java.io.PrintWriter out)
throws java.io.IOException
write in interface TransformationInterfacewrite in interface com.sas.util.WriteToPrintWriterInterfacewrite in class BaseTransformationout - The output stream
java.io.IOException - Thrown if some type of I/O error occurspublic void dispose()
This method exists for consumers to call when they are done with a component to ensure that the HttpActionProvider is cleared of all references to and for the component.
Calling any methods on a component after it has been disposed is not recommended and can have undesirable results.
HttpActionProvider
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||