org.ikasan.framework.web.controller
Class ErrorLogController

java.lang.Object
  extended by org.ikasan.framework.web.controller.ErrorLogController

@Controller
@RequestMapping(value="/admin/errors/*.htm")
public class ErrorLogController
extends Object

Controller class for the error log

Author:
Ikasan Development Team

Constructor Summary
ErrorLogController(ErrorLoggingService errorLoggingService, ExcludedEventService excludedEventService)
           
 
Method Summary
 String listErrors(String moduleName, String flowName, javax.servlet.http.HttpServletRequest request, Integer page, String orderBy, Boolean orderAsc, org.springframework.ui.ModelMap model)
          List all errorOccurrences
 String view(long errorId, String searchResultsUrl, org.springframework.ui.ModelMap model)
          Display ErrorOccurrence
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorLogController

public ErrorLogController(ErrorLoggingService errorLoggingService,
                          ExcludedEventService excludedEventService)
Parameters:
errorLoggingService -
Method Detail

listErrors

@RequestMapping(value="list.htm")
public String listErrors(@RequestParam(required=false)
                                        String moduleName,
                                        @RequestParam(required=false)
                                        String flowName,
                                        javax.servlet.http.HttpServletRequest request,
                                        @RequestParam(required=false)
                                        Integer page,
                                        @RequestParam(required=false)
                                        String orderBy,
                                        @RequestParam(required=false)
                                        Boolean orderAsc,
                                        org.springframework.ui.ModelMap model)
List all errorOccurrences

Parameters:
model - - The model (map)
Returns:
errors view

view

@RequestMapping(value="viewError.htm")
public String view(@RequestParam
                                  long errorId,
                                  @RequestParam(required=false)
                                  String searchResultsUrl,
                                  org.springframework.ui.ModelMap model)
Display ErrorOccurrence

Parameters:
model - - The model (map)
Returns:
errors view


Copyright © 2007-2011 Ikasan. All Rights Reserved.