public class ResourceActionRenderContext extends ResourceAction<javax.faces.component.UIComponent>
ATTR_RESOURCE_ACTION, DISPLAY_AS_POPUP, HANDLER_CLASS_NAME, RESOURCE_ACTION_EDIT, RESOURCE_ACTION_REDIRECT_VIEWID, RESOURCE_ACTION_VIEW
ATTR_APP_PARAMS, ATTR_EXTERNAL_URL, ATTR_GROUP_ID, ATTR_RESOURCE_ID, ATTR_RESOURCE_REFERER, ATTR_RESOURCE_SCOPE, ATTR_RESOURCE_TITLE, ATTR_RESOURCE_TYPE, ATTR_SERVICE_ID, m_appParams, m_groupId, m_id, m_referer, m_scope, m_title, m_type
Constructor and Description |
---|
ResourceActionRenderContext(ResourceAction<javax.faces.component.UIComponent> action)
From the information gathered in a ResourcAction, creates a
ResourceActionRenderContext inheriting everything from it and whose
title is treated after looking at the service definition for default
titles.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getTitle()
Override of getTitle uses the alternate title if not null.
|
java.lang.String |
getViewRenderer()
Returns the view renderer which is a String representation of either a
page (view ID) or a task flow.
|
boolean |
isTaskFlow()
Tells whether the view renderer is a task flow.
|
java.lang.String |
toString()
Extends the ResourceAction's toString to return the view renderer.
|
getAction, getSource, getValueMap
public ResourceActionRenderContext(ResourceAction<javax.faces.component.UIComponent> action)
action
- All the resource rendering information gathered when the
link is clicked from a page that employs the Resource Action Handling
framework.public java.lang.String getViewRenderer()
public boolean isTaskFlow()
public java.lang.String getTitle()
getTitle
in class oracle.webcenter.framework.resource.ResourceRow
public java.lang.String toString()
toString
in class ResourceAction<javax.faces.component.UIComponent>