|
String | processSubmit (ModelMap model, @RequestParam(value="selected_page", required=false) String selectedPage, @RequestParam(value="logger", required=false) String logger, @RequestParam(value="level", required=false) String level, @RequestParam(value="startDate", required=false) String startDate, @RequestParam(value="startHour", required=false) String startHour, @RequestParam(value="startMinutes", required=false) String startMinutes, @RequestParam(value="startSeconds", required=false) String startSeconds, @RequestParam(value="endDate", required=false) String endDate, @RequestParam(value="endHour", required=false) String endHour, @RequestParam(value="endMinutes", required=false) String endMinutes, @RequestParam(value="endSeconds", required=false) String endSeconds, @RequestParam(value="phrase", required=false) String phrase) throws Exception |
|
String | setupForm (ModelMap model) throws Exception |
|
List< String > | getLevels () |
|
List< String > | getLoggers () |
|
int | getMessageBrowserScrollRange () |
|
int | getCurrentPage () |
|
void | setCurrentPage (int page) |
|
void | nextPage (LogParameter param) throws Exception |
|
void | previousPage () |
|
void | firstPage () |
|
void | lastPage (LogParameter param) throws Exception |
|
void | setLogManager (LogManager logManager) |
|
void | setConfigManager (ConfigurationManager configManager) |
|
|
LogParameter | createLogParameter (String logger, String level, String startDate, String startHour, String startMinutes, String startSeconds, String endDate, String endHour, String endMinutes, String endSeconds, String phrase) |
|
int[] | getPages (LogParameter param) throws Exception |
|
Implements functionality allowing to browse and search system messages.
- Author
- Maciej Szewczykowski | macie.nosp@m.j@ba.nosp@m.ltrad.nosp@m..eu
- Version
- 1.6.1
- Since
- 0.1.6
◆ firstPage()
void eu.baltrad.dex.log.controller.BrowseMessagesController.firstPage |
( |
| ) |
|
|
inline |
Sets page number to the first page.
◆ getCurrentPage()
int eu.baltrad.dex.log.controller.BrowseMessagesController.getCurrentPage |
( |
| ) |
|
|
inline |
Gets current page number.
- Returns
- Current page number
◆ getLevels()
List< String > eu.baltrad.dex.log.controller.BrowseMessagesController.getLevels |
( |
| ) |
|
|
inline |
Creates list of levels.
- Returns
- List of levels
◆ getLoggers()
List< String > eu.baltrad.dex.log.controller.BrowseMessagesController.getLoggers |
( |
| ) |
|
|
inline |
Creates list of loggers.
- Returns
- List of loggers
◆ getPages()
int[] eu.baltrad.dex.log.controller.BrowseMessagesController.getPages |
( |
LogParameter | param | ) |
throws Exception |
|
inlineprotected |
Get page numbers for a current set of entries.
- Parameters
-
- Returns
- Numbers of first, last and current page for a log parameter
◆ lastPage()
void eu.baltrad.dex.log.controller.BrowseMessagesController.lastPage |
( |
LogParameter | param | ) |
throws Exception |
|
inline |
Sets page number to the last page.
- Parameters
-
◆ nextPage()
void eu.baltrad.dex.log.controller.BrowseMessagesController.nextPage |
( |
LogParameter | param | ) |
throws Exception |
|
inline |
Sets page number to the next page number.
- Parameters
-
◆ previousPage()
void eu.baltrad.dex.log.controller.BrowseMessagesController.previousPage |
( |
| ) |
|
|
inline |
Sets page number to the previous page number.
◆ processSubmit()
String eu.baltrad.dex.log.controller.BrowseMessagesController.processSubmit |
( |
ModelMap | model, |
|
|
@RequestParam(value="selected_page", required=false) String | selectedPage, |
|
|
@RequestParam(value="logger", required=false) String | logger, |
|
|
@RequestParam(value="level", required=false) String | level, |
|
|
@RequestParam(value="startDate", required=false) String | startDate, |
|
|
@RequestParam(value="startHour", required=false) String | startHour, |
|
|
@RequestParam(value="startMinutes", required=false) String | startMinutes, |
|
|
@RequestParam(value="startSeconds", required=false) String | startSeconds, |
|
|
@RequestParam(value="endDate", required=false) String | endDate, |
|
|
@RequestParam(value="endHour", required=false) String | endHour, |
|
|
@RequestParam(value="endMinutes", required=false) String | endMinutes, |
|
|
@RequestParam(value="endSeconds", required=false) String | endSeconds, |
|
|
@RequestParam(value="phrase", required=false) String | phrase ) throws Exception |
|
inline |
Process form submission.
- Parameters
-
model | Model map |
selectedPage | Selected page |
logger | Logger name |
level | Message level |
startDate | Start date |
startHour | Start hour |
startMinutes | Start minutes |
startSeconds | Start seconds |
endDate | End date |
endHour | End hour |
endMinutes | End minutes |
endSeconds | End seconds |
phrase | Message phrase |
- Returns
- View name
◆ setConfigManager()
void eu.baltrad.dex.log.controller.BrowseMessagesController.setConfigManager |
( |
ConfigurationManager | configManager | ) |
|
|
inline |
- Parameters
-
configManager | the configManager to set |
◆ setCurrentPage()
void eu.baltrad.dex.log.controller.BrowseMessagesController.setCurrentPage |
( |
int | page | ) |
|
|
inline |
Sets current page number.
- Parameters
-
page | Current page number to set |
◆ setLogManager()
void eu.baltrad.dex.log.controller.BrowseMessagesController.setLogManager |
( |
LogManager | logManager | ) |
|
|
inline |
- Parameters
-
logManager | the logManager to set |
◆ setupForm()
String eu.baltrad.dex.log.controller.BrowseMessagesController.setupForm |
( |
ModelMap | model | ) |
throws Exception |
|
inline |
Set up form.
- Parameters
-
- Returns
- View name
◆ ENTRIES_PER_PAGE
final int eu.baltrad.dex.log.controller.BrowseMessagesController.ENTRIES_PER_PAGE = 20 |
|
static |
Number of log entries per page
◆ SCROLL_RANGE
final int eu.baltrad.dex.log.controller.BrowseMessagesController.SCROLL_RANGE = 11 |
|
static |
Number of pages in the scroll bar, must be an odd number >= 3
The documentation for this class was generated from the following file:
- src/java/eu/baltrad/dex/log/controller/BrowseMessagesController.java