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.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonCampaignEnd(AccessCertificationCampaignType campaign, Task task, OperationResult result) This method is called by certification module when a certification campaign ends (i.e. is closed).voidonCampaignStageDeadlineApproaching(AccessCertificationCampaignType campaign, Task task, OperationResult result) This method is called by certification module when a certification campaign stage deadline is approaching.voidonCampaignStageEnd(AccessCertificationCampaignType campaign, Task task, OperationResult result) This method is called by certification module when a certification campaign stage ends (i.e. is closed).voidonCampaignStageStart(AccessCertificationCampaignType campaign, Task task, OperationResult result) This method is called by certification module when a certification campaign stage starts.voidonCampaignStart(AccessCertificationCampaignType campaign, Task task, OperationResult result) This method is called by certification module when a certification campaign starts.voidonReviewDeadlineApproaching(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.voidonReviewRequested(ObjectReferenceType reviewerOrDeputyRef, ObjectReferenceType actualReviewerRef, List<AccessCertificationCaseType> cases, AccessCertificationCampaignType campaign, Task task, OperationResult result) This method is called when a review is requested
-
Method Details
-
onCampaignStart
This method is called by certification module when a certification campaign starts.- Parameters:
campaign- TODOtask-result- implementer should report its result here
-
onCampaignEnd
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
-