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

java.lang.Object
  |
  +--org.infoglue.cms.applications.common.actions.WebworkAbstractAction
        |
        +--org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction
              |
              +--org.infoglue.cms.applications.managementtool.actions.ViewRepositoryAction
All Implemented Interfaces:
webwork.action.Action, webwork.action.CommandDriven, java.io.Serializable, 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 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()
           
 void setRepositoryId(java.lang.Integer repositoryId)
           
 
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, getUserName, 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

ViewRepositoryAction

public ViewRepositoryAction()

ViewRepositoryAction

public ViewRepositoryAction(RepositoryVO repositoryVO)
Method Detail

doExecute

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

Overrides:
doExecute in class WebworkAbstractAction
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

java.lang.Exception

getRepositoryId

public java.lang.Integer getRepositoryId()

setRepositoryId

public void setRepositoryId(java.lang.Integer repositoryId)
                     throws java.lang.Exception
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
java.lang.Exception