Class CasesService
java.lang.Object
edu.suffolk.litlab.efsp.server.services.CasesService
-
Constructor Summary
ConstructorsConstructorDescriptionCasesService(TylerDomain domain, Supplier<LoginDatabase> ldSupplier, Supplier<CodeDatabase> cdSupplier) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.ResponsegetAll()jakarta.ws.rs.core.Responsejakarta.ws.rs.core.ResponsegetCaseList(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.Responsejakarta.ws.rs.core.ResponsegetDocument(jakarta.ws.rs.core.HttpHeaders httpHeaders, String courtId, String caseId) Tyler says that Getting document isn't supported.jakarta.ws.rs.core.ResponsegetEndpointsUnderCourt(String courtId) jakarta.ws.rs.core.ResponsegetServiceAttachCaseList(jakarta.ws.rs.core.HttpHeaders httpHeaders, String courtId, String serviceId) jakarta.ws.rs.core.ResponsegetServiceInformation(jakarta.ws.rs.core.HttpHeaders httpHeaders, String courtId, String caseId) jakarta.ws.rs.core.ResponsegetServiceInformationHistory(jakarta.ws.rs.core.HttpHeaders httpHeaders, String courtId, String caseId)
-
Constructor Details
-
CasesService
public CasesService(TylerDomain domain, Supplier<LoginDatabase> ldSupplier, 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.Should exither provide the docker_number, business name, or all parts of a participant's name.
- Returns:
- A list of cases.
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- An example of the JSON response from this endpoint.
- application/json classpath:examples/case_list_resp.json
-
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
-