Class CasesService
java.lang.Object
edu.suffolk.litlab.efspserver.services.CasesService
-
Constructor Summary
ConstructorsConstructorDescriptionCasesService
(String jurisdiction, String env, DataSource userDs, Supplier<CodeDatabase> cdSupplier) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
getAll()
jakarta.ws.rs.core.Response
jakarta.ws.rs.core.Response
getCaseList
(jakarta.ws.rs.core.HttpHeaders httpHeaders, String courtId, String docketId, String businessName, String firstName, String middleName, String lastName) Gets all possible cases associated with either a party's name or a docket number.jakarta.ws.rs.core.Response
jakarta.ws.rs.core.Response
getDocument
(jakarta.ws.rs.core.HttpHeaders httpHeaders, String courtId, String caseId) Tyler says that Getting document isn't supported.jakarta.ws.rs.core.Response
getEndpointsUnderCourt
(String courtId) jakarta.ws.rs.core.Response
getServiceAttachCaseList
(jakarta.ws.rs.core.HttpHeaders httpHeaders, String courtId, String serviceId) jakarta.ws.rs.core.Response
getServiceInformation
(jakarta.ws.rs.core.HttpHeaders httpHeaders, String courtId, String caseId) jakarta.ws.rs.core.Response
getServiceInformationHistory
(jakarta.ws.rs.core.HttpHeaders httpHeaders, String courtId, String caseId)
-
Constructor Details
-
CasesService
public CasesService(String jurisdiction, String env, DataSource userDs, Supplier<CodeDatabase> cdSupplier)
-
-
Method Details
-
getAll
@GET @Path("/") public jakarta.ws.rs.core.Response getAll() -
getCourts
@GET @Path("/courts") public jakarta.ws.rs.core.Response getCourts() -
getEndpointsUnderCourt
@GET @Path("/courts/{court_id}") public jakarta.ws.rs.core.Response getEndpointsUnderCourt(@PathParam("court_id") String courtId) -
getCaseList
@GET @Path("/courts/{court_id}/cases") public jakarta.ws.rs.core.Response getCaseList(@Context jakarta.ws.rs.core.HttpHeaders httpHeaders, @PathParam("court_id") String courtId, @QueryParam("docket_number") String docketId, @QueryParam("business_name") String businessName, @QueryParam("first_name") String firstName, @QueryParam("middle_name") String middleName, @QueryParam("last_name") String lastName) throws com.fasterxml.jackson.core.JsonProcessingException Gets all possible cases associated with either a party's name or a docket number.- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
getCase
-
getDocument
@GET @Path("/courts/{court_id}/cases/{case_tracking_id}/documents") public jakarta.ws.rs.core.Response getDocument(@Context jakarta.ws.rs.core.HttpHeaders httpHeaders, @PathParam("court_id") String courtId, @PathParam("case_tracking_id") String caseId) Tyler says that Getting document isn't supported. This is here to make that clear to users.- Parameters:
httpHeaders
-courtId
-caseId
-- Returns:
-
getServiceAttachCaseList
-
getServiceInformation
-
getServiceInformationHistory
-