|
||||||||||
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. |
CommandFactory |
getCommandFactory()
Return the command factory. |
java.lang.String |
getConfigFile()
|
java.lang.String |
getDefaultContent()
|
java.lang.String |
getDefaultLocale()
Return default locale |
boolean |
getDoChecking()
|
java.lang.String |
getHomeDir()
|
java.lang.String |
getLogin()
|
javax.jcr.Repository |
getRepository()
|
java.lang.String |
getRepositoryName()
|
boolean |
nodeTypesExist()
Check for existence of namespace nodetypes. |
void |
setConfigFile(java.lang.String configFile)
|
void |
setDefaultContent(java.lang.String defaultContent)
|
void |
setDefaultLocale(java.lang.String defaultLocale)
|
void |
setDoChecking(boolean doChecking)
|
void |
setHomeDir(java.lang.String homeDir)
|
void |
setLogin(java.lang.String login)
|
void |
setRepositoryName(java.lang.String repositoryName)
|
void |
startService()
CMS Start |
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 getConfigFile()
public void setConfigFile(java.lang.String configFile)
public java.lang.String getHomeDir()
public void setHomeDir(java.lang.String homeDir)
public java.lang.String getDefaultContent()
public void setDefaultContent(java.lang.String defaultContent)
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 java.lang.String getLogin()
public void setLogin(java.lang.String login)
public void startService() throws java.lang.Exception
java.lang.Exception
public boolean nodeTypesExist() throws java.lang.Exception
java.lang.Exception
public boolean contentExists() throws java.lang.Exception
java.lang.Exception
public void createContent()
public void stopService()
public CommandFactory getCommandFactory()
CMS
getCommandFactory
in interface CMS
public javax.jcr.Repository getRepository()
public java.lang.Object execute(Command cmd)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |