org.nakedobjects.object.control
Class ActionController
java.lang.Object
org.nakedobjects.object.control.AbstractAbout
org.nakedobjects.object.control.ActionAbout
org.nakedobjects.object.control.ActionController
- All Implemented Interfaces:
- About, java.io.Serializable
Deprecated. replaces by ActionAbout
- public class ActionController
- extends ActionAbout
- See Also:
ActionAbout,
Serialized Form
|
Field Summary |
static ActionAbout |
ALLOW
Deprecated. An About for showing that an action is allowed. |
static ActionAbout |
VETO
Deprecated. An About for showing that an action is vetoed. |
|
Constructor Summary |
ActionController(java.lang.String actionName,
boolean allow)
Deprecated. |
|
Method Summary |
static ActionAbout |
createAbout(boolean allowUse)
Deprecated. Returns an allow action About (ActionController.ALLOW) if true; veto action
(ActionController.VETO) if false. |
static ActionAbout |
createAbout(boolean allowUse,
java.lang.String vetoReason)
Deprecated. Returns an allow-action About (ActionController.ALLOW) if true; and a new ActionController with a
VETO (containing the reason) if false. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VETO
public static final ActionAbout VETO
- Deprecated.
- An About for showing that an action is vetoed.
ALLOW
public static final ActionAbout ALLOW
- Deprecated.
- An About for showing that an action is allowed.
ActionController
public ActionController(java.lang.String actionName,
boolean allow)
- Deprecated.
createAbout
public static ActionAbout createAbout(boolean allowUse)
- Deprecated.
- Returns an allow action About (ActionController.ALLOW) if true; veto action
(ActionController.VETO) if false.
createAbout
public static ActionAbout createAbout(boolean allowUse,
java.lang.String vetoReason)
- Deprecated.
- Returns an allow-action About (ActionController.ALLOW) if true; and a new ActionController with a
VETO (containing the reason) if false.