Examples of execute()


Examples of anvil.script.Function.execute()

    case Type.CLASS:
      {
        ClassType type = (ClassType)_type;
        Function ctor = type.getConstructor();
        if (ctor != null) {
          return ctor.execute(context, parameters);
        }
        throw context.InstantiationError("No constructor for "+type);
      }
     
View Full Code Here

Examples of ar.com.AmberSoft.iEvenTask.backend.entities.Relation.execute()

              + " , 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

Examples of ar.com.AmberSoft.iEvenTask.services.CreateTaskService.execute()

      }
     
      CreateTaskService service = new CreateTaskService();
      params.put(ParamsConst.ESTADO, StatusConst.PENDIENTE);
      params.put(ParamsConst.GET_ENTITY, Boolean.TRUE);
      Map result = service.execute(params);
      Tarea tarea = (Tarea) result.get(ParamsConst.ENTITY);
      this.setTarea(tarea);

      result.put(ParamsConst.ENTITY, this);
      UpdateEntityService updateEntityService = new UpdateEntityService();
View Full Code Here

Examples of ar.com.AmberSoft.iEvenTask.services.GetEventService.execute()

      GetEventService getEventService = new GetEventService();
      Transaction transaction = getEventService.getSession()
          .beginTransaction();
      params.put(ParamsConst.TRANSACTION_CONTROL, Boolean.FALSE);
      Map result = getEventService.execute(params);
      event = (Event) result.get(ParamsConst.ENTITY);

      if ((event != null) && (isAvaiable())) {
        Set relations = event.getRelationsAvaiable();
        transaction.commit();
View Full Code Here

Examples of ar.com.AmberSoft.iEvenTask.services.GetTaskService.execute()

    Map params = new HashMap();
    params.put(ParamsConst.ID, id);
    params.put(ParamsConst.TRANSACTION_CONTROL, Boolean.FALSE);
    Map result;
    try {
      result = service.execute(params);
      tareas.add((Tarea) result.get(ParamsConst.ENTITY));
    } catch (Exception e) {
      logger.error(Tools.getStackTrace(e));
    }
   
View Full Code Here

Examples of ar.com.AmberSoft.iEvenTask.services.ListEventService.execute()

     
      ListEventService listEventService = new ListEventService();
      Transaction transaction = listEventService.getSession().beginTransaction();
      Map param = new HashMap();
      param.put(ParamsConst.TRANSACTION_CONTROL, Boolean.FALSE);
      Map result = listEventService.execute(param);
     
      Collection events = (Collection) result.get(ParamsConst.DATA);
      // Se lanza la deteccion para los eventos que tienen alguna relacion establecida
      // y que no se encuentren actualmente en ejecucion
      for (Iterator iterator = events.iterator(); iterator.hasNext();) {
View Full Code Here

Examples of ar.com.AmberSoft.iEvenTask.services.ListProfileService.execute()

 
  public void load()  throws Exception {
    profiles = new HashMap<String, Profile>();
    ListProfileService service = new ListProfileService();
    Map params = new HashMap();
    Map result = service.execute(params) ;
    Collection datas = (Collection) result.get(ParamsConst.DATA);
    Iterator itData = datas.iterator();
    while (itData.hasNext()) {
      Profile actual = (Profile) itData.next();
      profiles.put(actual.getGroupLDAP().trim(), actual);
View Full Code Here

Examples of ar.com.AmberSoft.iEvenTask.services.Service.execute()

   
    try {
      params.put(ParamsConst.REQUEST, req);
      params.put(ListService.LIMIT, null);
      params.put(ListService.OFFSET, null);
      Map result = service.execute(params);
      Collection datas = (Collection) result.get(ParamsConst.DATA);
     
      if (datas!=null){
        Iterator itDatas = datas.iterator();
        int i=0;
View Full Code Here

Examples of ar.com.AmberSoft.iEvenTask.services.UpdateEntityService.execute()

      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

Examples of at.bestsolution.efxclipse.tooling.rrobot.model.task.BooleanExpression.execute()

  public boolean excludeExpression(final ExcludeableElementMixin mixin, final Map<String,Object> data) {
    BooleanExpression _excludeExpression = mixin.getExcludeExpression();
    boolean _notEquals = (!Objects.equal(_excludeExpression, null));
    if (_notEquals) {
      BooleanExpression _excludeExpression_1 = mixin.getExcludeExpression();
      boolean _execute = _excludeExpression_1.execute(data);
      return (!_execute);
    }
    return true;
  }
}
View Full Code Here
TOP
Copyright © 2015 www.massapi.com. 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.