@Transient
public void addTarea(Integer id){
if (tareas==null){
tareas = new HashSet<Tarea>();
}
GetTaskService service = new GetTaskService();
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));
}