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

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.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

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
ViewLoggingAction()
           
 
Method Summary
 java.lang.String doExecute()
          Subclasses implement this
 java.lang.String getFileSize(long size)
           
 java.lang.String getLastModifiedDateString(long lastModified)
           
 java.lang.String getLogFileName()
           
 java.util.List getLogFiles()
           
 java.lang.String getLogFragment()
           
 int getLogLines()
           
 void setLogFileName(java.lang.String logFileName)
           
 void setLogLines(int logLines)
           
 
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

ViewLoggingAction

public ViewLoggingAction()
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

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.