.. java:import:: com.fasterxml.jackson.databind ObjectMapper .. java:import:: com.fasterxml.jackson.dataformat.csv CsvMapper .. java:import:: dk.magenta.datafordeler.core.database SessionManager .. java:import:: dk.magenta.datafordeler.core.user DafoUserManager .. java:import:: dk.magenta.datafordeler.cpr CprPlugin .. java:import:: dk.magenta.datafordeler.cpr.data.person PersonEntity .. java:import:: dk.magenta.datafordeler.cpr.data.person PersonRecordQuery .. java:import:: dk.magenta.datafordeler.geo GeoLookupDTO .. java:import:: dk.magenta.datafordeler.geo GeoLookupService .. java:import:: dk.magenta.datafordeler.statistik.queries PersonDeathQuery .. java:import:: dk.magenta.datafordeler.statistik.utils Filter .. java:import:: org.apache.logging.log4j LogManager .. java:import:: org.apache.logging.log4j Logger .. java:import:: org.hibernate Session .. java:import:: org.springframework.beans.factory.annotation Autowired .. java:import:: org.springframework.web.bind.annotation RequestMapping .. java:import:: org.springframework.web.bind.annotation RequestMethod .. java:import:: org.springframework.web.bind.annotation RestController .. java:import:: javax.annotation PostConstruct .. java:import:: javax.servlet.http HttpServletRequest .. java:import:: javax.servlet.http HttpServletResponse .. java:import:: java.io IOException .. java:import:: java.time LocalDate .. java:import:: java.time LocalDateTime .. java:import:: java.time OffsetDateTime DeathDataService ================ .. java:package:: dk.magenta.datafordeler.statistik.services :noindex: .. java:type:: @RestController @RequestMapping public class DeathDataService extends PersonStatisticsService Fields ------ dafoUserManager ^^^^^^^^^^^^^^^ .. java:field:: @Autowired DafoUserManager dafoUserManager :outertype: DeathDataService objectMapper ^^^^^^^^^^^^ .. java:field:: @Autowired ObjectMapper objectMapper :outertype: DeathDataService sessionManager ^^^^^^^^^^^^^^ .. java:field:: @Autowired SessionManager sessionManager :outertype: DeathDataService Methods ------- formatPerson ^^^^^^^^^^^^ .. java:method:: @Override protected List> formatPerson(PersonEntity person, Session session, GeoLookupService lookupService, Filter filter) :outertype: DeathDataService formatPersonByRecord ^^^^^^^^^^^^^^^^^^^^ .. java:method:: protected Map formatPersonByRecord(PersonEntity person, Session session, GeoLookupService lookupService, Filter filter) :outertype: DeathDataService get ^^^ .. java:method:: @RequestMapping public void get(HttpServletRequest request, HttpServletResponse response) throws AccessDeniedException, AccessRequiredException, InvalidTokenException, InvalidClientInputException, IOException, HttpNotFoundException, MissingParameterException, InvalidCertificateException :outertype: DeathDataService Calls handlerequest in super with the ID of the report as a parameter :param request: :param response: :throws AccessDeniedException: :throws AccessRequiredException: :throws InvalidTokenException: :throws IOException: :throws MissingParameterException: :throws InvalidClientInputException: :throws HttpNotFoundException: :throws InvalidCertificateException: getColumnNames ^^^^^^^^^^^^^^ .. java:method:: @Override protected List getColumnNames() :outertype: DeathDataService getCprPlugin ^^^^^^^^^^^^ .. java:method:: @Override protected CprPlugin getCprPlugin() :outertype: DeathDataService getCsvMapper ^^^^^^^^^^^^ .. java:method:: @Override protected CsvMapper getCsvMapper() :outertype: DeathDataService getDafoUserManager ^^^^^^^^^^^^^^^^^^ .. java:method:: @Override protected DafoUserManager getDafoUserManager() :outertype: DeathDataService getLogger ^^^^^^^^^ .. java:method:: @Override protected Logger getLogger() :outertype: DeathDataService getQuery ^^^^^^^^ .. java:method:: @Override protected PersonRecordQuery getQuery(Filter filter) :outertype: DeathDataService getSessionManager ^^^^^^^^^^^^^^^^^ .. java:method:: @Override protected SessionManager getSessionManager() :outertype: DeathDataService handlePost ^^^^^^^^^^ .. java:method:: @RequestMapping public void handlePost(HttpServletRequest request, HttpServletResponse response) throws AccessDeniedException, AccessRequiredException, InvalidTokenException, IOException, MissingParameterException, InvalidClientInputException, HttpNotFoundException, InvalidCertificateException :outertype: DeathDataService Post is used for starting the generation of a report :param request: :param response: :throws AccessDeniedException: :throws AccessRequiredException: :throws InvalidTokenException: :throws IOException: :throws MissingParameterException: :throws InvalidClientInputException: :throws HttpNotFoundException: :throws InvalidCertificateException: requiredParameters ^^^^^^^^^^^^^^^^^^ .. java:method:: protected String[] requiredParameters() :outertype: DeathDataService setUseTimeintervallimit ^^^^^^^^^^^^^^^^^^^^^^^ .. java:method:: @PostConstruct public void setUseTimeintervallimit() :outertype: DeathDataService