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:
- MVCServletHandler
public class LogViewerPage
- extends TemplatedMVCHandler
Constructor Summary |
LogViewerPage(java.lang.String name,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LogViewerPage
public LogViewerPage(java.lang.String name,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
getLogFiles
public java.util.Collection getLogFiles()
- the content of the select
- Returns:
refresh
public java.lang.String refresh()
next
public java.lang.String next()
previous
public java.lang.String previous()
begin
public java.lang.String begin()
end
public java.lang.String end()
download
public java.lang.String download()
throws java.io.FileNotFoundException
- Throws:
java.io.FileNotFoundException
displayFileContent
public java.lang.String displayFileContent()
getFileName
public java.lang.String getFileName()
setFileName
public void setFileName(java.lang.String fileName)
getNamesList
public java.util.Collection getNamesList()
getText
public java.lang.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-2011 Magnolia International Ltd.. All Rights Reserved.