Package com.avoka.fc.core.service
Interface IDeliveryProcessService
-
- All Known Implementing Classes:
FluentDeliveryProcessService,GroovyDeliveryProcessService,TrashCanDeliveryProcess
public interface IDeliveryProcessServiceProvides a service interface for the submission delivery process.- See Also:
DeliveryResult
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ObjectdeliverSubmission(Submission submission, DeliveryDetails deliveryDetails)Deliver the given submission using a delivery process and return the process invocation identifier.intgetMaxCheckpointDeliveryAttempts()Return the maximum number of times the checkpoint delivery process should be attempted.intgetMaxDeliveryAttempts()Return the maximum number of times the form submission delivery should be attempted if an error occurs.intgetRetryDelayMins()Return the minimum submission delivery retry in minutes.booleanisDeliverAttachments()Return true if attachments are going to be delivered.
-
-
-
Method Detail
-
deliverSubmission
Object deliverSubmission(Submission submission, DeliveryDetails deliveryDetails) throws DeliveryException
Deliver the given submission using a delivery process and return the process invocation identifier.- Parameters:
submission- the submission to deliverdeliveryDetails- the submission delivery details (optional, will not be specified for abandoned submissions)- Returns:
- the invocation results, either a DeliveryResult object or a String LiveCycle process invocation ID
- Throws:
DeliveryException- if an error occurs
-
getMaxDeliveryAttempts
int getMaxDeliveryAttempts()
Return the maximum number of times the form submission delivery should be attempted if an error occurs.- Returns:
- the maximum number of attempts at delivery for this service
-
getMaxCheckpointDeliveryAttempts
int getMaxCheckpointDeliveryAttempts()
Return the maximum number of times the checkpoint delivery process should be attempted.- Returns:
- the maximum number of times the checkpoint delivery process should be attempted
- Since:
- 4.3.4
-
getRetryDelayMins
int getRetryDelayMins()
Return the minimum submission delivery retry in minutes.- Returns:
- the minimum submission delivery retry in minutes
-
isDeliverAttachments
boolean isDeliverAttachments()
Return true if attachments are going to be delivered.- Returns:
- true if attachments are going to be delivered
-
-