|
Oracle Fusion Middleware Java API Reference for Oracle ADF Lifecycle 11g Release 2 (11.1.2.0.0) E17481-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.adf.controller.v2.lifecycle.Phases oracle.adf.controller.v2.lifecycle.PageLifecycle
public abstract class PageLifecycle
The PageLifecycle class is the base class for any ADF Lifecycle. It defines a set of behavior that an ADF Lifecycle needs in addition to the Phases.
Field Summary | |
---|---|
protected java.lang.Class |
clazz
The Class instance for this class (PageLifecycle). |
protected java.lang.Class[] |
eventParam
The set of argument type classes for the reflected event method call. |
protected java.util.Map |
events
Cache the set of event methods as they are introspected. |
Constructor Summary | |
---|---|
PageLifecycle()
|
Method Summary | |
---|---|
abstract void |
executeEvent(PageLifecycleContext context,
java.lang.String event,
oracle.adf.model.OperationBinding actionBinding)
Execute a single event. |
abstract void |
findForward(PageLifecycleContext context)
The path of the next web page is identified using the forwardPath property on the PageLifecycleContext. |
protected static java.lang.reflect.Method |
getEventMethodFromCache(java.util.Map events,
java.lang.Class clazz,
java.lang.Class[] eventParams,
java.lang.String eventName)
Internal Event methods are cached so that introspection is only done once. |
java.lang.Class |
getLifecycleContextClass()
Returns the LifecycleContext class used by this PageLifecycle. |
abstract void |
handleError(PageLifecycleContext context,
java.lang.Exception ex)
Handles any exceptions that occurred during the PageLifecycle processing. |
abstract boolean |
hasErrors(PageLifecycleContext context)
Return true if an error occured during validation. |
abstract void |
initializeMethodParameters(PageLifecycleContext context,
oracle.adf.model.OperationBinding actionBinding)
This method is invoked before any ControlBinding or custom method is being executed. |
abstract void |
reportErrors(PageLifecycleContext context)
Provide the opportunity to build an error list in a format appropriate to the view layer. |
abstract boolean |
shouldAllowModelUpdate(PageLifecycleContext context)
This method is called during the processUpdateModel phase. |
Methods inherited from class oracle.adf.controller.v2.lifecycle.Phases |
---|
applyInputValues, initContext, metadataCommit, prepareModel, prepareRender, processComponentEvents, processUpdateModel, validateInputValues, validateModelUpdates |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.Map events
protected java.lang.Class clazz
protected java.lang.Class[] eventParam
Constructor Detail |
---|
public PageLifecycle()
Method Detail |
---|
public java.lang.Class getLifecycleContextClass()
public abstract void executeEvent(PageLifecycleContext context, java.lang.String event, oracle.adf.model.OperationBinding actionBinding)
handleEvent.
public abstract void handleError(PageLifecycleContext context, java.lang.Exception ex)
BindingContainer
.
public abstract boolean hasErrors(PageLifecycleContext context)
public abstract void reportErrors(PageLifecycleContext context)
public abstract boolean shouldAllowModelUpdate(PageLifecycleContext context)
JUCtrlActionBinding.ignoreUpdates()
public abstract void initializeMethodParameters(PageLifecycleContext context, oracle.adf.model.OperationBinding actionBinding)
context
- the PageLifecycle contextactionBinding
- the action binding object to initializepublic abstract void findForward(PageLifecycleContext context) throws java.lang.Exception
java.lang.Exception
protected static final java.lang.reflect.Method getEventMethodFromCache(java.util.Map events, java.lang.Class clazz, java.lang.Class[] eventParams, java.lang.String eventName)
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Lifecycle 11g Release 2 (11.1.2.0.0) E17481-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |