org.infoglue.cms.applications.structuretool.actions
Class ViewAndCreateContentForServiceBindingAction
java.lang.Object
|
+--org.infoglue.cms.applications.common.actions.WebworkAbstractAction
|
+--org.infoglue.cms.applications.structuretool.actions.ViewAndCreateContentForServiceBindingAction
- All Implemented Interfaces:
- webwork.action.Action, webwork.action.CommandDriven, java.io.Serializable, webwork.action.ServletRequestAware, webwork.action.ServletResponseAware
- public class ViewAndCreateContentForServiceBindingAction
- extends WebworkAbstractAction
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.WebworkAbstractAction |
doDefault, execute, getBrowserBean, getCurrentUrl, getError, getErrors, getInfoGluePrincipal, getLocalizedString, getRoot, getSession, setCommand, setServletRequest, setServletResponse |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ViewAndCreateContentForServiceBindingAction
public ViewAndCreateContentForServiceBindingAction()
ViewAndCreateContentForServiceBindingAction
public ViewAndCreateContentForServiceBindingAction(ServiceBindingVO serviceBindingVO)
setSiteNodeVersionId
public void setSiteNodeVersionId(java.lang.Integer siteNodeVersionId)
setRepositoryId
public void setRepositoryId(java.lang.Integer repositoryId)
setAvailableServiceBindingId
public void setAvailableServiceBindingId(java.lang.Integer availableServiceBindingId)
setServiceDefinitionId
public void setServiceDefinitionId(java.lang.Integer serviceDefinitionId)
setBindingTypeId
public void setBindingTypeId(java.lang.Integer bindingTypeId)
setPath
public void setPath(java.lang.String path)
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()
getAvailableServiceBindingId
public java.lang.Integer getAvailableServiceBindingId()
getServiceDefinitionId
public java.lang.Integer getServiceDefinitionId()
getBindingTypeId
public java.lang.Integer getBindingTypeId()
setServiceBindingId
public void setServiceBindingId(java.lang.Integer serviceBindingId)
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.
- Overrides:
doExecute in class WebworkAbstractAction
java.lang.Exception
getRepositories
public java.util.List getRepositories()
getContentId
public java.lang.Integer getContentId()
getLanguageId
public java.lang.Integer getLanguageId()