Class JeffNetFiler
java.lang.Object
edu.suffolk.litlab.efspserver.jeffnet.JeffNetFiler
- All Implemented Interfaces:
EfmFilingInterface
-
Nested Class Summary
Nested classes/interfaces inherited from interface edu.suffolk.litlab.efspserver.services.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.Response
cancelFiling
(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.Response
disclaimers
(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.Response
getFilingDetails
(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.Response
getFilingList
(String courtId, String userId, LocalDate startDate, LocalDate beforeDate, String apiToken) jakarta.ws.rs.core.Response
getFilingService
(String courtId, String filingId, String contactId, String apiToken) jakarta.ws.rs.core.Response
getFilingStatus
(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.Response
com.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:EfmFilingInterface
Used to properly verify with the SecurityHub.- Specified by:
getOrgName
in interfaceEfmFilingInterface
-
getHeaderKey
Description copied from interface:EfmFilingInterface
Used to get the proper header that contains the right token.- Specified by:
getHeaderKey
in interfaceEfmFilingInterface
-
sendFiling
public com.hubspot.algebra.Result<FilingResult,FilingError> sendFiling(FilingInformation info, String apiToken, EfmFilingInterface.ApiChoice choice) Description copied from interface:EfmFilingInterface
Actually sends the filing information to the EFM if it can.- Specified by:
sendFiling
in 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:
checkFiling
in interfaceEfmFilingInterface
-
getFilingDetails
public jakarta.ws.rs.core.Response getFilingDetails(String courtId, String filingId, String apiToken) - Specified by:
getFilingDetails
in interfaceEfmFilingInterface
-
getFilingFees
public com.hubspot.algebra.Result<jakarta.ws.rs.core.Response,FilingError> getFilingFees(FilingInformation info, String apiToken) - Specified by:
getFilingFees
in interfaceEfmFilingInterface
-
cancelFiling
- Specified by:
cancelFiling
in interfaceEfmFilingInterface
-
getFilingList
public jakarta.ws.rs.core.Response getFilingList(String courtId, String userId, LocalDate startDate, LocalDate beforeDate, String apiToken) - Specified by:
getFilingList
in interfaceEfmFilingInterface
-
getFilingStatus
public jakarta.ws.rs.core.Response getFilingStatus(String courtId, String filingId, String apiToken) - Specified by:
getFilingStatus
in interfaceEfmFilingInterface
-
getFilingService
public jakarta.ws.rs.core.Response getFilingService(String courtId, String filingId, String contactId, String apiToken) - Specified by:
getFilingService
in interfaceEfmFilingInterface
-
getPolicy
- Specified by:
getPolicy
in interfaceEfmFilingInterface
-
disclaimers
Description copied from interface:EfmFilingInterface
TYLER ONLY at the moment: returns a list of disclaimers that must be shown to the user before filing.- Specified by:
disclaimers
in 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:
getServiceTypes
in interfaceEfmFilingInterface
-