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

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


 
 
  @Override
  public Map onExecute(Map params) {
    Map result = super.onExecute(params);
    Tarea tarea = (Tarea) result.get(ParamsConst.ENTITY);
   
    preventLazy(tarea.getSubtareas());
   
    result.put(ParamsConst.ENTITY, tarea);
   
    return result;
  }
View Full Code Here


   
    GetTaskService getTaskService = new GetTaskService();
    params.put(ParamsConst.TRANSACTION_CONTROL, Boolean.FALSE);
    params.putAll(getTaskService.execute(params));
   
    Tarea tarea = (Tarea) getEntity(params);

    getSession().saveOrUpdate(tarea);
    return null;
  }
View Full Code Here

    GetTaskService getTaskService = new GetTaskService();
    params.put(ParamsConst.TRANSACTION_CONTROL, Boolean.FALSE);
    Transaction transaction = getTaskService.getSession().beginTransaction();
    try {
      Map result = getTaskService.execute(params);
      Tarea tarea = (Tarea) result.get(ParamsConst.ENTITY);

      HttpServletRequest request = (HttpServletRequest) params.get(ParamsConst.REQUEST);
      User user = (User) request.getSession().getAttribute(ParamsConst.USER);
     
      String comment = (String) params.get(ParamsConst.COMMENT);
View Full Code Here

TOP

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

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.