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 Details

    • onCampaignStart

      void onCampaignStart(AccessCertificationCampaignType campaign, Task task, OperationResult result)
      This method is called by certification module when a certification campaign starts.
      Parameters:
      campaign - TODO
      task -
      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 - TODO
      task -
      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 - TODO
      task -
      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 - TODO
      task -
      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 - TODO
      task -
      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