@Override
  protected OperationStatus executeSimpleImpl() throws Exception {
    LOGGER.debug("QualificationUpdateReminderAutoMail");
    Qualification qualification = this.getQualification();
    AppServiceFacade.getQualificationService()
        .createQualificationCheckAutoReachability(
            qualification, true, this.userIdCaller, this.tldCaller);

    return OperationStatus.Succed;
  }
Esempio n. 2
0
  /** Crée et execute une opération pour la qualification */
  public Qualification execute(
      QualificationOperationType qualificationOperationType,
      Map<OperationType, String> comment,
      Map<OperationType, Email> email)
      throws ServiceException {
    Operation operation =
        qualificationOperationType.createOperation(
            this, comment, email, this.userIdCaller, this.tldCaller);

    operation.execute();
    return AppServiceFacade.getQualificationService()
        .getQualification(this.getId(), this.userIdCaller, this.tldCaller);
  }
Esempio n. 3
0
 @Override
 public void populate() throws ServiceException {
   AppServiceFacade.getQualificationService()
       .populateQualification(this, this.userIdCaller, this.tldCaller);
 }