Package javolution.util

Examples of javolution.util.FastMap


    public Center getCenter(String id) {
        return (Center) queryForObject("selectCenter", id);
    }

    public List<Center> getCentersAsList(int page) {
        Map params = new FastMap();
        params.put("limit", offset);
        params.put("offset", page);
        return queryForList("selectCenters", params);
    }
View Full Code Here


    public boolean deleteCenterUsers(String centerId) throws DataAccessException {
        return delete("deleteCenterUsers", centerId) == 1;
    }

    public Collection<CenterUser> getCenterUsersByZipCode(String zipCode, String centerId, int page) throws DataAccessException {
        Map params = new FastMap();
        params.put("zipCode", zipCode);
        params.put("centerId", centerId);
        params.put("limit", offset);
        params.put("offset", page * offset);
        return queryForList("getCenterUserByZipCode", params);
    }
View Full Code Here

        params.put("offset", page * offset);
        return queryForList("getCenterUserByZipCode", params);
    }

    public Collection<CenterUser> getCenterUsersByCity(String city, String centerId, int page) throws DataAccessException {
        Map params = new FastMap();
        params.put("city", city);
        params.put("centerId", centerId);
        params.put("limit", offset);
        params.put("offset", page * offset);
        return queryForList("getCenterUserByCity", params);
    }
View Full Code Here

        params.put("offset", page * offset);
        return queryForList("getCenterUserByCity", params);
    }

    public Collection<CenterUser> getCenterUsersByNameAndSurname(String name, String surname, String centerId, int page) throws DataAccessException {
        Map params = new FastMap();
        params.put("name", name.toUpperCase());
        params.put("surname", surname.toUpperCase());
        params.put("centerId", centerId);
        params.put("limit", offset);
        params.put("offset", page * offset);
        return queryForList("getCenterUserByNameAndSurname", params);
    }
View Full Code Here

        params.put("offset", page * offset);
        return queryForList("getCenterUserByNameAndSurname", params);
    }

    public Collection<CenterUser> getCenterUsersByProvince(String province, String centerId, int page) throws DataAccessException {
        Map params = new FastMap();
        params.put("province", province);
        params.put("centerId", centerId);
        params.put("limit", offset);
        params.put("offset", page * offset);
        return queryForList("getCenterUserByProvince", params);
    }
View Full Code Here

    public int getCenterUsersOnPage() throws DataAccessException {
        return offset;
    }

    public Collection<CenterUser> getCenterUsers(String centerId, int page) throws DataAccessException {
        Map params = new FastMap();
        params.put("centerId", centerId);
        params.put("limit", offset);
        params.put("offset", page * offset);
        return queryForList("getCenterUsers", params);
    }
View Full Code Here

            }
        });
    }

    public void updateDeleteGroup(String centerId, String groupId) throws DataAccessException {
        Map params = new FastMap(2);
        params.put("centerId", centerId);
        params.put("groupId", groupId);
        update("updateDeleteGroup", params);
    }
View Full Code Here

public class CenterUserCommand implements Comparable<CenterUserCommand>, Identifiable{

    private Map map;

    protected CenterUserCommand() {
        map = new FastMap();
    }
View Full Code Here

    protected CenterUserCommand() {
        map = new FastMap();
    }
   
    protected CenterUserCommand(Map map) {
        this.map = new FastMap(map);
    }
View Full Code Here

public class CenterCommand implements Comparable<CenterCommand>, Identifiable {
   
    private Map map;

    protected CenterCommand() {
        map = new FastMap();
    }
View Full Code Here

TOP

Related Classes of javolution.util.FastMap

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.