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

StreamContentCommand - JBOSS Portal 2.2 API 英文版文档


org.jboss.portal.core.cms.command
Class StreamContentCommand

java.lang.Object
  extended byorg.jboss.portal.server.invocation.Invocation
      extended byorg.jboss.portal.core.command.ControllerCommand
          extended byorg.jboss.portal.core.cms.command.StreamContentCommand

public class StreamContentCommand
extends ControllerCommand

Renders content from the cms.


Field Summary
 
Fields inherited from class org.jboss.portal.core.command.ControllerCommand
context
 
Constructor Summary
StreamContentCommand(java.lang.String path)
           
 
Method Summary
 void execute()
          Execute the command.
 CommandInfo getInfo()
          Return the meta data of this command.
 java.lang.String getPath()
           
 
Methods inherited from class org.jboss.portal.core.command.ControllerCommand
create, destroy, dispatch, getContext, setContext
 
Methods inherited from class org.jboss.portal.server.invocation.Invocation
getAttribute, invoke, invokeNext, removeAttribute, setAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamContentCommand

public StreamContentCommand(java.lang.String path)
                     throws java.lang.IllegalArgumentException
Method Detail

getPath

public java.lang.String getPath()

getInfo

public CommandInfo getInfo()
Description copied from class: ControllerCommand
Return the meta data of this command.

Specified by:
getInfo in class ControllerCommand

execute

public void execute()
             throws InvocationException
Description copied from class: ControllerCommand
Execute the command.

Specified by:
execute in class ControllerCommand
Throws:
InvocationException