Class EfmCheckableFilingInterface
java.lang.Object
edu.suffolk.litlab.efspserver.services.EfmCheckableFilingInterface
- All Implemented Interfaces:
EfmFilingInterface
- Direct Known Subclasses:
Ecf4Filer
-
Nested Class Summary
Nested classes/interfaces inherited from interface edu.suffolk.litlab.efspserver.services.EfmFilingInterface
EfmFilingInterface.ApiChoice
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.hubspot.algebra.Result
<com.hubspot.algebra.NullValue, FilingError> checkFiling
(FilingInformation info, String apiToken, InfoCollector collector) 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.abstract com.hubspot.algebra.Result
<FilingResult, FilingError> submitFilingIfReady
(FilingInformation info, InfoCollector collector, String apiToken, EfmFilingInterface.ApiChoice choice) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface edu.suffolk.litlab.efspserver.services.EfmFilingInterface
cancelFiling, disclaimers, getFilingDetails, getFilingFees, getFilingList, getFilingService, getFilingStatus, getHeaderKey, getOrgName, getPolicy, getServiceTypes
-
Constructor Details
-
EfmCheckableFilingInterface
public EfmCheckableFilingInterface()
-
-
Method Details
-
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
-
submitFilingIfReady
public abstract com.hubspot.algebra.Result<FilingResult,FilingError> submitFilingIfReady(FilingInformation info, InfoCollector collector, String apiToken, EfmFilingInterface.ApiChoice choice) Core logic behindsendFiling(edu.suffolk.litlab.efspserver.FilingInformation,java.lang.String,edu.suffolk.litlab.efspserver.services.EfmFilingInterface.ApiChoice)
andcheckFiling(edu.suffolk.litlab.efspserver.FilingInformation,java.lang.String,edu.suffolk.litlab.efspserver.services.InfoCollector)
.- Parameters:
info
- The Java intermediatary object with all filing infocollector
- The class that holds errors or missingVars- Returns:
- Same return type as
sendFiling(edu.suffolk.litlab.efspserver.FilingInformation,java.lang.String,edu.suffolk.litlab.efspserver.services.EfmFilingInterface.ApiChoice)
-