Package com.mossle.meeting.domain

Examples of com.mossle.meeting.domain.MeetingInfo


    @RequestMapping("meeting-info-input")
    public String input(@RequestParam(value = "id", required = false) Long id,
            Model model) {
        if (id != null) {
            MeetingInfo meetingInfo = meetingInfoManager.get(id);
            model.addAttribute("model", meetingInfo);
        }

        List<MeetingRoom> meetingRooms = meetingRoomManager.getAll();
        model.addAttribute("meetingRooms", meetingRooms);
View Full Code Here


    @RequestMapping("meeting-info-save")
    public String save(@ModelAttribute MeetingInfo meetingInfo,
            @RequestParam("meetingRoomId") Long meetingRoomId,
            RedirectAttributes redirectAttributes) {
        MeetingInfo dest = null;

        Long id = meetingInfo.getId();

        if (id != null) {
            dest = meetingInfoManager.get(id);
            beanMapper.copy(meetingInfo, dest);
        } else {
            dest = meetingInfo;
            dest.setMeetingRoom(meetingRoomManager.get(meetingRoomId));
        }

        meetingInfoManager.save(dest);

        messageHelper.addFlashMessage(redirectAttributes, "core.success.save",
View Full Code Here

TOP

Related Classes of com.mossle.meeting.domain.MeetingInfo

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.