public class Action extends Object implements Serializable
Components (and can be added to component XML's).
Actions are checked using Authorization.check(UserContext, Action, Parameters).
Action instances can be retrieved with the ActionRepository.| Modifier and Type | Field and Description |
|---|---|
protected ActionChecker |
defaultChecker |
protected LocalizedString |
description |
protected String |
name |
protected String |
nameSpace |
| Constructor and Description |
|---|
Action(String ns,
String n,
ActionChecker c) |
| Modifier and Type | Method and Description |
|---|---|
Parameters |
createParameters() |
ActionChecker |
getDefault()
Every action needs to do a proposal on how to check it.
|
LocalizedString |
getDescription() |
String |
getName()
Every action has a non-null name.
|
String |
getNameSpace()
Most 'actions' have a namespace.
|
String |
toString() |
protected final String name
protected final LocalizedString description
protected final ActionChecker defaultChecker
protected final String nameSpace
public Action(String ns, String n, ActionChecker c)
public ActionChecker getDefault()
ActionChecker.Rank).public String getName()
getNameSpace() it uniquely
identifies the action.public String getNameSpace()
null though.public LocalizedString getDescription()
public Parameters createParameters()
MMBase 1.9-SNAPSHOT - ${javadoctimestamp}