Class EcfCodesService

java.lang.Object
edu.suffolk.litlab.efspserver.services.CodesService
edu.suffolk.litlab.efspserver.tyler.codes.EcfCodesService

public class EcfCodesService extends CodesService
  • Constructor Details

  • Method Details

    • getAll

      public jakarta.ws.rs.core.Response getAll()
      Specified by:
      getAll in class CodesService
    • getCourts

      public jakarta.ws.rs.core.Response getCourts(jakarta.ws.rs.core.HttpHeaders httpHeaders, boolean fileableOnly, boolean withNames)
      Specified by:
      getCourts in class CodesService
    • getCodesUnderCourt

      public jakarta.ws.rs.core.Response getCodesUnderCourt(String courtId)
      Specified by:
      getCodesUnderCourt in class CodesService
    • getCourtLocationCodes

      public jakarta.ws.rs.core.Response getCourtLocationCodes(String courtId)
      Specified by:
      getCourtLocationCodes in class CodesService
    • getCodesUnderCaseType

      @GET @Path("/courts/{court_id}/case_types/{case_type_id}") public jakarta.ws.rs.core.Response getCodesUnderCaseType(@PathParam("court_id") String courtId, @PathParam("case_type_id") String caseTypeId) throws SQLException
      Throws:
      SQLException
    • getCodesUnderFilingTypes

      @GET @Path("/courts/{court_id}/filing_types/{filing_code_id}") public jakarta.ws.rs.core.Response getCodesUnderFilingTypes(@PathParam("court_id") String courtId, @PathParam("filing_code_id") String filingCode) throws SQLException
      Throws:
      SQLException
    • searchCategories

      @GET @Path("/categories") public jakarta.ws.rs.core.Response searchCategories(@QueryParam("search") String searchTerm) throws SQLException
      Throws:
      SQLException
    • retrieveCategories

      @GET @Path("/categories/{retrieve_name}") public jakarta.ws.rs.core.Response retrieveCategories(@PathParam("retrieve_name") String retrieveName) throws SQLException
      Throws:
      SQLException
    • searchCaseTypes

      @GET @Path("/case_types") public jakarta.ws.rs.core.Response searchCaseTypes(@QueryParam("search") String searchTerm) throws SQLException
      Throws:
      SQLException
    • retrieveCaseTypes

      @GET @Path("/case_types/{retrieve_name}") public jakarta.ws.rs.core.Response retrieveCaseTypes(@PathParam("retrieve_name") String retrieveName) throws SQLException
      Throws:
      SQLException
    • searchFilingTypes

      @GET @Path("/filing_types") public jakarta.ws.rs.core.Response searchFilingTypes(@QueryParam("search") String searchTerm) throws SQLException
      Throws:
      SQLException
    • retrieveFilingTypes

      @GET @Path("/filing_types/{retrieve_name}") public jakarta.ws.rs.core.Response retrieveFilingTypes(@PathParam("retrieve_name") String retrieveName) throws SQLException
      Throws:
      SQLException
    • searchPartyTypes

      @GET @Path("/party_types") public jakarta.ws.rs.core.Response searchPartyTypes(@QueryParam("search") String searchTerm) throws SQLException
      Throws:
      SQLException
    • retrievePartyTypes

      @GET @Path("/party_types/{retrieve_name}") public jakarta.ws.rs.core.Response retrievePartyTypes(@PathParam("retrieve_name") String retrieveName) throws SQLException
      Throws:
      SQLException
    • searchOptionalServices

      @GET @Path("/optional_services") public jakarta.ws.rs.core.Response searchOptionalServices(@QueryParam("search") String searchTerm) throws SQLException
      Throws:
      SQLException
    • retrieveOptionalServices

      @GET @Path("/optional_services/{retrieve_name}") public jakarta.ws.rs.core.Response retrieveOptionalServices(@PathParam("retrieve_name") String retrieveName) throws SQLException
      Throws:
      SQLException
    • getCategories

      @GET @Path("/courts/{court_id}/categories") public jakarta.ws.rs.core.Response getCategories(@PathParam("court_id") String courtId, @DefaultValue("false") @QueryParam("fileable_only") boolean fileableOnly, @QueryParam("timing") String timing) throws SQLException
      Throws:
      SQLException
    • getCategoryByCode

      @GET @Path("/courts/{court_id}/categories/{cat_code}") public jakarta.ws.rs.core.Response getCategoryByCode(@PathParam("court_id") String courtId, @PathParam("cat_code") String catCode) throws SQLException
      Throws:
      SQLException
    • getCaseTypes

      @GET @Path("/courts/{court_id}/case_types") public jakarta.ws.rs.core.Response getCaseTypes(@PathParam("court_id") String courtId, @QueryParam("category_id") String categoryId, @QueryParam("timing") String timing) throws SQLException
      Throws:
      SQLException
    • getNameSuffixes

      @GET @Path("/courts/{court_id}/name_suffixes") public jakarta.ws.rs.core.Response getNameSuffixes(@PathParam("court_id") String courtId) throws SQLException
      Throws:
      SQLException
    • getCaseSubtypes

      @GET @Path("/courts/{court_id}/case_types/{case_type_id}/case_subtypes") public jakarta.ws.rs.core.Response getCaseSubtypes(@PathParam("court_id") String courtId, @PathParam("case_type_id") String caseTypeId) throws SQLException
      Throws:
      SQLException
    • getServiceTypes

      @GET @Path("/courts/{court_id}/service_types") public jakarta.ws.rs.core.Response getServiceTypes(@PathParam("court_id") String courtId) throws SQLException
      Throws:
      SQLException
    • getProcedureOrRemedies

      @GET @Path("/courts/{court_id}/procedures_or_remedies") public jakarta.ws.rs.core.Response getProcedureOrRemedies(@PathParam("court_id") String courtId, @QueryParam("category_id") String categoryId) throws SQLException
      Throws:
      SQLException
    • getFilingTypes

      @GET @Path("/courts/{court_id}/filing_types") public jakarta.ws.rs.core.Response getFilingTypes(@PathParam("court_id") String courtId, @QueryParam("category_id") String categoryId, @QueryParam("type_id") String typeId, @QueryParam("initial") boolean initial) throws SQLException
      Throws:
      SQLException
    • getFilerTypes

      @GET @Path("/courts/{court_id}/filer_types") public jakarta.ws.rs.core.Response getFilerTypes(@PathParam("court_id") String courtId) throws SQLException
      Throws:
      SQLException
    • getDamageAmounts

      @GET @Path("/courts/{court_id}/damage_amounts") public jakarta.ws.rs.core.Response getDamageAmounts(@PathParam("court_id") String courtId, @QueryParam("category_id") String categoryId) throws SQLException
      Throws:
      SQLException
    • getAllPartyTypes

      @GET @Path("/courts/{court_id}/party_types") public jakarta.ws.rs.core.Response getAllPartyTypes(@PathParam("court_id") String courtId) throws SQLException
      Used for when you need to populate the party types names for a case search or something similar
      Parameters:
      courtId -
      Returns:
      Throws:
      SQLException
    • getPartyTypeFromAll

      @GET @Path("/courts/{court_id}/party_types/{party_type_id}") public jakarta.ws.rs.core.Response getPartyTypeFromAll(@PathParam("court_id") String courtId, @PathParam("party_type_id") String partyTypeId) throws SQLException
      Throws:
      SQLException
    • getPartyTypes

      @GET @Path("/courts/{court_id}/case_types/{case_type_id}/party_types") public jakarta.ws.rs.core.Response getPartyTypes(@PathParam("court_id") String courtId, @PathParam("case_type_id") String caseTypeId) throws SQLException
      Throws:
      SQLException
    • getPartyType

      @GET @Path("/courts/{court_id}/case_types/{case_type_id}/party_types/{party_type_id}") public jakarta.ws.rs.core.Response getPartyType(@PathParam("court_id") String courtId, @PathParam("case_type_id") String caseTypeId, @PathParam("party_type_id") String partyTypeId) throws SQLException
      Throws:
      SQLException
    • getCrossReferencesOld

      @GET @Path("/courts/{court_id}/casetypes/{case_type_id}/cross_references") public jakarta.ws.rs.core.Response getCrossReferencesOld(@PathParam("court_id") String courtId, @PathParam("case_type_id") String caseTypeId) throws SQLException
      Throws:
      SQLException
    • getCrossReferences

      @GET @Path("/courts/{court_id}/case_types/{case_type_id}/cross_references") public jakarta.ws.rs.core.Response getCrossReferences(@PathParam("court_id") String courtId, @PathParam("case_type_id") String caseTypeId) throws SQLException
      Throws:
      SQLException
    • getDocumentTypes

      @GET @Path("/courts/{court_id}/filing_types/{filing_code_id}/document_types") public jakarta.ws.rs.core.Response getDocumentTypes(@PathParam("court_id") String courtId, @PathParam("filing_code_id") String filingCodeId) throws SQLException
      Throws:
      SQLException
    • getMotionTypes

      @GET @Path("/courts/{court_id}/filing_types/{filing_code_id}/motion_types") public jakarta.ws.rs.core.Response getMotionTypes(@PathParam("court_id") String courtId, @PathParam("filing_code_id") String filingCodeId) throws SQLException
      Throws:
      SQLException
    • getAllowedFileTypes

      @GET @Path("/courts/{court_id}/allowed_file_types") public jakarta.ws.rs.core.Response getAllowedFileTypes(@PathParam("court_id") String courtId) throws SQLException
      Throws:
      SQLException
    • getFilingStatuses

      @GET @Path("/courts/{court_id}/filing_statuses") public jakarta.ws.rs.core.Response getFilingStatuses(@PathParam("court_id") String courtId) throws SQLException
      Throws:
      SQLException
    • getFilingComponents

      @GET @Path("/courts/{court_id}/filing_types/{filing_code_id}/filing_components") public jakarta.ws.rs.core.Response getFilingComponents(@PathParam("court_id") String courtId, @PathParam("filing_code_id") String filingCodeId) throws SQLException
      Throws:
      SQLException
    • getOptionalServices

      @GET @Path("/courts/{court_id}/filing_types/{filing_code_id}/optional_services") public jakarta.ws.rs.core.Response getOptionalServices(@PathParam("court_id") String courtId, @PathParam("filing_code_id") String filingCodeId) throws SQLException
      Throws:
      SQLException
    • getStates

      @GET @Path("/courts/{court_id}/countries/{country}/states") public jakarta.ws.rs.core.Response getStates(@PathParam("court_id") String courtId, @PathParam("country") String country) throws SQLException
      Throws:
      SQLException
    • getLanguages

      @GET @Path("/courts/{court_id}/languages") public jakarta.ws.rs.core.Response getLanguages(@PathParam("court_id") String courtId) throws SQLException
      Throws:
      SQLException
    • getDataFields

      @GET @Path("/courts/{court_id}/datafields") public jakarta.ws.rs.core.Response getDataFields(@PathParam("court_id") String courtId) throws SQLException
      Throws:
      SQLException
    • getDataField

      @GET @Path("/courts/{court_id}/datafields/{field_name}") public jakarta.ws.rs.core.Response getDataField(@PathParam("court_id") String courtId, @PathParam("field_name") String fieldName) throws SQLException
      Throws:
      SQLException
    • getOptionalService

      @GET @Path("/courts/{court_id}/optional_services/{opt_serv_code}") public jakarta.ws.rs.core.Response getOptionalService(@PathParam("court_id") String courtId, @PathParam("opt_serv_code") String optServCode) throws SQLException
      Throws:
      SQLException
    • getDisclaimerRequirements

      @GET @Path("/courts/{court_id}/disclaimer_requirements") public jakarta.ws.rs.core.Response getDisclaimerRequirements(@PathParam("court_id") String courtId) throws SQLException
      Throws:
      SQLException