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

JCRCommandContext - JBOSS Portal 2.4 API 英文版文档


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

java.lang.Object
  extended byorg.jboss.portal.cms.impl.jcr.JCRCommandContext

public class JCRCommandContext
extends java.lang.Object


Constructor Summary
JCRCommandContext(javax.jcr.Session session, JCRCommandFactory factory, java.util.Locale locale)
           
 
Method Summary
 java.lang.Object execute(JCRCommand cmd)
           
 JCRCommandFactory getCommandFactory()
           
 java.util.Locale getDefaultLocale()
           
 javax.jcr.Session getSession()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JCRCommandContext

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

getCommandFactory

public JCRCommandFactory getCommandFactory()

getSession

public javax.jcr.Session getSession()

execute

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

getDefaultLocale

public java.util.Locale getDefaultLocale()