public class AssignChildrenCommand extends AbstractCommand
Iterates over the child ElementBean
collection of a
ComponentBean
, and invokes the CreateComponentCommand
for
each.
Constructor and Description |
---|
AssignChildrenCommand() |
Modifier and Type | Method and Description |
---|---|
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 . |
getCatalog, getCustomizationCatalog, getMessages, getTagUtils, isValueReference, realizeSymbols, replaceMnemonic, replaceMnemonic
public boolean execute(org.apache.commons.chain.Context context) throws 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.Command
execute
in class AbstractCommand
context
- commons chainstrue
if the chain is complete and should stopException
- propagated up to the top of the chainCopyright © 2004-2013 Apache Software Foundation. All Rights Reserved.