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)

getDefaultLocale

public java.util.Locale getDefaultLocale()