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

java.lang.Object
  |
  +--org.infoglue.cms.applications.common.actions.WebworkAbstractAction
        |
        +--org.infoglue.cms.applications.cmstool.actions.ViewCMSAbstractToolAction
All Implemented Interfaces:
webwork.action.Action, webwork.action.CommandDriven, java.io.Serializable, webwork.action.ServletRequestAware, webwork.action.ServletResponseAware
Direct Known Subclasses:
ViewContentToolAction, ViewStructureToolAction

public abstract class ViewCMSAbstractToolAction
extends WebworkAbstractAction

This class implements the base class for a tool.

Author:
Mattias Bogeblad
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
ViewCMSAbstractToolAction()
           
 
Method Summary
 java.lang.Integer getRepositoryId()
          This method gets the repositoryId and if it'n not available we check first id it's located in the Session.
 void setRepositoryId(java.lang.Integer repositoryId)
           
 
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

ViewCMSAbstractToolAction

public ViewCMSAbstractToolAction()
Method Detail

setRepositoryId

public void setRepositoryId(java.lang.Integer repositoryId)

getRepositoryId

public java.lang.Integer getRepositoryId()
This method gets the repositoryId and if it'n not available we check first id it's located in the Session. If not we take the master repositoryId and also defaults it to that in the session.