public IItemCollection getProcedureClosedTasksGroupByPcd(String resp) throws ISPACException { DbCnt cnt = context.getConnection(); try { return WLClosedTaskDAO.getTasksGroupByPcd(cnt, resp).disconnect(); } catch (ISPACException ie) { throw new ISPACException("Error en WorklistAPI:getProcedureClosedTasksGroupByPcd()", ie); } finally { context.releaseConnection(cnt); } }
public IItemCollection getClosedTasksCTL(int taskCtlId) throws ISPACException { String resp = getRespString(); DbCnt cnt = context.getConnection(); try { return WLClosedTaskDAO.getTasksCTL(cnt, resp, taskCtlId).disconnect(); } catch (ISPACException ie) { throw new ISPACException("Error en WLWorklist:getClosedTasksCTL(" + taskCtlId + ")", ie); } finally { context.releaseConnection(cnt); } }