Class CourtsOnlyCodesService
java.lang.Object
edu.suffolk.litlab.efsp.server.services.CodesService
edu.suffolk.litlab.efsp.server.services.CourtsOnlyCodesService
-
Constructor Summary
ConstructorsConstructorDescriptionCourtsOnlyCodesService(Jurisdiction jurisdiction, Map<String, String> courts) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.ResponsegetAll()jakarta.ws.rs.core.ResponsegetAllowedFileTypes(String courtId) jakarta.ws.rs.core.ResponsegetAllPartyTypes(String courtId) Used for when you need to populate the party types names for a case search or something similarjakarta.ws.rs.core.ResponsegetCaseSubtypes(String courtId, String caseTypeId) jakarta.ws.rs.core.ResponsegetCaseTypes(String courtId, String categoryId, String timing) jakarta.ws.rs.core.ResponsegetCategories(String courtId, boolean fileableOnly, String timing) jakarta.ws.rs.core.ResponsegetCategoryByCode(String courtId, String catCode) jakarta.ws.rs.core.ResponsegetCodesUnderCourt(String courtId) jakarta.ws.rs.core.ResponsegetCourtLocationCodes(String courtId) jakarta.ws.rs.core.ResponsegetCourts(jakarta.ws.rs.core.HttpHeaders httpHeaders, boolean fileableOnly, boolean withNames) jakarta.ws.rs.core.ResponsegetCrossReferences(String courtId, String caseTypeId) jakarta.ws.rs.core.ResponsegetCrossReferencesOld(String courtId, String caseTypeId) jakarta.ws.rs.core.ResponsegetDamageAmounts(String courtId, String categoryId) jakarta.ws.rs.core.ResponsegetDataField(String courtId, String fieldName) jakarta.ws.rs.core.ResponsegetDataFields(String courtId) jakarta.ws.rs.core.ResponsegetDisclaimerRequirements(String courtId) jakarta.ws.rs.core.ResponsegetDocumentTypes(String courtId, String filingCodeId) jakarta.ws.rs.core.ResponsegetFilerTypes(String courtId) jakarta.ws.rs.core.ResponsegetFilingComponents(String courtId, String filingCodeId) jakarta.ws.rs.core.ResponsegetFilingStatuses(String courtId) jakarta.ws.rs.core.ResponsegetFilingTypes(String courtId, String categoryId, String typeId, boolean initial) jakarta.ws.rs.core.ResponsegetLanguages(String courtId) jakarta.ws.rs.core.ResponsegetMotionTypes(String courtId, String filingCodeId) jakarta.ws.rs.core.ResponsegetNameSuffixes(String courtId) jakarta.ws.rs.core.ResponsegetOptionalService(String courtId, String optServCode) jakarta.ws.rs.core.ResponsegetOptionalServices(String courtId, String filingCodeId) jakarta.ws.rs.core.ResponsegetPartyType(String courtId, String caseTypeId, String partyTypeId) jakarta.ws.rs.core.ResponsegetPartyTypeFromAll(String courtId, String partyTypeId) jakarta.ws.rs.core.ResponsegetPartyTypes(String courtId, String caseTypeId) jakarta.ws.rs.core.ResponsegetProcedureOrRemedies(String courtId, String categoryId) jakarta.ws.rs.core.ResponsegetServiceTypes(String courtId) jakarta.ws.rs.core.ResponseMethods inherited from class edu.suffolk.litlab.efsp.server.services.CodesService
cors, options
-
Constructor Details
-
CourtsOnlyCodesService
-
-
Method Details
-
getAll
public jakarta.ws.rs.core.Response getAll()- Specified by:
getAllin classCodesService
-
getCourts
public jakarta.ws.rs.core.Response getCourts(jakarta.ws.rs.core.HttpHeaders httpHeaders, boolean fileableOnly, boolean withNames) - Specified by:
getCourtsin classCodesService
-
getCodesUnderCourt
- Specified by:
getCodesUnderCourtin classCodesService
-
getCourtLocationCodes
- Specified by:
getCourtLocationCodesin classCodesService
-
getCategories
public jakarta.ws.rs.core.Response getCategories(String courtId, boolean fileableOnly, String timing) throws SQLException - Specified by:
getCategoriesin classCodesService- Throws:
SQLException
-
getCategoryByCode
public jakarta.ws.rs.core.Response getCategoryByCode(String courtId, String catCode) throws SQLException - Specified by:
getCategoryByCodein classCodesService- Throws:
SQLException
-
getCaseTypes
public jakarta.ws.rs.core.Response getCaseTypes(String courtId, String categoryId, String timing) throws SQLException - Specified by:
getCaseTypesin classCodesService- Throws:
SQLException
-
getNameSuffixes
- Specified by:
getNameSuffixesin classCodesService- Throws:
SQLException
-
getCaseSubtypes
public jakarta.ws.rs.core.Response getCaseSubtypes(String courtId, String caseTypeId) throws SQLException - Specified by:
getCaseSubtypesin classCodesService- Throws:
SQLException
-
getServiceTypes
- Specified by:
getServiceTypesin classCodesService- Throws:
SQLException
-
getProcedureOrRemedies
public jakarta.ws.rs.core.Response getProcedureOrRemedies(String courtId, String categoryId) throws SQLException - Specified by:
getProcedureOrRemediesin classCodesService- Throws:
SQLException
-
getFilingTypes
public jakarta.ws.rs.core.Response getFilingTypes(String courtId, String categoryId, String typeId, boolean initial) throws SQLException - Specified by:
getFilingTypesin classCodesService- Parameters:
courtId- The court id where these filing types are present.categoryId- (optional) used to filter by filing types that can only be used with this case category.typeId- (optional) used to filter by filing types that can only be used with this case typeinitial- if true, shows filing types that can be used on initial filings (or initial and subsequent filings). If false, shows filings that can be used on subsequent filings.- Returns:
- The filing info
- Throws:
SQLException
-
getFilerTypes
- Specified by:
getFilerTypesin classCodesService- Throws:
SQLException
-
getDamageAmounts
public jakarta.ws.rs.core.Response getDamageAmounts(String courtId, String categoryId) throws SQLException - Specified by:
getDamageAmountsin classCodesService- Throws:
SQLException
-
getAllPartyTypes
Description copied from class:CodesServiceUsed for when you need to populate the party types names for a case search or something similar- Specified by:
getAllPartyTypesin classCodesService- Parameters:
courtId-- Returns:
- Throws:
SQLException
-
getPartyTypeFromAll
public jakarta.ws.rs.core.Response getPartyTypeFromAll(String courtId, String partyTypeId) throws SQLException - Specified by:
getPartyTypeFromAllin classCodesService- Throws:
SQLException
-
getPartyTypes
public jakarta.ws.rs.core.Response getPartyTypes(String courtId, String caseTypeId) throws SQLException - Specified by:
getPartyTypesin classCodesService- Throws:
SQLException
-
getPartyType
public jakarta.ws.rs.core.Response getPartyType(String courtId, String caseTypeId, String partyTypeId) throws SQLException - Specified by:
getPartyTypein classCodesService- Throws:
SQLException
-
getCrossReferencesOld
public jakarta.ws.rs.core.Response getCrossReferencesOld(String courtId, String caseTypeId) throws SQLException - Specified by:
getCrossReferencesOldin classCodesService- Throws:
SQLException
-
getCrossReferences
public jakarta.ws.rs.core.Response getCrossReferences(String courtId, String caseTypeId) throws SQLException - Specified by:
getCrossReferencesin classCodesService- Throws:
SQLException
-
getDocumentTypes
public jakarta.ws.rs.core.Response getDocumentTypes(String courtId, String filingCodeId) throws SQLException - Specified by:
getDocumentTypesin classCodesService- Throws:
SQLException
-
getMotionTypes
public jakarta.ws.rs.core.Response getMotionTypes(String courtId, String filingCodeId) throws SQLException - Specified by:
getMotionTypesin classCodesService- Throws:
SQLException
-
getAllowedFileTypes
- Specified by:
getAllowedFileTypesin classCodesService- Throws:
SQLException
-
getFilingStatuses
- Specified by:
getFilingStatusesin classCodesService- Throws:
SQLException
-
getFilingComponents
public jakarta.ws.rs.core.Response getFilingComponents(String courtId, String filingCodeId) throws SQLException - Specified by:
getFilingComponentsin classCodesService- Throws:
SQLException
-
getOptionalServices
public jakarta.ws.rs.core.Response getOptionalServices(String courtId, String filingCodeId) throws SQLException - Specified by:
getOptionalServicesin classCodesService- Throws:
SQLException
-
getStates
- Specified by:
getStatesin classCodesService- Throws:
SQLException
-
getLanguages
- Specified by:
getLanguagesin classCodesService- Throws:
SQLException
-
getDataFields
- Specified by:
getDataFieldsin classCodesService- Throws:
SQLException
-
getDataField
public jakarta.ws.rs.core.Response getDataField(String courtId, String fieldName) throws SQLException - Specified by:
getDataFieldin classCodesService- Throws:
SQLException
-
getOptionalService
public jakarta.ws.rs.core.Response getOptionalService(String courtId, String optServCode) throws SQLException - Specified by:
getOptionalServicein classCodesService- Throws:
SQLException
-
getDisclaimerRequirements
- Specified by:
getDisclaimerRequirementsin classCodesService- Throws:
SQLException
-