BirthDataService

public class BirthDataService 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:
  • InvalidClientInputException
  • MissingParameterException
  • InvalidCertificateException
  • AccessDeniedException
  • IOException
  • InvalidTokenException
  • HttpNotFoundException
  • AccessRequiredException

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:
  • InvalidClientInputException
  • MissingParameterException
  • InvalidCertificateException
  • AccessDeniedException
  • IOException
  • InvalidTokenException
  • HttpNotFoundException
  • AccessRequiredException

requiredParameters

protected String[] requiredParameters()

setUseTimeintervallimit

public void setUseTimeintervallimit()