org.infoglue.cms.applications.structuretool.actions
Class ViewStructureToolToolBarAction

java.lang.Object
  |
  +--org.infoglue.cms.applications.common.actions.WebworkAbstractAction
        |
        +--org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction
              |
              +--org.infoglue.cms.applications.structuretool.actions.ViewStructureToolToolBarAction
All Implemented Interfaces:
webwork.action.Action, webwork.action.CommandDriven, java.io.Serializable, webwork.action.ServletRequestAware, webwork.action.ServletResponseAware

public class ViewStructureToolToolBarAction
extends InfoGlueAbstractAction

This class implements the action class for the framed page in the siteNode tool.

Author:
Mattias Bogeblad
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
ViewStructureToolToolBarAction()
           
 
Method Summary
 java.lang.String doExecute()
          This execute method first of all gets the id of the available service-binding the meta-info-content-type has.
 java.util.List getButtons()
           
 java.lang.Boolean getIsBranch()
           
 java.lang.String getName()
           
 java.lang.Integer getRepositoryId()
           
 java.lang.Integer getServiceBindingId()
           
 java.lang.Integer getSiteNodeId()
           
 java.lang.Integer getSiteNodeVersionId()
           
 java.lang.String getTitle()
           
 java.lang.String getToolbarKey()
           
 java.lang.String getUrl()
           
 void setIsBranch(java.lang.Boolean isBranch)
           
 void setName(java.lang.String name)
           
 void setRepositoryId(java.lang.Integer repositoryId)
           
 void setServiceBindingId(java.lang.Integer integer)
           
 void setSiteNodeId(java.lang.Integer siteNodeId)
           
 void setSiteNodeVersionId(java.lang.Integer siteNodeVersionId)
           
 void setTitle(java.lang.String title)
           
 void setToolbarKey(java.lang.String toolbarKey)
           
 void setUrl(java.lang.String url)
           
 
Methods inherited from class org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction
beginTransaction, closeDatabase, closeTransaction, encode, getCMSBaseUrl, getColorScheme, getComponentRendererAction, getComponentRendererUrl, getCurrentURL, getLanguageCode, getLocale, getPrincipalPropertyHashValues, getPrincipalPropertyValue, getPrincipalPropertyValue, getSessionTimeout, getThis, getURLBase, getUserName, hasAccessTo, hasAccessTo, rollbackTransaction, setColorScheme
 
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
 

Constructor Detail

ViewStructureToolToolBarAction

public ViewStructureToolToolBarAction()
Method Detail

doExecute

public java.lang.String doExecute()
                           throws java.lang.Exception
This execute method first of all gets the id of the available service-binding the meta-info-content-type has. Then we check if there is a meta-info allready bound.

Overrides:
doExecute in class WebworkAbstractAction
java.lang.Exception

getRepositoryId

public java.lang.Integer getRepositoryId()

setRepositoryId

public void setRepositoryId(java.lang.Integer repositoryId)

getSiteNodeId

public java.lang.Integer getSiteNodeId()

setSiteNodeId

public void setSiteNodeId(java.lang.Integer siteNodeId)

getSiteNodeVersionId

public java.lang.Integer getSiteNodeVersionId()

setSiteNodeVersionId

public void setSiteNodeVersionId(java.lang.Integer siteNodeVersionId)

getTitle

public java.lang.String getTitle()

setTitle

public void setTitle(java.lang.String title)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getIsBranch

public java.lang.Boolean getIsBranch()

setIsBranch

public void setIsBranch(java.lang.Boolean isBranch)

getToolbarKey

public java.lang.String getToolbarKey()

setToolbarKey

public void setToolbarKey(java.lang.String toolbarKey)

setUrl

public void setUrl(java.lang.String url)

getUrl

public java.lang.String getUrl()

getButtons

public java.util.List getButtons()

getServiceBindingId

public java.lang.Integer getServiceBindingId()

setServiceBindingId

public void setServiceBindingId(java.lang.Integer integer)