Examples of AggregateTimesheetQuery


Examples of org.nxplanner.db.AggregateTimesheetQuery

            Session session = getSession(request);
            try {

                form.setAllPeople(session.find("from people in class org.nxplanner.domain.Person " +
                        "where people.hidden = false order by name"));
                AggregateTimesheetQuery query = new AggregateTimesheetQuery(getSession(request));
                query.setPersonIds(form.getSelectedPeople());
                query.setStartDate(form.getStartDate());
                query.setEndDate(form.getEndDate());
                form.setTimesheet(query.getTimesheet());
                if (form.getDateFormat() == null) {
                    String format = getResources(request).getMessage("format.date");
                    form.setDateFormat(new SimpleDateFormat(format));
                }
                return actionMapping.findForward("view/aggregateTimesheet");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.