Exemplo n.º 1
0
  public IItemCollection getExpiredTerms(int type) throws ISPACException {

    String resp = getRespString();
    DbCnt cnt = context.getConnection();
    try {
      return DeadLineDAO.getTerms(cnt, type, resp).disconnect();
    } catch (ISPACException ie) {
      throw new ISPACException("Error en invesflowAPI:getTerms(" + type + ")", ie);
    } finally {
      context.releaseConnection(cnt);
    }
  }