info.magnolia.module.admininterface.pages
Class LogViewerPage
java.lang.Object
info.magnolia.cms.servlets.MVCServletHandlerImpl
info.magnolia.cms.servlets.CommandBasedMVCServletHandler
info.magnolia.module.admininterface.PageMVCHandler
info.magnolia.module.admininterface.TemplatedMVCHandler
info.magnolia.module.admininterface.pages.LogViewerPage
- All Implemented Interfaces:
- info.magnolia.cms.servlets.MVCServletHandler
public class LogViewerPage
- extends TemplatedMVCHandler
Fields inherited from class info.magnolia.cms.servlets.MVCServletHandlerImpl |
exception, request, response, VIEW_ERROR, VIEW_SUCCESS |
Fields inherited from interface info.magnolia.cms.servlets.MVCServletHandler |
VIEW_NOTHING |
Constructor Summary |
LogViewerPage(String name,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
Methods inherited from class info.magnolia.cms.servlets.CommandBasedMVCServletHandler |
execute, findCommand, getCatalogueName, getCommandContext, getViewNameAfterExecution, setCatalogueName |
Methods inherited from class info.magnolia.cms.servlets.MVCServletHandlerImpl |
getCommand, getException, getExceptionStackTrace, getName, getRequest, getResponse, populateFromRequest, setCommand, setRequest, setResponse |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOGS_FOLDER_PROPERTY
public static final String LOGS_FOLDER_PROPERTY
- See Also:
- Constant Field Values
LogViewerPage
public LogViewerPage(String name,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
getLogFiles
public Collection getLogFiles()
- the content of the select
- Returns:
refresh
public String refresh()
next
public String next()
previous
public String previous()
begin
public String begin()
end
public String end()
download
public String download()
throws FileNotFoundException
- Throws:
FileNotFoundException
displayFileContent
public String displayFileContent()
getFileName
public String getFileName()
setFileName
public void setFileName(String fileName)
getNamesList
public Collection getNamesList()
getText
public String getText()
getCurrentPosition
public long getCurrentPosition()
setCurrentPosition
public void setCurrentPosition(long currentPosition)
getFileSizeInLines
public long getFileSizeInLines()
setFileSizeInLines
public void setFileSizeInLines(long fileSizeInLines)
getPageNumber
public long getPageNumber()
getTotalPages
public long getTotalPages()
getMaxNumLinesPerPage
public long getMaxNumLinesPerPage()
setMaxNumLinesPerPage
public void setMaxNumLinesPerPage(long maxNumLinesPerPage)
- Sets new maximum value in the range <1, LONG_MAX>. 0 or negative values are ignored.
- Parameters:
maxNumLinesPerPage
-
Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.