|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface ActionList
Class that represents an ActionList
| Field Summary | |
|---|---|
static java.lang.String |
SYSTEMOUT_ACTION_KEY
|
| Fields inherited from interface com.bowstreet.webapp.WebAppObject |
|---|
ALWAYS_VISIBLE, INFORMATION_PROPERTY, NEVER_VISIBLE, SOMETIMES_VISIBLE |
| Method Summary | |
|---|---|
ActionListAction |
addAction(int index,
java.lang.String actionType,
java.lang.String name)
Adds an action to an ActionList at the specified position in this list. |
ActionListAction |
addAction(java.lang.String name)
Adds an action (Page, Method, or ActionList) to an ActionList. |
ActionListAction |
addAction(java.lang.String actionType,
java.lang.String name)
Adds an action to an ActionList. |
ActionListAction |
addActionListAction(java.lang.String actionListName)
Adds an ActionList action to an ActionList. |
void |
addArgument(java.lang.String name,
java.lang.String type)
Adds an argument to the method. |
ActionListAction |
addAssignmentAction(java.lang.String name,
java.lang.String source)
Adds an assignment action to an ActionList. |
ActionListAction |
addAssignmentAction(java.lang.String name,
java.lang.String source,
boolean append)
Adds an assignment action to an ActionList. |
ActionListAction |
addCodeAction(java.lang.String code)
Adds a Code action to an ActionList. |
ActionListAction |
addCommentAction(java.lang.String comment)
Adds a Comment action to an ActionList. |
ActionListAction |
addConditionalAction(java.lang.String type)
Adds a Conditional action to an ActionList. |
ActionListAction |
addMethodAction(java.lang.String methodName)
Adds a Method action to an ActionList. |
ActionListAction |
addPageAction(java.lang.String pageName)
Adds a Page action to an ActionList. |
ActionListAction |
addReturnAction(java.lang.String source)
Adds a return action to an ActionList. |
java.util.Iterator |
getActions()
Gets an iterator of all the actions in this list. |
java.util.Iterator |
getArguments()
Gets list of arguments and their types. |
java.lang.String |
getReturnType()
Gets Action List return type. |
java.lang.String |
getSchemaPath()
Get schemaPath associated with a method that returns IXml (null if not XML) |
int |
getSize()
Returns the number of actions in this list. |
void |
setReturnType(java.lang.String type)
Sets Action List return type. |
void |
setSchemaPath(java.lang.String schemaPath)
Set the schemaPath for a method that returns IXml. |
| Methods inherited from interface com.bowstreet.webapp.WebAppObject |
|---|
clone, getBuilderCall, getName, getProperties, getProperty, getVisibility, isHidden, putProperty, setBuilderCall, setHidden, setName, setVisibility |
| Methods inherited from interface com.bowstreet.util.IExemplar |
|---|
newInstance |
| Field Detail |
|---|
static final java.lang.String SYSTEMOUT_ACTION_KEY
| Method Detail |
|---|
ActionListAction addAction(int index,
java.lang.String actionType,
java.lang.String name)
index - - index at which the specified action is to be inserted.actionType - Type of action - ActionListAction.PAGE, etc.name - The name of the action, e.g. Page name or method name
java.lang.IndexOutOfBoundsException - - if index is out of range (index < 0 || index > size()).ActionListAction addAction(java.lang.String name)
name - The name of the action, e.g. Page name or method name
ActionListAction addAction(java.lang.String actionType,
java.lang.String name)
actionType - Type of action - ActionListAction.PAGE, etc.name - The name of the action, e.g. Page name or method name
ActionListAction addActionListAction(java.lang.String actionListName)
actionListName - The name of the ActionList to call
void addArgument(java.lang.String name,
java.lang.String type)
name - The name of the argument.type - The argument java type.
ActionListAction addAssignmentAction(java.lang.String name,
java.lang.String source)
name - The variable name to assign tosource - The source of the assignment
ActionListAction addAssignmentAction(java.lang.String name,
java.lang.String source,
boolean append)
name - The variable name to assign tosource - The source of the assignmentappend - Specifies if the assignment should do an append to the target object.
ActionListAction addCodeAction(java.lang.String code)
code - Java source code to be inserted directly into the
method built for the action list.
ActionListAction addCommentAction(java.lang.String comment)
comment - The comment to add.
ActionListAction addConditionalAction(java.lang.String type)
type - The conditional type IF (condition), ELSE, ENDIF.
ActionListAction addMethodAction(java.lang.String methodName)
methodName - The name of the method to call
ActionListAction addPageAction(java.lang.String pageName)
pageName - The name of the Page to call
ActionListAction addReturnAction(java.lang.String source)
source - The source of the returned value
java.util.Iterator getActions()
java.util.Iterator getArguments()
java.lang.String getReturnType()
java.lang.String getSchemaPath()
int getSize()
void setReturnType(java.lang.String type)
type - Java type returned by the Action List.void setSchemaPath(java.lang.String schemaPath)
schemaPath - string represenation (eg, "
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||