Package org.opencustomer.db.dao.calendar.custom

Examples of org.opencustomer.db.dao.calendar.custom.CalendarListDAO


        String paramUserName = form.getUserName();
        String paramFirstName = form.getFirstName();
        String paramLastName = form.getLastName();
        String paramName = form.getName();

        CalendarListDAO dao = new CalendarListDAO();

        count = dao.countList(paramName, paramUserName, paramFirstName, paramLastName, null, user);
        if (count < page.getFirstEntry())
            page.setPage(1);

        if (count > 0)
            list = dao.getList(paramName, paramUserName, paramFirstName, paramLastName, null, sort, page, user);
        else
            list = new ArrayList<CalendarListVO>();

        ScrollBean scroll = new ScrollBean();
        scroll.setCount(count);
View Full Code Here


        String paramName = form.getName();

        List<CalendarVO> excludedCalendars = new ArrayList<CalendarVO>();
        excludedCalendars.add(user.getCalendar());
       
        CalendarListDAO dao = new CalendarListDAO();
       
        count = dao.countList(paramName, paramUserName, null, null, excludedCalendars, user);
        if (count < page.getFirstEntry())
            page.setPage(1);

        if (count > 0)
            list = dao.getList(paramName, paramUserName, null, null, excludedCalendars, sort, page, user);
        else
            list = new ArrayList<CalendarListVO>();

        ScrollBean scroll = new ScrollBean();
        scroll.setCount(count);
View Full Code Here

TOP

Related Classes of org.opencustomer.db.dao.calendar.custom.CalendarListDAO

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.