Package javolution.util

Examples of javolution.util.FastMap$Entry


        params.put("offset", pagina * offset);
        return getSqlMapClientTemplate().queryForList("getUtentiByCap", params);
    }

    public List<Utente> getUtentiByCitta(String citta, long idCentro, int pagina) throws DataAccessException {
        Map params = new FastMap();
        params.put("citta", citta);
        params.put("idCentro", idCentro);
        params.put("limit", offset);
        params.put("offset", pagina * offset);
        return getSqlMapClientTemplate().queryForList("getUtentiByCitta", params);
    }
View Full Code Here


        params.put("offset", pagina * offset);
        return getSqlMapClientTemplate().queryForList("getUtentiByCitta", params);
    }

    public List<Utente> getUtentiByNominativo(String nominativo, long idCentro, int pagina) throws DataAccessException {
        Map params = new FastMap();
        params.put("nominativoLower", (new StringBuilder(nominativo.toLowerCase().concat("%")).toString()));
        // params.put("nominativoUpper", (new
        // StringBuilder(nominativo.toUpperCase().concat("%")).toString()));
        params.put("idCentro", idCentro);
        params.put("limit", offset);
        params.put("offset", pagina * offset);
        return getSqlMapClientTemplate().queryForList("getUtentiByNominativo", params);
    }
View Full Code Here

        params.put("offset", pagina * offset);
        return getSqlMapClientTemplate().queryForList("getUtentiByNominativo", params);
    }

    public List<Utente> getUtentiByProvincia(String provincia, long idCentro, int pagina) throws DataAccessException {
        Map params = new FastMap();
        params.put("provincia", provincia);
        params.put("idCentro", idCentro);
        params.put("limit", offset);
        params.put("offset", pagina * offset);
        return getSqlMapClientTemplate().queryForList("getUtentiByProvincia", params);
    }
View Full Code Here

    }

    @SuppressWarnings("unchecked")
    protected Map referenceData(HttpServletRequest req, int page) throws Exception {
        if (page == 1) {
            Map model = new FastMap();
            model.put(Constant.FREE_LIST, gruppiService.getGruppiCentro(WebUtils.getIdCentro(req)));
            return model;
        }
        return null;
    }
View Full Code Here

        params.put("offset", pagina * offset);
        return getSqlMapClientTemplate().queryForList("getUtentiByProvincia", params);
    }

    public List<UtenteLight> getUtentiCentro(long idCentro, int pagina) throws DataAccessException {
        Map params = new FastMap();
        params.put("idCentro", idCentro);
        params.put("limit", offset);
        params.put("offset", pagina * offset);
        return getSqlMapClientTemplate().queryForList("getUtentiCentro", params);
    }
View Full Code Here

        return (Long) getSqlMapClientTemplate().insert("insertStorico", storico);
    }

    @SuppressWarnings("unchecked")
    public List<Spedizione> getStorico(SpedizioneCriteria crit) {
        Map params = new FastMap();
        params.put("start", crit.getInizio());
        params.put("stop", crit.getFine());
        params.put("tipo", crit.getTipo());
        params.put("idCentro", crit.getCentro());
        return getSqlMapClientTemplate().queryForList("getStorici", params);
    }
View Full Code Here

        binder.registerCustomEditor(String.class, trimmerEditor);
    }

    @SuppressWarnings("unchecked")
    protected Map referenceData(HttpServletRequest req) throws Exception {
        Map map = new FastMap();
        map.put(Constant.USERNAME, req.getRemoteUser());
        return map;
    }
View Full Code Here

    public List<Annuncio> getAnnunci(int tipo) throws DataAccessException {
        return getSqlMapClientTemplate().queryForList("getAnnunci", tipo);
    }

    public List<Annuncio> getAnnunci(int tipo, int pageNo, long centro) throws DataAccessException {
        Map params = new FastMap();
        params.put("tipo", tipo);
        params.put("limit", offset);
        params.put("offset", offset * pageNo);
        params.put("idCentro", centro);
        return getSqlMapClientTemplate().queryForList("getAnnunciCentro", params);
    }
View Full Code Here

    public int updateGruppo(Gruppo gruppo, long idCentro) {
        return getSqlMapClientTemplate().update("updateGruppo", new GruppoImpl(gruppo, idCentro));
    }

    private Map prepareParams(long id, long idCentro) {
        Map params = new FastMap();
        params.put("id", id);
        params.put("idCentro", idCentro);
        return params;
    }
View Full Code Here

        binder.registerCustomEditor(String.class, trimmerEditor);
    }

    @SuppressWarnings("unchecked")
    protected Map referenceData(HttpServletRequest req) throws Exception {
        Map map = new FastMap();
        map.put(Constant.USERNAME, req.getRemoteUser());
        return map;
    }
View Full Code Here

TOP

Related Classes of javolution.util.FastMap$Entry

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.