org.infoglue.cms.applications.cmstool.actions
Class ViewCMSToolHeaderAction

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

public class ViewCMSToolHeaderAction
extends InfoGlueAbstractAction

This class implements the action class for the base fram for the entire tool.

Author:
Mattias Bogeblad
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
ViewCMSToolHeaderAction()
           
 
Method Summary
 java.lang.String doExecute()
           
 java.lang.Integer getToolId()
           
 java.util.List getToolLocales()
           
 java.lang.String getUserName()
          Get the username for the currently logged in user
 void setToolId(java.lang.Integer toolId)
           
 
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, 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

ViewCMSToolHeaderAction

public ViewCMSToolHeaderAction()
Method Detail

setToolId

public void setToolId(java.lang.Integer toolId)

getToolId

public java.lang.Integer getToolId()

getUserName

public java.lang.String getUserName()
Description copied from class: InfoGlueAbstractAction
Get the username for the currently logged in user

Overrides:
getUserName in class InfoGlueAbstractAction

getToolLocales

public java.util.List getToolLocales()

doExecute

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