站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.6 API 英文版文档

CompositeCommand - JBOSS Portal 2.6 API 英文版文档


org.jboss.portlet.forums.command
Class CompositeCommand

java.lang.Object
  extended byorg.jboss.portlet.forums.command.CompositeCommand
All Implemented Interfaces:
Command

public class CompositeCommand
extends java.lang.Object
implements Command

Version:
$Revision: 5448 $
Author:
Julien Viet

Field Summary
private  java.util.LinkedList list
           
 
Constructor Summary
CompositeCommand()
           
 
Method Summary
 void add(Command cmd)
           
 Result execute()
          Execute the real business job.
 Configurator getConfigurator()
          Returns the command configurator.
 java.util.Iterator iterator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

list

private final java.util.LinkedList list
Constructor Detail

CompositeCommand

public CompositeCommand()
Method Detail

add

public void add(Command cmd)

getConfigurator

public Configurator getConfigurator()
Description copied from interface: Command
Returns the command configurator.

Specified by:
getConfigurator in interface Command

iterator

public java.util.Iterator iterator()

execute

public Result execute()
Description copied from interface: Command
Execute the real business job.

Specified by:
execute in interface Command