CvrRecordService
-
public class
CvrRecordService
Fields
END_OBJECT
-
protected static final byte[]
END_OBJECT
OBJECT_SEPARATOR
-
protected static final byte[]
OBJECT_SEPARATOR
PARAM_CVR_NUMBER
-
public static final String
PARAM_CVR_NUMBER
PARAM_RETURN_PARTICIPANT_DETAILS
-
public static final String
PARAM_RETURN_PARTICIPANT_DETAILS
PARAM_UPDATED_SINCE
-
public static final String
PARAM_UPDATED_SINCE
START_OBJECT
-
protected static final byte[]
START_OBJECT
monitorService
-
protected MonitorService
monitorService
objectMapper
-
ObjectMapper
objectMapper
postcodePattern
-
Pattern
postcodePattern
sessionManager
-
SessionManager
sessionManager
Methods
applyAreaRestrictionsToQuery
-
protected void
applyAreaRestrictionsToQuery
(CompanyRecordQuery query, DafoUserDetails user)
checkAndLogAccess
-
protected void
checkAndLogAccess
(LoggerHelper loggerHelper, boolean includeCpr)
getCompanies
-
protected Collection<CompanyRecord>
getCompanies
(Session session, Collection<String> cvrNumbers, DafoUserDetails user)
getCvrNumber
-
protected List<String>
getCvrNumber
(JsonNode node)
getParticipants
-
protected ArrayNode
getParticipants
(CompanyRecord record)
isEnableDirectLookup
-
public boolean
isEnableDirectLookup
()
isEnableGerLookup
-
public boolean
isEnableGerLookup
()
setEnableDirectLookup
-
public void
setEnableDirectLookup
(boolean enableDirectLookup)
setEnableGerLookup
-
public void
setEnableGerLookup
(boolean enableGerLookup)
wrapGerCompany
-
protected ObjectNode
wrapGerCompany
(CompanyEntity entity, GeoLookupService lookupService, boolean returnParticipantDetails)
wrapRecord
-
protected ObjectNode
wrapRecord
(CompanyRecord record, GeoLookupService lookupService, boolean returnParticipantDetails)