org.infoglue.cms.applications.managementtool.actions
Class ViewRepositoryAction

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.managementtool.actions.ViewRepositoryAction
All Implemented Interfaces:
java.io.Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.ServletRequestAware, webwork.action.ServletResponseAware
Direct Known Subclasses:
UpdateRepositoryAction, ViewRepositoryOverviewAction

public class ViewRepositoryAction
extends InfoGlueAbstractAction

This class implements the action class for viewRepository. The use-case lets the user see all information about a specific site/repository.

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
ViewRepositoryAction()
           
ViewRepositoryAction(RepositoryVO repositoryVO)
           
 
Method Summary
 java.lang.String doExecute()
          The main method that fetches the Value-object for this use-case
 java.lang.String doLocalView()
          The main method that fetches the Value-object for this use-case
 java.util.List getAllRemainingLanguageVOList()
           
 java.lang.String getDescription()
           
 java.lang.String getDnsName()
           
 LanguageVO getLanguage(java.lang.Integer repositoryLanguageId)
           
 java.lang.String getName()
           
 java.lang.Integer getRepositoryId()
           
 java.util.List getRepositoryLanguageVOList()
           
protected  void initialize(java.lang.Integer repositoryId)
           
 void setRepositoryId(java.lang.Integer repositoryId)
           
 
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

ViewRepositoryAction

public ViewRepositoryAction()

ViewRepositoryAction

public ViewRepositoryAction(RepositoryVO repositoryVO)
Method Detail

initialize

protected void initialize(java.lang.Integer repositoryId)
                   throws java.lang.Exception
Throws:
java.lang.Exception

doExecute

public java.lang.String doExecute()
                           throws java.lang.Exception
The main method that fetches the Value-object for this use-case

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

doLocalView

public java.lang.String doLocalView()
                             throws java.lang.Exception
The main method that fetches the Value-object for this use-case

Throws:
java.lang.Exception

getRepositoryId

public java.lang.Integer getRepositoryId()

setRepositoryId

public void setRepositoryId(java.lang.Integer repositoryId)
                     throws java.lang.Exception
Throws:
java.lang.Exception

getName

public java.lang.String getName()

getDescription

public java.lang.String getDescription()

getDnsName

public java.lang.String getDnsName()

getAllRemainingLanguageVOList

public java.util.List getAllRemainingLanguageVOList()

getRepositoryLanguageVOList

public java.util.List getRepositoryLanguageVOList()

getLanguage

public LanguageVO getLanguage(java.lang.Integer repositoryLanguageId)
                       throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2005 InfoGlue.org All Rights Reserved.