|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.portal.jems.as.system.AbstractJBossService
org.jboss.portal.cms.impl.jcr.JCRCMS
public class JCRCMS
Field Summary | |
---|---|
protected static java.lang.ThreadLocal |
turnOffWorkflow
This is used to turnoff workflow triggering only for this particular request through the CMS commands |
protected static java.lang.ThreadLocal |
userInfo
Used for storing the logged in user information |
Fields inherited from class org.jboss.system.ServiceMBeanSupport |
---|
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. |
ApprovePublish |
getApprovePublishWorkflow()
|
AuthorizationManager |
getAuthorizationManager()
|
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()
|
java.lang.String |
getJNDIName()
|
javax.jcr.Repository |
getRepository()
|
java.lang.String |
getRepositoryName()
|
InterceptorStackFactory |
getStackFactory()
|
static java.lang.ThreadLocal |
getUserInfo()
|
boolean |
isWorkflowActivated()
|
void |
setApprovePublishWorkflow(ApprovePublish approvePublishWorkflow)
|
void |
setAuthorizationManager(AuthorizationManager authorizationManager)
|
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 |
setJNDIName(java.lang.String jndiName)
|
void |
setRepositoryName(java.lang.String repositoryName)
|
void |
setStackFactory(InterceptorStackFactory stackFactory)
|
void |
startJCR()
|
void |
startService()
CMS Start |
void |
stopJCR()
|
void |
stopService()
Shuts down the repo and unregisters it |
static void |
turnOffWorkflow()
|
static void |
turnOnWorkflow()
|
Methods inherited from class org.jboss.portal.jems.as.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 |
Field Detail |
---|
protected static java.lang.ThreadLocal userInfo
protected static java.lang.ThreadLocal turnOffWorkflow
Constructor Detail |
---|
public JCRCMS()
Method Detail |
---|
public static java.lang.ThreadLocal getUserInfo()
public static void turnOffWorkflow()
public static void turnOnWorkflow()
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 ApprovePublish getApprovePublishWorkflow()
public void setApprovePublishWorkflow(ApprovePublish approvePublishWorkflow)
approvePublishWorkflow
- the approvePublishWorkflow to setpublic AuthorizationManager getAuthorizationManager()
public void setAuthorizationManager(AuthorizationManager authorizationManager)
authorizationManager
- public java.lang.String getJNDIName()
public void setJNDIName(java.lang.String jndiName)
jndiName
- public void startService() throws java.lang.Exception
startService
in class org.jboss.system.ServiceMBeanSupport
java.lang.Exception
public void stopService()
stopService
in class org.jboss.system.ServiceMBeanSupport
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.lang.Exception
java.lang.Exception
public CommandFactory getCommandFactory()
CMS
getCommandFactory
in interface CMS
public javax.jcr.Repository getRepository()
public java.lang.Object execute(Command cmd) throws CMSException
CMS
execute
in interface CMS
CMSException
public boolean isWorkflowActivated()
isWorkflowActivated
in interface CMS
public void setStackFactory(InterceptorStackFactory stackFactory)
public InterceptorStackFactory getStackFactory()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |