org.infoglue.cms.applications.contenttool.actions
Class ViewContentTreeAction

java.lang.Object
  extended by org.infoglue.cms.applications.common.actions.WebworkAbstractAction
      extended by org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction
          extended by org.infoglue.cms.applications.contenttool.actions.ViewContentTreeAction
All Implemented Interfaces:
java.io.Serializable, ViewContentTreeActionInterface, webwork.action.Action, webwork.action.CommandDriven, webwork.action.ServletRequestAware, webwork.action.ServletResponseAware

public class ViewContentTreeAction
extends InfoGlueAbstractAction
implements ViewContentTreeActionInterface

This class implements the action class for the menu in the content tool.

Author:
Mattias Bogeblad
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction
colorScheme
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
ViewContentTreeAction()
           
 
Method Summary
 java.lang.String doExecute()
          Subclasses implement this
 java.lang.String getBodyClass()
           
 java.lang.Integer getContentId()
           
 java.lang.String getHideLeafs()
           
 java.lang.Integer getRepositoryId()
           
 java.lang.String getTree()
          Returns the tree.
 void setBodyClass(java.lang.String bodyClass)
           
 void setContentId(java.lang.Integer contentId)
           
 void setHideLeafs(java.lang.String hideLeafs)
           
 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, 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
 

Constructor Detail

ViewContentTreeAction

public ViewContentTreeAction()
Method Detail

setRepositoryId

public void setRepositoryId(java.lang.Integer repositoryId)
Specified by:
setRepositoryId in interface ViewContentTreeActionInterface

getRepositoryId

public java.lang.Integer getRepositoryId()
Specified by:
getRepositoryId in interface ViewContentTreeActionInterface

setContentId

public void setContentId(java.lang.Integer contentId)
Specified by:
setContentId in interface ViewContentTreeActionInterface

getContentId

public java.lang.Integer getContentId()
Specified by:
getContentId in interface ViewContentTreeActionInterface

setHideLeafs

public void setHideLeafs(java.lang.String hideLeafs)
Specified by:
setHideLeafs in interface ViewContentTreeActionInterface

getHideLeafs

public java.lang.String getHideLeafs()
Specified by:
getHideLeafs in interface ViewContentTreeActionInterface

doExecute

public java.lang.String doExecute()
                           throws java.lang.Exception
Description copied from class: WebworkAbstractAction
Subclasses implement this

Specified by:
doExecute in interface ViewContentTreeActionInterface
Specified by:
doExecute in class WebworkAbstractAction
Throws:
java.lang.Exception

getTree

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

Specified by:
getTree in interface ViewContentTreeActionInterface
Returns:
String

setTree

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

Specified by:
setTree in interface ViewContentTreeActionInterface
Parameters:
tree - The tree to set

getBodyClass

public java.lang.String getBodyClass()

setBodyClass

public void setBodyClass(java.lang.String bodyClass)


Copyright © 2005 InfoGlue.org All Rights Reserved.