.. java:import:: dk.magenta.datafordeler.core MonitorService .. java:import:: dk.magenta.datafordeler.core.arearestriction AreaRestriction .. java:import:: dk.magenta.datafordeler.core.arearestriction AreaRestrictionType .. java:import:: dk.magenta.datafordeler.core.fapi FapiBaseService .. java:import:: dk.magenta.datafordeler.core.fapi ResultSet .. java:import:: dk.magenta.datafordeler.core.plugin AreaRestrictionDefinition .. java:import:: dk.magenta.datafordeler.core.plugin Plugin .. java:import:: dk.magenta.datafordeler.core.user DafoUserDetails .. java:import:: dk.magenta.datafordeler.cvr CvrPlugin .. java:import:: dk.magenta.datafordeler.cvr DirectLookup .. java:import:: dk.magenta.datafordeler.cvr.access CvrAccessChecker .. java:import:: dk.magenta.datafordeler.cvr.access CvrAreaRestrictionDefinition .. java:import:: dk.magenta.datafordeler.cvr.access CvrRolesDefinition .. java:import:: dk.magenta.datafordeler.cvr.output ParticipantRecordOutputWrapper .. java:import:: dk.magenta.datafordeler.cvr.query ParticipantRecordQuery .. java:import:: dk.magenta.datafordeler.cvr.records ParticipantRecord .. 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 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.net URISyntaxException .. java:import:: java.security GeneralSecurityException .. java:import:: java.util ArrayList .. java:import:: java.util Collection .. java:import:: java.util HashSet .. java:import:: java.util List .. java:import:: java.util.stream Collectors .. java:import:: java.util.stream Stream ParticipantRecordService ======================== .. java:package:: dk.magenta.datafordeler.cvr.service :noindex: .. java:type:: @RestController @RequestMapping public class ParticipantRecordService extends FapiBaseService Constructors ------------ ParticipantRecordService ^^^^^^^^^^^^^^^^^^^^^^^^ .. java:constructor:: public ParticipantRecordService() :outertype: ParticipantRecordService Methods ------- applyAreaRestrictionsToQuery ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. java:method:: protected void applyAreaRestrictionsToQuery(ParticipantRecordQuery query, DafoUserDetails user) throws InvalidClientInputException :outertype: ParticipantRecordService checkAccess ^^^^^^^^^^^ .. java:method:: @Override protected void checkAccess(DafoUserDetails dafoUserDetails) throws AccessDeniedException, AccessRequiredException :outertype: ParticipantRecordService getDomain ^^^^^^^^^ .. java:method:: public static String getDomain() :outertype: ParticipantRecordService getEmptyQuery ^^^^^^^^^^^^^ .. java:method:: @Override protected ParticipantRecordQuery getEmptyQuery() :outertype: ParticipantRecordService getEntityClass ^^^^^^^^^^^^^^ .. java:method:: @Override protected Class getEntityClass() :outertype: ParticipantRecordService getPlugin ^^^^^^^^^ .. java:method:: @Override public Plugin getPlugin() :outertype: ParticipantRecordService getServiceName ^^^^^^^^^^^^^^ .. java:method:: @Override public String getServiceName() :outertype: ParticipantRecordService getVersion ^^^^^^^^^^ .. java:method:: @Override public int getVersion() :outertype: ParticipantRecordService init ^^^^ .. java:method:: @PostConstruct public void init() :outertype: ParticipantRecordService searchByQuery ^^^^^^^^^^^^^ .. java:method:: @Override public List> searchByQuery(ParticipantRecordQuery query, Session session) :outertype: ParticipantRecordService sendAsCSV ^^^^^^^^^ .. java:method:: @Override protected void sendAsCSV(Stream entities, HttpServletRequest request, HttpServletResponse response) throws IOException, HttpNotFoundException :outertype: ParticipantRecordService