Class EventServiceImpl
java.lang.Object
org.oxerr.viagogo.client.rescu.impl.catalog.EventServiceImpl
- All Implemented Interfaces:
EventService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet an event.getEventByExternalEventId(String platform, Long externalEventId) Get an event on the viagogo platform using an identifier from an external platform.getEvents(EventRequest eventRequest) List events.searchEvents(SearchEventRequest searchEventRequest) Search events.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.oxerr.viagogo.client.catalog.EventService
findAll, findFirst, getEvents, searchAll, searchEvents, searchFirst
-
Constructor Details
-
EventServiceImpl
-
-
Method Details
-
getEvents
Description copied from interface:EventServiceList events.- Specified by:
getEventsin interfaceEventService- Parameters:
eventRequest- the request.- Returns:
- the events.
- Throws:
IOException- indicates any I/O exception.
-
getEventByExternalEventId
public Optional<Event> getEventByExternalEventId(String platform, Long externalEventId) throws IOException Description copied from interface:EventServiceGet an event on the viagogo platform using an identifier from an external platform.- Specified by:
getEventByExternalEventIdin interfaceEventService- Parameters:
platform- The name of the external platform. Can belegacy_stubhub.externalEventId- The event identifier from the external platform.- Returns:
- the event.
- Throws:
IOException- indicates any I/O exception.
-
getEvent
Description copied from interface:EventServiceGet an event.- Specified by:
getEventin interfaceEventService- Parameters:
eventId- The event identifier.- Returns:
- the event.
- Throws:
IOException- indicates any I/O exception.
-
searchEvents
Description copied from interface:EventServiceSearch events.- Specified by:
searchEventsin interfaceEventService- Parameters:
searchEventRequest- the request.- Returns:
- the events.
- Throws:
IOException- indicates any I/O exception.
-