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

java.lang.Object
  extended by org.jboss.portal.common.invocation.Invocation
      extended by org.jboss.portal.core.controller.ControllerCommand
          extended by org.jboss.portal.core.cms.command.StreamContentCommand

public class StreamContentCommand
extends ControllerCommand

Renders content from the cms.

Author:
Roy Russo

Field Summary
 
Fields inherited from class org.jboss.portal.core.controller.ControllerCommand
context, log, NAVIGATIONAL_STATE_SCOPE, PRINCIPAL_SCOPE, REQUEST_SCOPE, SESSION_SCOPE
 
Fields inherited from class org.jboss.portal.common.invocation.Invocation
EMPTY_STACK
 
Constructor Summary
StreamContentCommand(java.lang.String path)
           
 
Method Summary
 ControllerResponse 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.controller.ControllerCommand
acquireResources, create, createContext, destroy, destroyContext, enforceSecurity, getContext, getControllerContext, releaseResources, rethrow
 
Methods inherited from class org.jboss.portal.common.invocation.Invocation
getAttribute, getHandler, invoke, invokeNext, removeAttribute, setAttribute, setHandler
 
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
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 ControllerResponse execute()
                           throws InvocationException,
                                  ControllerException
Description copied from class: ControllerCommand
Execute the command.

Specified by:
execute in class ControllerCommand
Throws:
InvocationException
ControllerException