Package org.libreplan.ws.boundusers.api

Examples of org.libreplan.ws.boundusers.api.PersonalTimesheetEntryListDTO


            Collection<WorkReportLine> workReportLines) {
        List<PersonalTimesheetEntryDTO> dtos = new ArrayList<PersonalTimesheetEntryDTO>();
        for (WorkReportLine line : workReportLines) {
            dtos.add(toDTO(line));
        }
        return new PersonalTimesheetEntryListDTO(dtos);
    }
View Full Code Here


                            .getBoundResourceFromSession());
            List<WorkReportLine> workReportLines = workReportLineDAO
                    .findByOrderElementAndWorkReports(orderElement, workReports);
            Collections.sort(workReportLines);
            Collections.reverse(workReportLines);
            PersonalTimesheetEntryListDTO dto = PersonalTimesheetEntryConverter
                    .toDTO(workReportLines);
            return Response.ok(dto).build();
        } catch (InstanceNotFoundException e) {
            return Response.status(Status.NOT_FOUND).build();
        }
View Full Code Here

TOP

Related Classes of org.libreplan.ws.boundusers.api.PersonalTimesheetEntryListDTO

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.