org.infoglue.cms.applications.managementtool.actions
Class ViewLoggingAction
java.lang.Object
org.infoglue.cms.applications.common.actions.WebworkAbstractAction
org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction
org.infoglue.cms.applications.managementtool.actions.ViewLoggingAction
- All Implemented Interfaces:
- java.io.Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.ServletRequestAware, webwork.action.ServletResponseAware
public class ViewLoggingAction
- extends InfoGlueAbstractAction
This class acts as a system tail on the logfiles available.
- Author:
- Mattias Bogeblad
- 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, 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 |
ViewLoggingAction
public ViewLoggingAction()
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
getLogFragment
public java.lang.String getLogFragment()
getLogFiles
public java.util.List getLogFiles()
getLogLines
public int getLogLines()
setLogLines
public void setLogLines(int logLines)
getLogFileName
public java.lang.String getLogFileName()
setLogFileName
public void setLogFileName(java.lang.String logFileName)
getLastModifiedDateString
public java.lang.String getLastModifiedDateString(long lastModified)
getFileSize
public java.lang.String getFileSize(long size)
Copyright © 2005 InfoGlue.org All Rights Reserved.