Interface AccessCertificationEventListener
-
public interface AccessCertificationEventListener
An interface through which external observers can be notified about certification related events. EXPERIMENTAL. This interface will probably change in near future.- Author:
- mederly
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onCampaignEnd(AccessCertificationCampaignType campaign, Task task, OperationResult result)
This method is called by certification module when a certification campaign ends (i.e.void
onCampaignStageDeadlineApproaching(AccessCertificationCampaignType campaign, Task task, OperationResult result)
This method is called by certification module when a certification campaign stage deadline is approaching.void
onCampaignStageEnd(AccessCertificationCampaignType campaign, Task task, OperationResult result)
This method is called by certification module when a certification campaign stage ends (i.e.void
onCampaignStageStart(AccessCertificationCampaignType campaign, Task task, OperationResult result)
This method is called by certification module when a certification campaign stage starts.void
onCampaignStart(AccessCertificationCampaignType campaign, Task task, OperationResult result)
This method is called by certification module when a certification campaign starts.void
onReviewDeadlineApproaching(ObjectReferenceType reviewerOrDeputyRef, ObjectReferenceType actualReviewerRef, List<AccessCertificationCaseType> cases, AccessCertificationCampaignType campaign, Task task, OperationResult result)
This method is called by certification module when a certification case review deadline is approaching.void
onReviewRequested(ObjectReferenceType reviewerOrDeputyRef, ObjectReferenceType actualReviewerRef, List<AccessCertificationCaseType> cases, AccessCertificationCampaignType campaign, Task task, OperationResult result)
This method is called when a review is requested
-
-
-
Method Detail
-
onCampaignStart
void onCampaignStart(AccessCertificationCampaignType campaign, Task task, OperationResult result)
This method is called by certification module when a certification campaign starts.- Parameters:
campaign
- TODOtask
-result
- implementer should report its result here
-
onCampaignEnd
void onCampaignEnd(AccessCertificationCampaignType campaign, Task task, OperationResult result)
This method is called by certification module when a certification campaign ends (i.e. is closed).- Parameters:
campaign
- TODOtask
-result
- implementer should report its result here
-
onCampaignStageStart
void onCampaignStageStart(AccessCertificationCampaignType campaign, Task task, OperationResult result)
This method is called by certification module when a certification campaign stage starts.- Parameters:
campaign
- TODOtask
-result
- implementer should report its result here
-
onCampaignStageDeadlineApproaching
void onCampaignStageDeadlineApproaching(AccessCertificationCampaignType campaign, Task task, OperationResult result)
This method is called by certification module when a certification campaign stage deadline is approaching. The strategy for calling this method (e.g. how often and exactly how many days/hours before the deadline) will be configurable in the future.- Parameters:
campaign
- TODOtask
-result
- implementer should report its result here
-
onCampaignStageEnd
void onCampaignStageEnd(AccessCertificationCampaignType campaign, Task task, OperationResult result)
This method is called by certification module when a certification campaign stage ends (i.e. is closed).- Parameters:
campaign
- TODOtask
-result
- implementer should report its result here
-
onReviewRequested
void onReviewRequested(ObjectReferenceType reviewerOrDeputyRef, ObjectReferenceType actualReviewerRef, List<AccessCertificationCaseType> cases, AccessCertificationCampaignType campaign, Task task, OperationResult result)
This method is called when a review is requested- Parameters:
result
- implementer should report its result here
-
onReviewDeadlineApproaching
void onReviewDeadlineApproaching(ObjectReferenceType reviewerOrDeputyRef, ObjectReferenceType actualReviewerRef, List<AccessCertificationCaseType> cases, AccessCertificationCampaignType campaign, Task task, OperationResult result)
This method is called by certification module when a certification case review deadline is approaching. The strategy for calling this method (e.g. how often and exactly how many days/hours before the deadline) will be configurable in the future.- Parameters:
result
- implementer should report its result here
-
-