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

MoveWindowCommand - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.core.controller.command
Class MoveWindowCommand

java.lang.Object
  extended byorg.jboss.portal.common.invocation.Invocation
      extended byorg.jboss.portal.core.controller.ControllerCommand
          extended byorg.jboss.portal.core.controller.command.PortalObjectCommand
              extended byorg.jboss.portal.core.controller.command.WindowCommand
                  extended byorg.jboss.portal.core.controller.command.MoveWindowCommand

public class MoveWindowCommand
extends WindowCommand

Version:
$Revision: 1.1 $
Author:
Julien Viet

Field Summary
private  int fromPos
          .
private  java.lang.String fromRegion
          .
private static CommandInfo info
          .
private  int toPos
          .
private  java.lang.String toRegion
          .
 
Fields inherited from class org.jboss.portal.core.controller.command.WindowCommand
instance, page, portal, window
 
Fields inherited from class org.jboss.portal.core.controller.command.PortalObjectCommand
target, targetId
 
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
MoveWindowCommand(java.lang.String windowRef, int fromPos, java.lang.String fromRegion, int toPos, java.lang.String toRegion)
           
 
Method Summary
 java.lang.Object execute()
          Execute the command.
 CommandInfo getInfo()
          Return the meta data of this command.
 
Methods inherited from class org.jboss.portal.core.controller.command.WindowCommand
create, enforceSecurity, getInstance, getPage, getPortal, getWindow
 
Methods inherited from class org.jboss.portal.core.controller.command.PortalObjectCommand
getTarget, getTargetId, isDashboard
 
Methods inherited from class org.jboss.portal.core.controller.ControllerCommand
createContext, destroy, destroyContext, getContext, getControllerContext, 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
 

Field Detail

info

private static final CommandInfo info
.


fromPos

private int fromPos
.


fromRegion

private java.lang.String fromRegion
.


toPos

private int toPos
.


toRegion

private java.lang.String toRegion
.

Constructor Detail

MoveWindowCommand

public MoveWindowCommand(java.lang.String windowRef,
                         int fromPos,
                         java.lang.String fromRegion,
                         int toPos,
                         java.lang.String toRegion)
                  throws java.lang.IllegalArgumentException
Method Detail

getInfo

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

Specified by:
getInfo in class ControllerCommand

execute

public java.lang.Object execute()
                         throws ControllerException
Description copied from class: ControllerCommand
Execute the command.

Specified by:
execute in class ControllerCommand
Throws:
ControllerException