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

JCRCommandContext - JBOSS Portal 2.6 API 英文版文档


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

java.lang.Object
  extended byorg.jboss.portal.common.invocation.AbstractInvocationContext
      extended byorg.jboss.portal.cms.impl.jcr.JCRCommandContext
All Implemented Interfaces:
InvocationContext

public class JCRCommandContext
extends AbstractInvocationContext

Version:
$Revision: 5448 $
Author:
Julien Viet

Nested Class Summary
 
Nested classes inherited from class org.jboss.portal.common.invocation.AbstractInvocationContext
 
Field Summary
private  JCRCommandFactory commandFactory
           
private  java.util.Locale locale
           
private  Session session
           
 
Fields inherited from class org.jboss.portal.common.invocation.AbstractInvocationContext
 
Constructor Summary
JCRCommandContext(Session session, JCRCommandFactory factory, java.util.Locale locale)
           
 
Method Summary
 java.lang.Object execute(JCRCommand cmd)
           
 JCRCommandFactory getCommandFactory()
           
 java.util.Locale getDefaultLocale()
           
 Session getSession()
           
 
Methods inherited from class org.jboss.portal.common.invocation.AbstractInvocationContext
addResolver, addResolver, getAttribute, getAttributeResolver, removeAttribute, setAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

session

private final Session session

commandFactory

private final JCRCommandFactory commandFactory

locale

private final java.util.Locale locale
Constructor Detail

JCRCommandContext

public JCRCommandContext(Session session,
                         JCRCommandFactory factory,
                         java.util.Locale locale)
Method Detail

getCommandFactory

public JCRCommandFactory getCommandFactory()

getSession

public Session getSession()

execute

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

getDefaultLocale

public java.util.Locale getDefaultLocale()