Examples of CalendarExceptionTypeDTO


Examples of org.libreplan.ws.calendarexceptiontypes.api.CalendarExceptionTypeDTO

        int seconds = (duration != null) ? duration.getSeconds() : 0;

        CalendarExceptionTypeColorDTO colorDTO = CalendarExceptionTypeColorConverter
                .toDTO(calendarExceptionType.getColor());

        return new CalendarExceptionTypeDTO(calendarExceptionType.getCode(),
                calendarExceptionType.getName(), colorDTO,
                calendarExceptionType.isOverAssignableWithoutLimit(),
                seconds);
    }
View Full Code Here

Examples of org.libreplan.ws.calendarexceptiontypes.api.CalendarExceptionTypeDTO

        CalendarExceptionTypeListDTO list = calendarExceptionTypeService
                .getCalendarExceptionType();
        assertThat(list.calendarExceptionTypes.size(), equalTo(1));

        CalendarExceptionTypeDTO calendarExceptionTypeDTO = list.calendarExceptionTypes
                .get(0);
        assertThat(calendarExceptionTypeDTO.code, equalTo(calendarExceptionType
                .getCode()));
        assertThat(calendarExceptionTypeDTO.name, equalTo(calendarExceptionType
                .getName()));
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.