Package ehistory.server.api

Examples of ehistory.server.api.EventsService


import java.util.List;

public class BackendBean {

    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


            throw new RuntimeException(e);
        }
    }

    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

            throw new RuntimeException(e);
        }
    }

    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

            throw new RuntimeException(e);
        }
    }

    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

Related Classes of ehistory.server.api.EventsService

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.