Package org.libreplan.ws.workreports.api

Examples of org.libreplan.ws.workreports.api.WorkReportLineDTO


        return workReportType;
    }

    private WorkReportLineDTO createWorkReportLineDTO() {
        WorkReportLineDTO workReportLineDTO = new WorkReportLineDTO();

        workReportLineDTO.code = "work-report-line-code-" + UUID.randomUUID();
        workReportLineDTO.resource = resourceCode;
        workReportLineDTO.orderElement = orderElementCode;
        workReportLineDTO.date = DateConverter
View Full Code Here


                        return workReportDAO.getAll().size();
                    }
                });

        WorkReportDTO workReportDTO = createWorkReportDTO(workReportTypeCode3);
        WorkReportLineDTO workReportLineDTO = workReportDTO.workReportLines
                .iterator().next();

        int hours = 12;
        LocalTime start = new LocalTime(8, 0);
        LocalTime end = start.plusHours(hours);
View Full Code Here

                .getDescriptionValues());
        if (descriptionValuesDTOs.isEmpty()) {
            descriptionValuesDTOs = null;
        }

        WorkReportLineDTO workReportLineDTO = new WorkReportLineDTO(code, date,
                resource, orderElement, typeOfWorkHours, clockStart,
                clockFinish, numHours, labelDTOs, descriptionValuesDTOs);

        return workReportLineDTO;
    }
View Full Code Here

TOP

Related Classes of org.libreplan.ws.workreports.api.WorkReportLineDTO

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.