Interface RegulatoryTransmissionDelegateInterface
- All Known Implementing Classes:
AbstractTransmissionDelegate,AzureDropTransmissionDelegate,com.ptc.qualitymanagement.regmstr.impl.ContentWriterTransmissionDelegate,FileDropTransmissionDelegate
Supported API: true
Extendable: true
-
Method Summary
Modifier and TypeMethodDescriptiongetPayloadStream(RegulatorySubmission regulatorySubmission, org.apache.logging.log4j.Logger tranmissionLogger) Provides the input stream to the transmit() method.voidThis method initializes all information needed for the implementation of a Transmission Delegate.booleantransmit(RegulatorySubmission regulatorySubmission) Deprecated.transmitWithResult(RegulatorySubmission regulatorySubmission) This method performs the transmission of a Payload to a Regulatory Agency.
-
Method Details
-
initialize
This method initializes all information needed for the implementation of a Transmission Delegate. This method can be overwritten to achieve customization when you are extending this class.
Supported API: true- Throws:
Exception
-
getPayloadStream
InputStream getPayloadStream(RegulatorySubmission regulatorySubmission, org.apache.logging.log4j.Logger tranmissionLogger) throws WTException, PropertyVetoException Provides the input stream to the transmit() method. This stream is used to transmit the payload per the transmission delegate algorithm. This method can be overwritten to get the payload stream from any location.Any logging should be done using the parameter transmission logger. The logger is passed from the transmit() method so that all transmit logging can be in a single file.
Do not modify the Regulatory Submission in any implementation of this method. Modification of the Regulatory Submission after transmission can be achieved by overriding
RegulatorySubmissionProcessorInterface.postSubmissionProcessing(RegulatorySubmission, transmissionResult)
Supported API: true- Parameters:
regulatorySubmission-tranmissionLogger-- Returns:
- Throws:
WTExceptionPropertyVetoException
-
transmit
Deprecated.This method performs the transmission of a Payload to a Regulatory Agency. This method can be overwritten to achieve customization when you are extending this class.Do not modify the Regulatory Submission in any implementation of this method. Modification of the Regulatory Submission after transmission can be achieved by overriding
RegulatorySubmissionProcessorInterface.postSubmissionProcessing(RegulatorySubmission, transmissionResult)This method is deprecated use transmitWithResult()
Supported API: true- Throws:
Exception
-
transmitWithResult
This method performs the transmission of a Payload to a Regulatory Agency. This method can be overwritten to achieve customization when you are extending this class.Do not modify the Regulatory Submission in any implementation of this method. Modification of the Regulatory Submission after transmission can be achieved by overriding
RegulatorySubmissionProcessorInterface.postSubmissionProcessing(RegulatorySubmission, transmissionResult)The return object is passed into
RegulatorySubmissionProcessorInterface.postSubmissionProcessing(RegulatorySubmission, Object)where it can be used to update the RegulatorySubmission.- Parameters:
regulatorySubmission- The submission to transmit- Returns:
- RegulatorySubmission Any result from the transmission
Supported API: true - Throws:
Exception
-