org.infoglue.cms.applications.structuretool.actions
Class ViewAndCreateContentForServiceBindingAction
java.lang.Object
org.infoglue.cms.applications.common.actions.WebworkAbstractAction
org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction
org.infoglue.cms.applications.structuretool.actions.ViewAndCreateContentForServiceBindingAction
- All Implemented Interfaces:
- java.io.Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.ServletRequestAware, webwork.action.ServletResponseAware
public class ViewAndCreateContentForServiceBindingAction
- extends InfoGlueAbstractAction
This action first checks if there is a bound content linked - if not one is created in a special folder.
The content is then shown to the user for editing.
- See Also:
- Serialized Form
| Fields inherited from interface webwork.action.Action |
ERROR, INPUT, LOGIN, NONE, SUCCESS |
| Methods inherited from class org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction |
beginTransaction, closeDatabase, closeTransaction, commitTransaction, encode, getAnonymousPrincipal, getCMSBaseUrl, getColorScheme, getComponentRendererAction, getComponentRendererUrl, getCurrentURL, getLanguageCode, getLocale, getLogger, getLogoutURL, getOriginalFullURL, getParameter, getPrincipalPropertyHashValues, getPrincipalPropertyValue, getPrincipalPropertyValue, getSessionTimeout, getSingleParameter, getThis, getToolId, getToolLocales, getURLBase, getUserName, hasAccessTo, hasAccessTo, rollbackTransaction, setColorScheme, setLanguageCode, setToolId |
| Methods inherited from class org.infoglue.cms.applications.common.actions.WebworkAbstractAction |
doDefault, execute, getBrowserBean, getCurrentUrl, getError, getErrors, getHttpSession, getInfoGluePrincipal, getLocalizedString, getRequest, getResponse, getRoot, getSession, setCommand, setError, setServletRequest, setServletResponse |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ViewAndCreateContentForServiceBindingAction
public ViewAndCreateContentForServiceBindingAction()
setSiteNodeVersionId
public void setSiteNodeVersionId(java.lang.Integer siteNodeVersionId)
setRepositoryId
public void setRepositoryId(java.lang.Integer repositoryId)
setServiceDefinitionId
public void setServiceDefinitionId(java.lang.Integer serviceDefinitionId)
getSiteNodeVersionId
public java.lang.Integer getSiteNodeVersionId()
setSiteNodeId
public void setSiteNodeId(java.lang.Integer siteNodeId)
getSiteNodeId
public java.lang.Integer getSiteNodeId()
getRepositoryId
public java.lang.Integer getRepositoryId()
getServiceDefinitionId
public java.lang.Integer getServiceDefinitionId()
getBindingTypeId
public java.lang.Integer getBindingTypeId()
getSingleServiceDefinitionVO
public ServiceDefinitionVO getSingleServiceDefinitionVO()
getTree
public java.lang.String getTree()
setTree
public void setTree(java.lang.String string)
getCurrentAction
public java.lang.String getCurrentAction()
doExecute
public java.lang.String doExecute()
throws java.lang.Exception
- We first checks if there is a bound content linked - if not one is created in a special folder and
a new service binding is created to it. The content is then shown to the user for editing. Most of this method should
be moved to an controller.
- Specified by:
doExecute in class WebworkAbstractAction
- Throws:
java.lang.Exception
getInitialLanguageVO
public LanguageVO getInitialLanguageVO(java.lang.Integer contentId)
throws java.lang.Exception
- Throws:
java.lang.Exception
getRepositories
public java.util.List getRepositories()
getContentId
public java.lang.Integer getContentId()
getLanguageId
public java.lang.Integer getLanguageId()
getChangeStateToWorking
public java.lang.String getChangeStateToWorking()
setChangeStateToWorking
public void setChangeStateToWorking(java.lang.String changeStateToWorking)
Copyright © 2005 InfoGlue.org All Rights Reserved.