org.infoglue.deliver.applications.actions
Class ViewDatabaseSettingsAction

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.deliver.applications.actions.ViewDatabaseSettingsAction
All Implemented Interfaces:
java.io.Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.ServletRequestAware, webwork.action.ServletResponseAware

public class ViewDatabaseSettingsAction
extends InfoGlueAbstractAction

This is the action that shows the application state and also can be used to set up surveilence. The idea is to have one command which allways returns a known resultpage if it's ok. Otherwise it prints an error-statement. This action is then called every x minutes by the surveilence and an alarm is raised if something is wrong. We also have a command which can list more status about the application.

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
ViewDatabaseSettingsAction()
           
 
Method Summary
 java.lang.String doExecute()
          Subclasses implement this
 java.lang.String doUpdate()
           
 java.util.Map getDatabases()
           
 java.lang.String getDatabasesXML()
           
 void setDatabasesXML(java.lang.String databasesXML)
           
 
Methods inherited from class org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction
beginTransaction, closeDatabase, closeTransaction, commitTransaction, encode, getAllowPublicationEventFilter, getAnonymousPrincipal, getCMSBaseUrl, getColorScheme, getComponentRendererAction, getComponentRendererUrl, getCurrentURL, getDisableCustomIcons, getDisableImageEditor, getEnableDateTimeDirectEditing, getInfoGluePrincipal, getLanguageCode, getLocale, 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

ViewDatabaseSettingsAction

public ViewDatabaseSettingsAction()
Method Detail

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

doUpdate

public java.lang.String doUpdate()
                          throws java.lang.Exception
Throws:
java.lang.Exception

getDatabasesXML

public java.lang.String getDatabasesXML()

setDatabasesXML

public void setDatabasesXML(java.lang.String databasesXML)

getDatabases

public java.util.Map getDatabases()


Copyright © 2005 InfoGlue.org All Rights Reserved.