|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.mx.util.JBossNotificationBroadcasterSupport org.jboss.system.ServiceMBeanSupport org.jboss.portal.common.system.AbstractJBossService org.jboss.portal.cms.impl.jcr.JCRCMS
Field Summary |
Fields inherited from class org.jboss.system.ServiceMBeanSupport |
log, server, SERVICE_CONTROLLER_SIG, serviceName |
Fields inherited from interface org.jboss.system.ServiceMBean |
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
Constructor Summary | |
JCRCMS()
|
Method Summary | |
boolean |
contentExists()
Checks for existence of default CMS content. |
void |
createContent()
Loads content from sar and adds it to the repo. |
java.lang.Object |
execute(Command cmd)
Execute the command. |
InterceptorStack |
getCmsStack()
|
CommandFactory |
getCommandFactory()
Return the command factory. |
org.w3c.dom.Element |
getConfig()
|
java.lang.String |
getDefaultContentLocation()
|
java.lang.String |
getDefaultLocale()
Return default locale |
boolean |
getDoChecking()
|
java.lang.String |
getHomeDir()
|
JCRService |
getJCR()
|
javax.jcr.Repository |
getRepository()
|
java.lang.String |
getRepositoryName()
|
void |
setCmsStack(InterceptorStack cmsStack)
|
void |
setConfig(org.w3c.dom.Element config)
|
void |
setDefaultContentLocation(java.lang.String defaultContentLocation)
|
void |
setDefaultLocale(java.lang.String defaultLocale)
|
void |
setDoChecking(boolean doChecking)
|
void |
setHomeDir(java.lang.String homeDir)
|
void |
setRepositoryName(java.lang.String repositoryName)
|
void |
startJCR()
|
void |
startService()
CMS Start |
void |
stopJCR()
|
void |
stopService()
Shuts down the repo and unregisters it |
Methods inherited from class org.jboss.portal.common.system.AbstractJBossService |
create, destroy, getState, getStateString, start, stop |
Methods inherited from class org.jboss.system.ServiceMBeanSupport |
createService, destroyService, getDeploymentInfo, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister |
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport |
addNotificationListener, getNotificationInfo, handleNotification, nextNotificationSequenceNumber, removeNotificationListener, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JCRCMS()
Method Detail |
public java.lang.String getRepositoryName()
public void setRepositoryName(java.lang.String repositoryName)
public java.lang.String getHomeDir()
public void setHomeDir(java.lang.String homeDir)
public java.lang.String getDefaultContentLocation()
public void setDefaultContentLocation(java.lang.String defaultContentLocation)
public org.w3c.dom.Element getConfig()
public void setConfig(org.w3c.dom.Element config)
public JCRService getJCR()
public java.lang.String getDefaultLocale()
CMS
getDefaultLocale
in interface CMS
public void setDefaultLocale(java.lang.String defaultLocale)
public boolean getDoChecking()
public void setDoChecking(boolean doChecking)
public void startService() throws java.lang.Exception
java.lang.Exception
public void stopService()
public void startJCR() throws java.lang.Exception
java.lang.Exception
public void stopJCR()
public boolean contentExists() throws java.lang.Exception
java.lang.Exception
public void createContent() throws java.io.IOException
java.io.IOException
public CommandFactory getCommandFactory()
CMS
getCommandFactory
in interface CMS
public javax.jcr.Repository getRepository()
public java.lang.Object execute(Command cmd) throws CMSException
CMS
CMSException
public void setCmsStack(InterceptorStack cmsStack)
public InterceptorStack getCmsStack()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |