@Implementable
@AccessLevel(value=EXTERNAL)
public interface ApplicationEvents
Business events for an Application
.These events are designed to
provide notification of interesting occurrences to consumers of the
Application
framework, thereby allowing them to take action when
specific events occur.
All implementors of this interface should also subclass
AbstractApplicationEvents
. New methods may be added to this interface
over time and sub-classing AbstractApplicationEvents
will remove any
risk of implementors being impacted if such new methods are added.
Modifier and Type | Method and Description |
---|---|
void |
cancelApplication(Application application)
Event raised when an application is cancelled.
|
void |
deferredSubmissionErrorHandler(Application application)
Event raised if an error occurs in the deferred process application
submission.
|
void |
finishDeferredSubmission(Application application)
Event raised at the end of the deferred process in which the application
submission occurred.
|
void |
finishMappingApplication(Application application)
Event raised after the evidence that has been captured in the application
script is mapped to the related case.
|
void |
postModifyOwner(Application application,
ApplicationRoleObject newOwner,
ApplicationRoleObject previousOwner)
Event raised after the owner of an application has been changed.
|
void |
postSubmitting(Application application)
Event raised after the application has finished submitting.
|
void |
preModifyOwner(Application application,
ApplicationRoleObject currentOwner,
ApplicationRoleObject newOwner)
Event raised before the owner of an application is changed.
|
void |
preSubmitting(Application application)
Event raised before any application submission processing has begun.
|
void |
startDeferredSubmission(Application application)
Event raised at the start of the deferred process in which the application
submission will occur.
|
void |
startMappingApplication(Application application)
Event raised before the evidence that has been captured in the application
script is mapped to the related case.
|
void startMappingApplication(Application application)
application
- The application containing the evidence to be mapped.void finishMappingApplication(Application application)
application
- The application containing the evidence to be mapped.void preSubmitting(Application application) throws curam.util.exception.InformationalException, curam.util.exception.AppException
application
- The application being submitted.curam.util.exception.InformationalException
curam.util.exception.AppException
void postSubmitting(Application application) throws curam.util.exception.InformationalException, curam.util.exception.AppException
application
- The application being submitted.curam.util.exception.InformationalException
curam.util.exception.AppException
void startDeferredSubmission(Application application) throws curam.util.exception.InformationalException, curam.util.exception.AppException
application
- The application being submitted.curam.util.exception.InformationalException
curam.util.exception.AppException
void finishDeferredSubmission(Application application) throws curam.util.exception.InformationalException, curam.util.exception.AppException
application
- The application being submitted.curam.util.exception.InformationalException
curam.util.exception.AppException
void cancelApplication(Application application) throws curam.util.exception.InformationalException, curam.util.exception.AppException
application
- The application being cancelled.curam.util.exception.InformationalException
curam.util.exception.AppException
void deferredSubmissionErrorHandler(Application application) throws curam.util.exception.InformationalException, curam.util.exception.AppException
application
- The application being submitted.curam.util.exception.InformationalException
curam.util.exception.AppException
void preModifyOwner(Application application, ApplicationRoleObject currentOwner, ApplicationRoleObject newOwner)
application
- The application for which the owner is being changed.currentOwner
- The current ApplicationRoleObject
.newOwner
- The proposed new ApplicationRoleObject
.void postModifyOwner(Application application, ApplicationRoleObject newOwner, ApplicationRoleObject previousOwner)
application
- The application for which the owner is being changed.newOwner
- The ApplicationRoleObject
who has just being given
ownership of the application.previousOwner
- The previous ApplicationRoleObject
.