StatusDataService

public class StatusDataService extends PersonStatisticsService

Fields

objectMapper

ObjectMapper objectMapper

sessionManager

SessionManager sessionManager

Methods

formatPerson

protected List<Map<String, String>> formatPerson(PersonEntity person, Session session, GeoLookupService lookupService, Filter filter)

formatPersonByRecord

protected Map<String, String> formatPersonByRecord(PersonEntity person, Session session, GeoLookupService lookupService, Filter filter)

get

public void get(HttpServletRequest request, HttpServletResponse response)

Calls handlerequest in super with the ID of the report as a parameter

Parametre:
  • request
  • response
Kaster:
  • AccessDeniedException
  • AccessRequiredException
  • InvalidTokenException
  • IOException
  • MissingParameterException
  • InvalidClientInputException
  • HttpNotFoundException
  • InvalidCertificateException

getColumnNames

protected List<String> getColumnNames()

getCprPlugin

protected CprPlugin getCprPlugin()

getCsvMapper

protected CsvMapper getCsvMapper()

getDafoUserManager

protected DafoUserManager getDafoUserManager()

getLogger

protected Logger getLogger()

getQuery

protected PersonRecordQuery getQuery(Filter filter)

getSessionManager

protected SessionManager getSessionManager()

handlePost

public void handlePost(HttpServletRequest request, HttpServletResponse response)

Post is used for starting the generation of a report

Parametre:
  • request
  • response
Kaster:
  • AccessDeniedException
  • AccessRequiredException
  • InvalidTokenException
  • IOException
  • MissingParameterException
  • InvalidClientInputException
  • HttpNotFoundException
  • InvalidCertificateException

requiredParameters

protected String[] requiredParameters()