Package ar.com.AmberSoft.iEvenTask.backend.entities

Examples of ar.com.AmberSoft.iEvenTask.backend.entities.Relation


          logger.debug("Ejecucion " + executionCount.toString()
              + " , deteccion evento: " + event.getName());
         
          Iterator<Relation> iRelations = relations.iterator();
          while (iRelations.hasNext()) {
            Relation relation = (Relation) iRelations.next();
            relation.execute();
          }
        }

        event.setExecutions(executionCount);
        UpdateEntityService updateEntityService = new UpdateEntityService();
View Full Code Here


      }

      Collection<Relation> relaciones = (Collection<Relation>) result.get(ParamsConst.DATA);
      Iterator<Relation> itRelaciones = relaciones.iterator();
      while (itRelaciones.hasNext()) {
        Relation relation = (Relation) itRelaciones.next();
        if (relation instanceof RelationWithActionCreateTask) {
          RelationWithActionCreateTask create = (RelationWithActionCreateTask) relation;
          create.setTarea(null);
        }
        if (relation instanceof RelationWithModifyStateTask) {
          RelationWithModifyStateTask modify = (RelationWithModifyStateTask) relation;
          Collection tareas = modify.getTareas();
          if (tareas!=null){
            Iterator<Tarea> itTareas = tareas.iterator();
            while (itTareas.hasNext()) {
              Tarea tarea = (Tarea) itTareas.next();
              //tarea.set
            }
          }
          //modify.setTareas(null);
        }
        Collection visibles = relation.getVisibles();
        if (visibles!=null){
          Iterator<VisibleRelation> itVisibles = visibles.iterator();
          while (itVisibles.hasNext()) {
            VisibleRelation visibleRelation = (VisibleRelation) itVisibles.next();
            visibleRelation.setRelation(null);
View Full Code Here

 
  protected void previousReturnMap(Map params, Map map) {
    Collection<Relation> relaciones = (Collection<Relation>) map.get(ParamsConst.DATA);
    Iterator<Relation> itRelaciones = relaciones.iterator();
    while (itRelaciones.hasNext()) {
      Relation relation = (Relation) itRelaciones.next();
      /*if (relation instanceof RelationWithActionCreateTask) {
        RelationWithActionCreateTask create = (RelationWithActionCreateTask) relation;
        create.setTarea(null);
      }*/
      if (relation instanceof RelationWithModifyStateTask) {
View Full Code Here

TOP

Related Classes of ar.com.AmberSoft.iEvenTask.backend.entities.Relation

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.