org.infoglue.cms.applications.managementtool
Class InstallationValidatorAction
java.lang.Object
org.infoglue.cms.applications.common.actions.WebworkAbstractAction
org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction
org.infoglue.cms.applications.managementtool.InstallationValidatorAction
- All Implemented Interfaces:
- java.io.Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.ServletRequestAware, webwork.action.ServletResponseAware
public class InstallationValidatorAction
- extends InfoGlueAbstractAction
- Author:
- Mattias Bogeblad
This is a class responsible for doing basic system controls. It will check that the different parts of the system
works as it should after installation.
- See Also:
- Serialized Form
| Fields inherited from interface webwork.action.Action |
ERROR, INPUT, LOGIN, NONE, SUCCESS |
| 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 |
InstallationValidatorAction
public InstallationValidatorAction()
doInput
public java.lang.String doInput()
- Just returns the input screen.
doExecute
public java.lang.String doExecute()
throws java.lang.Exception
- This method does all the tests. Here follows a list of what it tries to do:
1. Insert a content, content version and a digital asset to the db.
2. Read all the items created in 1.
3. Dump the digital asset to file to ensure asset handling.
4. Delete the items created in 1.
5. Validate that the correct content types are available as well as other system settings.
6. Validate all the tables and check so all entities can be written/read/updated/deleted.
7. Print system settings?
8. Check that indexes are in place.
- Specified by:
doExecute in class WebworkAbstractAction
- Throws:
java.lang.Exception
getValidateDB
public java.lang.Boolean getValidateDB()
setValidateDB
public void setValidateDB(java.lang.Boolean validateDB)
getValidateEntities
public java.lang.Boolean getValidateEntities()
setValidateEntities
public void setValidateEntities(java.lang.Boolean validateEntities)
getValidateFileSystem
public java.lang.Boolean getValidateFileSystem()
setValidateFileSystem
public void setValidateFileSystem(java.lang.Boolean validateFileSystem)
getValidateSystemSettings
public java.lang.Boolean getValidateSystemSettings()
setValidateSystemSettings
public void setValidateSystemSettings(java.lang.Boolean validateSystemSettings)
getValidatedItems
public java.util.List getValidatedItems()
Copyright © 2005 InfoGlue.org All Rights Reserved.