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

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

public class ViewStructureToolMenuAction
extends InfoGlueAbstractAction

This class implements the action class for the menu 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
ViewStructureToolMenuAction()
           
 
Method Summary
 java.lang.String doExecute()
           
 LanguageVO getMasterLanguageVO()
           
 java.lang.Integer getRepositoryId()
           
 java.lang.String getShowComponentsFirst()
           
 java.lang.String getTree()
          Returns the tree.
 void setRepositoryId(java.lang.Integer repositoryId)
           
 void setTree(java.lang.String tree)
          Sets the tree.
 
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

ViewStructureToolMenuAction

public ViewStructureToolMenuAction()
Method Detail

setRepositoryId

public void setRepositoryId(java.lang.Integer repositoryId)

getRepositoryId

public java.lang.Integer getRepositoryId()

doExecute

public java.lang.String doExecute()
                           throws java.lang.Exception
Overrides:
doExecute in class WebworkAbstractAction
java.lang.Exception

getTree

public java.lang.String getTree()
Returns the tree.

Returns:
String

setTree

public void setTree(java.lang.String tree)
Sets the tree.

Parameters:
tree - The tree to set

getShowComponentsFirst

public java.lang.String getShowComponentsFirst()

getMasterLanguageVO

public LanguageVO getMasterLanguageVO()
                               throws java.lang.Exception
java.lang.Exception