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

JCRCommand - JBOSS Portal 2.4 API 英文版文档


org.jboss.portal.cms.impl.jcr
Class JCRCommand

java.lang.Object
  extended byorg.jboss.portal.common.invocation.Invocation
      extended byorg.jboss.portal.cms.Command
          extended byorg.jboss.portal.cms.impl.jcr.JCRCommand
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ContentCreateCommand, ContentCreateNewVersionCommand, ContentGetCommand, ContentGetVersionsCommand, CopyCommand, DeleteCommand, FileCreateCommand, FileGetCommand, FileGetListCommand, FileUpdateCommand, FolderCreateCommand, FolderGetCommand, FolderGetListCommand, FolderUpdateCommand, GetArchiveCommand, ItemExistsCommand, JCRCompositeCommand, MoveCommand, RenameCommand, RuntimeExceptionCommand, StoreArchiveCommand

public abstract class JCRCommand
extends Command
implements java.io.Serializable

Interface for executing operations.

See Also:
Serialized Form

Field Summary
protected  JCRCommandContext context
           
static java.lang.String JCR_COMMANDFATORY_ATTRIBUTE
           
static java.lang.String JCR_LOCALE_ATTRIBUTE
           
static java.lang.String JCR_SESSION_ATTRIBUTE
           
 
Constructor Summary
JCRCommand()
           
 
Method Summary
protected  void dispatch()
          Dispatch the call to the target.
abstract  java.lang.Object execute()
           
 JCRCommandContext getContext()
           
 java.lang.Object getResult()
           
 void setContext(JCRCommandContext context)
           
 void setResult(java.lang.Object result)
           
 
Methods inherited from class org.jboss.portal.common.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
 

Field Detail

JCR_SESSION_ATTRIBUTE

public static java.lang.String JCR_SESSION_ATTRIBUTE

JCR_COMMANDFATORY_ATTRIBUTE

public static java.lang.String JCR_COMMANDFATORY_ATTRIBUTE

JCR_LOCALE_ATTRIBUTE

public static java.lang.String JCR_LOCALE_ATTRIBUTE

context

protected JCRCommandContext context
Constructor Detail

JCRCommand

public JCRCommand()
Method Detail

getContext

public JCRCommandContext getContext()

setContext

public void setContext(JCRCommandContext context)

execute

public abstract java.lang.Object execute()
                                  throws CMSException
Throws:
CMSException

dispatch

protected void dispatch()
                 throws java.lang.Exception,
                        InvocationException
Description copied from class: Invocation
Dispatch the call to the target.

Specified by:
dispatch in class Invocation
Throws:
java.lang.Exception
InvocationException

getResult

public java.lang.Object getResult()

setResult

public void setResult(java.lang.Object result)