|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mmbase.applications.editwizard.WizardCommand
public class WizardCommand
The wizardcommands are used to store information received from the clients about commands. Eg.: add-item, delete commands are stored here.
| Field Summary | |
|---|---|
static short |
ADD_ITEM
|
static short |
CANCEL
|
static short |
COMMIT
|
static short |
DELETE_ITEM
|
static short |
GOTO_FORM
|
static short |
MOVE_DOWN
|
static short |
MOVE_UP
|
static short |
SAVE
|
static short |
START_WIZARD
|
static short |
UNKNOWN_COMMAND
|
static short |
UPDATE_ITEM
|
| Constructor Summary | |
|---|---|
WizardCommand(String acommand,
String avalue)
Creates a wizard command object with the given command and value. |
|
| Method Summary | |
|---|---|
String |
getDid()
Returns the 'did' (data id) parameter of the parsed command. |
String |
getFid()
Returns the 'fid' (field id) parameter of the parsed command. |
String |
getParameter(int i)
Returns the parameter with the indicated index of the parsed command. |
int |
getType()
Returns the type of the parsed command. |
String |
getValue()
Returns the value passed to the parsed command. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final short UNKNOWN_COMMAND
public static final short ADD_ITEM
public static final short CANCEL
public static final short COMMIT
public static final short DELETE_ITEM
public static final short GOTO_FORM
public static final short MOVE_DOWN
public static final short MOVE_UP
public static final short SAVE
public static final short START_WIZARD
public static final short UPDATE_ITEM
| Constructor Detail |
|---|
public WizardCommand(String acommand,
String avalue)
cmd/type/fid/did/otherdid/
'type' is the command itself (i.e. 'add-item'), fid, did, and otherdid are possible
parameters to the command.
acommand - The full commandavalue - The value of the command| Method Detail |
|---|
public int getType()
public String getValue()
public String getParameter(int i)
public String getFid()
public String getDid()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||