Package com.peusoft.ptcollect.server.service.report.context

Examples of com.peusoft.ptcollect.server.service.report.context.WorkTimeReportContext


                    ErrorCode.ERR_WRONG_PARAMETER,
                    "writer can't be null."));
        }

        // build context
        WorkTimeReportContext report_context = new WorkTimeReportContext(from, till);
        List<Project> projects = new ArrayList<Project>();
        projects.add(project);
        Collection<WorkDayTimeRecord> records = getData(user, projects, projectActivities, from, till);
        for (WorkDayTimeRecord workDayTimeRecord : records) {
            report_context.addWorkingTimeRecord(workDayTimeRecord);
        }

        // fill template
        fillTemplate(templateName, report_context, writer);
    }
View Full Code Here

TOP

Related Classes of com.peusoft.ptcollect.server.service.report.context.WorkTimeReportContext

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.