Class JeffNetFiler
java.lang.Object
edu.suffolk.litlab.efsp.server.setup.jeffnet.JeffNetFiler
- All Implemented Interfaces:
EfmFilingInterface
-
Nested Class Summary
Nested classes/interfaces inherited from interface edu.suffolk.litlab.efsp.server.services.impl.EfmFilingInterface
EfmFilingInterface.ApiChoice -
Constructor Summary
ConstructorsConstructorDescriptionJeffNetFiler(String filingEndpoint, LegalIssuesTaxonomyCodes taxonomyCodes) Constructor that takes the URL endpoint of JeffNet to callJeffNetFiler(URI filingEndpoint, LegalIssuesTaxonomyCodes taxonomyCodes) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.ResponsecancelFiling(String courtId, String filingId, String apiToken) com.hubspot.algebra.Result<com.hubspot.algebra.NullValue, FilingError> checkFiling(FilingInformation info, String apiToken, InfoCollector collector) jakarta.ws.rs.core.Responsedisclaimers(String courtId) TYLER ONLY at the moment: returns a list of disclaimers that must be shown to the user before filing.jakarta.ws.rs.core.ResponsegetFilingDetails(String courtId, String filingId, String apiToken) com.hubspot.algebra.Result<jakarta.ws.rs.core.Response, FilingError> getFilingFees(FilingInformation info, String apiToken) jakarta.ws.rs.core.ResponsegetFilingList(String courtId, String userId, LocalDate startDate, LocalDate beforeDate, String apiToken) jakarta.ws.rs.core.ResponsegetFilingService(String courtId, String filingId, String contactId, String apiToken) jakarta.ws.rs.core.ResponsegetFilingStatus(String courtId, String filingId, String apiToken) Used to get the proper header that contains the right token.Used to properly verify with the SecurityHub.jakarta.ws.rs.core.Responsecom.hubspot.algebra.Result<jakarta.ws.rs.core.Response, FilingError> getServiceTypes(FilingInformation info, String apiToken) com.hubspot.algebra.Result<FilingResult, FilingError> sendFiling(FilingInformation info, String apiToken, EfmFilingInterface.ApiChoice choice) Actually sends the filing information to the EFM if it can.
-
Constructor Details
-
JeffNetFiler
public JeffNetFiler(String filingEndpoint, LegalIssuesTaxonomyCodes taxonomyCodes) throws URISyntaxException Constructor that takes the URL endpoint of JeffNet to call- Throws:
URISyntaxException
-
JeffNetFiler
-
-
Method Details
-
getOrgName
Description copied from interface:EfmFilingInterfaceUsed to properly verify with the SecurityHub.- Specified by:
getOrgNamein interfaceEfmFilingInterface
-
getHeaderKey
Description copied from interface:EfmFilingInterfaceUsed to get the proper header that contains the right token.- Specified by:
getHeaderKeyin interfaceEfmFilingInterface
-
sendFiling
public com.hubspot.algebra.Result<FilingResult,FilingError> sendFiling(FilingInformation info, String apiToken, EfmFilingInterface.ApiChoice choice) Description copied from interface:EfmFilingInterfaceActually sends the filing information to the EFM if it can.- Specified by:
sendFilingin interfaceEfmFilingInterface- Parameters:
info- All of the information, parsed from an InterviewToFilingInformationConverter- Returns:
- Either a list of UUIDs for each filing actually made to the EFM, or an error if it couldn't make the filing. The list is because a single filing can include child envelopes or child filings, or just need to be split up into multiple filings. We shouldn't care about how that split happens, we just need to know the UUIDs for each of the filings for the callbacks. If it's > 1, should be the same number as the FilingDocs in info
-
checkFiling
public com.hubspot.algebra.Result<com.hubspot.algebra.NullValue,FilingError> checkFiling(FilingInformation info, String apiToken, InfoCollector collector) - Specified by:
checkFilingin interfaceEfmFilingInterface
-
getFilingDetails
public jakarta.ws.rs.core.Response getFilingDetails(String courtId, String filingId, String apiToken) - Specified by:
getFilingDetailsin interfaceEfmFilingInterface
-
getFilingFees
public com.hubspot.algebra.Result<jakarta.ws.rs.core.Response,FilingError> getFilingFees(FilingInformation info, String apiToken) - Specified by:
getFilingFeesin interfaceEfmFilingInterface
-
cancelFiling
- Specified by:
cancelFilingin interfaceEfmFilingInterface
-
getFilingList
public jakarta.ws.rs.core.Response getFilingList(String courtId, String userId, LocalDate startDate, LocalDate beforeDate, String apiToken) - Specified by:
getFilingListin interfaceEfmFilingInterface
-
getFilingStatus
public jakarta.ws.rs.core.Response getFilingStatus(String courtId, String filingId, String apiToken) - Specified by:
getFilingStatusin interfaceEfmFilingInterface
-
getFilingService
public jakarta.ws.rs.core.Response getFilingService(String courtId, String filingId, String contactId, String apiToken) - Specified by:
getFilingServicein interfaceEfmFilingInterface
-
getPolicy
- Specified by:
getPolicyin interfaceEfmFilingInterface
-
disclaimers
Description copied from interface:EfmFilingInterfaceTYLER ONLY at the moment: returns a list of disclaimers that must be shown to the user before filing.- Specified by:
disclaimersin interfaceEfmFilingInterface- Parameters:
courtId- The court location Id where the filing is taking place- Returns:
- A response, that has a JSON list of the disclaimer information (code, name, listorder, text)
-
getServiceTypes
public com.hubspot.algebra.Result<jakarta.ws.rs.core.Response,FilingError> getServiceTypes(FilingInformation info, String apiToken) - Specified by:
getServiceTypesin interfaceEfmFilingInterface
-