Package org.focusns.model.calendar

Examples of org.focusns.model.calendar.Event


    @Autowired
    private EventService eventService;

    @Test
    public void createEvent() {
        Event event = new Event();
        event.setTitle("event title");
        event.setContent("event content");
        event.setBegin(new Date());
        event.setEnd(new Date());
        event.setCreatedAt(new Date());
        event.setModifiedAt(new Date());
        event.setCreatedById(1);
        event.setModifiedById(1);
        event.setProjectId(1);
        event.setCategoryId(1);
        //
        eventService.createEvent(event);
    }
View Full Code Here

TOP

Related Classes of org.focusns.model.calendar.Event

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.