|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter 11g Release 1 (11.1.1.4.0) E15995-03 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ResourceActionHandler
This interface declares the necessary methods that a resource action handler will need to implement in order to render the necessary views of a service's resource. The three different kinds of view renderers are treated in this interface: page, task flow, and resource ID as page. In addition, resourceActioned() can be used to determine whether the built-in inline popup will be used instead of calling the renderers here. Classes implementing this interface will require a default contructor (no arguments).
| Nested Class Summary | |
|---|---|
static class |
ResourceActionHandler.ResourceActionedResultThis enum describes the values that should be returned by the resourceActioned() method to indicate what action the WebCenter service framework should take. |
| Method Summary | |
|---|---|
ResourceActionHandler.ResourceActionedResult |
resourceActioned(javax.faces.event.ActionEvent action, ResourceActionRenderContext resource)This API will be called whenever an RAH enabled resource has been actioned to determine what should happen next. |
void |
viewPage(ResourceActionRenderContext resource)This is how the handler will implement the viewing of a page, if the service declares its Resource View to be a page. |
void |
viewResourceAsPage(ResourceActionRenderContext resource)This is how the handler will implement the viewing of a resource when interpreted as a page, if the service declares no Resource Views and the service ID is understood to allow for this to happen. |
void |
viewTaskFlow(ResourceActionRenderContext resource, TaskFlowId taskFlowId)This is how the handler will implement the viewing of a task flow, if the service declares its Resource View to be a task flow. |
| Method Detail |
|---|
void viewTaskFlow(ResourceActionRenderContext resource,
TaskFlowId taskFlowId)
resource - The necessary information on how the rendering of the resource will take placetaskFlowId - The ID of the task flow to be viewedvoid viewPage(ResourceActionRenderContext resource)
resource - The necessary information on how the rendering of the resource will take placevoid viewResourceAsPage(ResourceActionRenderContext resource)
resource - The necessary information on how the rendering of the resource will take place
ResourceActionHandler.ResourceActionedResult resourceActioned(javax.faces.event.ActionEvent action,
ResourceActionRenderContext resource)
action - The UI ActionEvent action that caused this API to be invokedresource - The necessary information on how the rendering of the resource will take place
|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter 11g Release 1 (11.1.1.4.0) E15995-03 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||