org.infoglue.cms.applications.common.actions
Class TreeViewAbstractAction

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.common.actions.TreeViewAbstractAction
All Implemented Interfaces:
java.io.Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.ServletRequestAware, webwork.action.ServletResponseAware
Direct Known Subclasses:
ViewCategoryTreeAction, ViewContentToolMenuHtmlAction, ViewManagementToolMenuHtmlAction, ViewStructureToolMenuHtmlAction

public abstract class TreeViewAbstractAction
extends InfoGlueAbstractAction

Author:
Stefan Sik
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
TreeViewAbstractAction()
           
 
Method Summary
 java.lang.String doExecute()
          Subclasses implement this
 java.lang.String getAkey()
          Returns the akey.
 java.lang.String getExp()
          Returns the expStr.
 java.util.Collection getNodes()
           
protected abstract  com.frovi.ss.Tree.INodeSupplier getNodeSupplier()
           
 java.lang.String getRkey()
          Returns the rkey.
protected  java.util.Collection initialize(java.lang.String expString)
           
 void setAkey(java.lang.String akey)
          Sets the akey.
 void setExp(java.lang.String expStr)
          Sets the expStr.
protected  void setNodes(java.util.Collection nodes)
          Sets the nodes.
 void setRkey(java.lang.String rkey)
          Sets the rkey.
 
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

TreeViewAbstractAction

public TreeViewAbstractAction()
Method Detail

getNodeSupplier

protected abstract com.frovi.ss.Tree.INodeSupplier getNodeSupplier()
                                                            throws java.lang.Exception
Throws:
java.lang.Exception

initialize

protected java.util.Collection initialize(java.lang.String expString)
                                   throws java.lang.Exception
Throws:
java.lang.Exception

doExecute

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

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

setNodes

protected void setNodes(java.util.Collection nodes)
Sets the nodes.

Parameters:
nodes - The nodes to set

getNodes

public java.util.Collection getNodes()
                              throws java.lang.Exception
Throws:
java.lang.Exception

getExp

public java.lang.String getExp()
Returns the expStr.

Returns:
String

setExp

public void setExp(java.lang.String expStr)
Sets the expStr.

Parameters:
expStr - The expStr to set

getAkey

public java.lang.String getAkey()
Returns the akey.

Returns:
String

getRkey

public java.lang.String getRkey()
Returns the rkey.

Returns:
String

setAkey

public void setAkey(java.lang.String akey)
Sets the akey.

Parameters:
akey - The akey to set

setRkey

public void setRkey(java.lang.String rkey)
Sets the rkey.

Parameters:
rkey - The rkey to set


Copyright © 2005 InfoGlue.org All Rights Reserved.