Package ar.com.AmberSoft.iEvenTask.services

Examples of ar.com.AmberSoft.iEvenTask.services.UpdateEntityService


        logger.debug("Se detecta la modificacion del archivo:"
            + getEvent().getPath());
        detected = Boolean.TRUE;
      }
      getEvent().setLastModification(lastModified);
      UpdateEntityService entityService = new UpdateEntityService();
      Map params = new HashMap();
      params.put(ParamsConst.ENTITY, getEvent());
      try {
        entityService.execute(params);
      } catch (Exception e) {
        logger.error(Tools.getStackTrace(e));
      }
    }
View Full Code Here


      Iterator it = tareas.iterator();
      while (it.hasNext()) {
        Tarea tarea = (Tarea) it.next();
        if (fromState.equals(tarea.getEstado())){
          tarea.setEstado(toState);
          UpdateEntityService entityService = new UpdateEntityService();
          Map params = new HashMap();
          params.put(ParamsConst.ENTITY, tarea);
          try {
            entityService.execute(params);
          } catch (Exception e) {
            logger.error(Tools.getStackTrace(e));
          }
        }
      }
View Full Code Here

            relation.execute();
          }
        }

        event.setExecutions(executionCount);
        UpdateEntityService updateEntityService = new UpdateEntityService();
        updateEntityService.execute(result);
        BackgroundEventDetectProcess process = BackgroundEventController
            .getInstance().getFactory().getProcess(event);
        process.executionCount = executionCount;

        logger.debug("Finaliza la ejecucion "
View Full Code Here

      Map result = service.execute(params);
      Tarea tarea = (Tarea) result.get(ParamsConst.ENTITY);
      this.setTarea(tarea);

      result.put(ParamsConst.ENTITY, this);
      UpdateEntityService updateEntityService = new UpdateEntityService();
      updateEntityService.execute(result);
    } else {
      logger.info("La tarea anterior (" + this.getTarea().getNombreTarea() + "), aun no se encuentra finalizada o suspendida." );
    }
   
  }
View Full Code Here

TOP

Related Classes of ar.com.AmberSoft.iEvenTask.services.UpdateEntityService

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.