Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.scopemvc.core
Class ActionManager  view ActionManager download ActionManager.java

java.lang.Object
  extended byorg.scopemvc.core.ModelManager
      extended byorg.scopemvc.core.ActionManager

public abstract class ActionManager
extends ModelManager

ActionManager is a ModelManager that handles the actions (invokable methods) of model objects. The core of Scope doesn't depend on this manager although this abstract class is in the core package for consistency with the PropertyManager. An implementation for JavaBean model objects is provided in BeansActionManager.

Version:
$Revision: 1.4 $ $Date: 2002/01/12 09:35:40 $

Field Summary
private static java.lang.String NAME
           
 
Fields inherited from class org.scopemvc.core.ModelManager
modelClass
 
Constructor Summary
ActionManager()
           
 
Method Summary
abstract  boolean canDoAction(java.lang.Object inModel, ModelAction inAction)
          Can this model do the passed ModelAction?
abstract  java.lang.Object doAction(java.lang.Object inModel, ModelAction inAction, java.lang.Object[] inParameters)
          Generic interface to perform arbitrary actions on a model object.
static ActionManager getInstance(java.lang.Class inModelClass)
           
static ActionManager getInstance(java.lang.Object inModel)
           
 
Methods inherited from class org.scopemvc.core.ModelManager
make
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

private static final java.lang.String NAME
See Also:
Constant Field Values
Constructor Detail

ActionManager

public ActionManager()
Method Detail

getInstance

public static ActionManager getInstance(java.lang.Class inModelClass)

getInstance

public static ActionManager getInstance(java.lang.Object inModel)

doAction

public abstract java.lang.Object doAction(java.lang.Object inModel,
                                          ModelAction inAction,
                                          java.lang.Object[] inParameters)
                                   throws java.lang.Exception
Generic interface to perform arbitrary actions on a model object.


canDoAction

public abstract boolean canDoAction(java.lang.Object inModel,
                                    ModelAction inAction)
Can this model do the passed ModelAction?