Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal
11g Release 1 (11.1.1.6.0)
E15995-05


oracle.webcenter.framework.resource.view
Class ResourceActionRenderContext

java.lang.Object
  extended by oracle.webcenter.framework.resource.ResourceRow
      extended by oracle.webcenter.framework.resource.ResourceAction<javax.faces.component.UIComponent>
          extended by oracle.webcenter.framework.resource.view.ResourceActionRenderContext


public class ResourceActionRenderContext
extends ResourceAction<javax.faces.component.UIComponent>

A collection of parameters needed to render a view for a resource action. It extends ResourceAction to inherit the necessary fields it needs to expose.

Since:
11.1.1.0.0

Field Summary

 

Fields inherited from class oracle.webcenter.framework.resource.ResourceAction
ATTR_RESOURCE_ACTION, DISPLAY_AS_POPUP, HANDLER_CLASS_NAME, RESOURCE_ACTION_EDIT, RESOURCE_ACTION_REDIRECT_VIEWID, RESOURCE_ACTION_VIEW

 

Fields inherited from class oracle.webcenter.framework.resource.ResourceRow
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 Summary
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.

 

Method Summary
 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.

 

Methods inherited from class oracle.webcenter.framework.resource.ResourceAction
getAction, getSource, getValueMap

 

Methods inherited from class oracle.webcenter.framework.resource.ResourceRow
getAppParams, getAppParamsMap, getGroupId, getIconPath, getId, getReferer, getScope, getType, getUrl, isUrlExternal

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

ResourceActionRenderContext

public 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.
Parameters:
action - All the resource rendering information gathered when the link is clicked from a page that employs the Resource Action Handling framework.

Method Detail

getViewRenderer

public java.lang.String getViewRenderer()
Returns the view renderer which is a String representation of either a page (view ID) or a task flow.
Returns:
returns the String representation of the view renderer

isTaskFlow

public boolean isTaskFlow()
Tells whether the view renderer is a task flow.
Returns:
true when the view renderer is a task flow String representation

getTitle

public java.lang.String getTitle()
Override of getTitle uses the alternate title if not null.
Overrides:
getTitle in class oracle.webcenter.framework.resource.ResourceRow
Returns:
the title of the resource being rendered.

toString

public java.lang.String toString()
Extends the ResourceAction's toString to return the view renderer.
Overrides:
toString in class ResourceAction<javax.faces.component.UIComponent>
Returns:
a String representation of a ResourceActionRenderContext

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal
11g Release 1 (11.1.1.6.0)
E15995-05


Copyright © 2009, 2012, Oracle and/or its affiliates. All rights reserved.