|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectServiceMBeanSupport
org.jboss.portal.jems.as.system.AbstractJBossService
org.jboss.portal.core.controller.command.mapper.AbstractCommandFactory
org.jboss.portal.core.cms.CMSObjectCommandFactoryService
public class CMSObjectCommandFactoryService
This command mapper is used to map urls to cms content objects
Field Summary | |
---|---|
protected CMS |
CMSService
. |
protected ServerConfig |
serverConfig
. |
protected PortalObjectId |
targetWindowId
. |
protected java.lang.String |
targetWindowRef
. |
Constructor Summary | |
---|---|
CMSObjectCommandFactoryService()
|
Method Summary | |
---|---|
ControllerCommand |
doMapping(ControllerContext controllerContext,
ServerInvocation invocation,
java.lang.String host,
java.lang.String contextPath,
java.lang.String requestPath)
Create a command. |
CMS |
getCMSService()
|
ServerConfig |
getServerConfig()
|
PortalObjectId |
getTargetWindowId()
|
java.lang.String |
getTargetWindowRef()
|
void |
setCMSService(CMS CMSService)
|
void |
setServerConfig(ServerConfig serverConfig)
|
void |
setTargetWindowRef(java.lang.String targetWindowRef)
|
protected void |
startService()
|
protected void |
stopService()
|
Methods inherited from class org.jboss.portal.jems.as.system.AbstractJBossService |
---|
create, destroy, getState, getStateString, start, stop |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected CMS CMSService
protected java.lang.String targetWindowRef
protected PortalObjectId targetWindowId
protected ServerConfig serverConfig
Constructor Detail |
---|
public CMSObjectCommandFactoryService()
Method Detail |
---|
public PortalObjectId getTargetWindowId()
getTargetWindowId
in interface CMSObjectCommandFactory
public CMS getCMSService()
public void setCMSService(CMS CMSService)
public java.lang.String getTargetWindowRef()
public void setTargetWindowRef(java.lang.String targetWindowRef)
public ServerConfig getServerConfig()
public void setServerConfig(ServerConfig serverConfig)
protected void startService() throws java.lang.Exception
java.lang.Exception
protected void stopService() throws java.lang.Exception
java.lang.Exception
public ControllerCommand doMapping(ControllerContext controllerContext, ServerInvocation invocation, java.lang.String host, java.lang.String contextPath, java.lang.String requestPath)
CommandFactory
doMapping
in interface CommandFactory
doMapping
in class AbstractCommandFactory
controllerContext
- the controller contextinvocation
- the server invocationhost
- the hostcontextPath
- the context pathrequestPath
- the request path @return the command or null if no command is recognized
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |