Package ehistory.server.api

Examples of ehistory.server.api.EventsService.process()


    public List<HObject> getObjects() {
        EventsService eventsService = SpringUtils.lookupBean("eventsService");
        GetObjectsRequest request = new GetObjectsRequest();
        try {
            return eventsService.process(request).getObjects();
        } catch (ServiceException e) {
            throw new RuntimeException(e);
        }
    }
View Full Code Here


    public List<HObject> getMap(MapFilter filter) {
        EventsService eventsService = SpringUtils.lookupBean("eventsService");
        GetMapRequest request = new GetMapRequest();
        request.setFilter(filter);
        try {
            return eventsService.process(request).getObjects();
        } catch (ServiceException e) {
            throw new RuntimeException(e);
        }
    }
View Full Code Here

    public GetEventsResponse getEvents(EventsFilter filter) {
        EventsService eventsService = SpringUtils.lookupBean("eventsService");
        GetEventsRequest request = new GetEventsRequest();
        request.setFilter(filter);
        try {
            return eventsService.process(request);
        } catch (ServiceException e) {
            throw new RuntimeException(e);
        }
    }
View Full Code Here

    public EventDetails getEventDetail(String eventUid) {
        EventsService eventsService = SpringUtils.lookupBean("eventsService");
        GetEventDetailsRequest request = new GetEventDetailsRequest();
        request.setEventUid(eventUid);
        try {
            return eventsService.process(request).getEventDetail();
        } catch (ServiceException e) {
            throw new RuntimeException(e);
        }
    }
}
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.