Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

oracle.adfnmc.component.action
Class GenericAction

java.lang.Object
  extended by oracle.adfnmc.component.action.GenericAction
All Implemented Interfaces:
ValueChangeListener
Direct Known Subclasses:
Action

public abstract class GenericAction
extends java.lang.Object
implements ValueChangeListener

Author:
jmiers

Field Summary
static java.lang.Class CLASS_INSTANCE
           
protected  java.lang.String m_elExpression
           
protected  ValueExpression m_valueExpression
           
 
Constructor Summary
protected GenericAction()
           
protected GenericAction(java.lang.String elExpression, java.lang.Class expectedType)
           
 
Method Summary
protected  void bindExpression()
           
 GenericActionResult executeAction()
           
static GenericActionResult executeAction(GenericAction action)
           
static GenericActionResult executeAction(GenericAction action, boolean enabled)
           
protected abstract  void expressionIsLiteral()
          Sub-classes of this abstract class must convert the el expression into a literal m_valueExpression is not guaranteed to be non-null, so it must be checked before being used.
protected  boolean hasElExpression()
           
 void valueChanged(ValueExpression sourceExpression)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_INSTANCE

public static final java.lang.Class CLASS_INSTANCE

m_elExpression

protected java.lang.String m_elExpression

m_valueExpression

protected ValueExpression m_valueExpression
Constructor Detail

GenericAction

protected GenericAction()

GenericAction

protected GenericAction(java.lang.String elExpression,
                        java.lang.Class expectedType)
Method Detail

bindExpression

protected void bindExpression()

expressionIsLiteral

protected abstract void expressionIsLiteral()
Sub-classes of this abstract class must convert the el expression into a literal m_valueExpression is not guaranteed to be non-null, so it must be checked before being used. If m_valueExpression is null, the value must be extracted from the string m_elExpression and coerced into the proper type from there.


hasElExpression

protected boolean hasElExpression()

executeAction

public static GenericActionResult executeAction(GenericAction action)

executeAction

public static GenericActionResult executeAction(GenericAction action,
                                                boolean enabled)

executeAction

public GenericActionResult executeAction()

valueChanged

public void valueChanged(ValueExpression sourceExpression)
Specified by:
valueChanged in interface ValueChangeListener
Parameters:
sourceExpression - - the ValueExpression instance this listener was registered with

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

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