|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.shale.clay.component.chain.AbstractCommand
org.apache.shale.clay.component.chain.AssignChildrenCommand
public class AssignChildrenCommand
Iterates over the child ElementBean collection of a
ComponentBean, and invokes the CreateComponentCommand for
each.
| Field Summary |
|---|
| Fields inherited from interface org.apache.commons.chain.Command |
|---|
CONTINUE_PROCESSING, PROCESSING_COMPLETE |
| Constructor Summary | |
|---|---|
AssignChildrenCommand()
|
|
| Method Summary | |
|---|---|
boolean |
execute(org.apache.commons.chain.Context context)
This Command iterates over the ComponentBean
children collection and invokes the
Globals.ADD_COMPONENT_COMMAND_NAME for each
ElementBean. |
| Methods inherited from class org.apache.shale.clay.component.chain.AbstractCommand |
|---|
getCatalog, getCustomizationCatalog, getMessages, getTagUtils, isValueReference, realizeSymbols, replaceMnemonic, replaceMnemonic |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AssignChildrenCommand()
| Method Detail |
|---|
public boolean execute(org.apache.commons.chain.Context context)
throws java.lang.Exception
This Command iterates over the ComponentBean
children collection and invokes the
Globals.ADD_COMPONENT_COMMAND_NAME for each
ElementBean.
execute in interface org.apache.commons.chain.Commandexecute in class AbstractCommandcontext - commons chains
true if the chain is complete and should stop
java.lang.Exception - propagated up to the top of the chain
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||