Class EventServiceImpl
java.lang.Object
org.oxerr.viagogo.client.rescu.impl.catalog.EventServiceImpl
- All Implemented Interfaces:
EventService
-
Constructor Summary
-
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, wait
Methods 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:EventService
List events.- Specified by:
getEvents
in 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:EventService
Get an event on the viagogo platform using an identifier from an external platform.- Specified by:
getEventByExternalEventId
in 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:EventService
Get an event.- Specified by:
getEvent
in interfaceEventService
- Parameters:
eventId
- The event identifier.- Returns:
- the event.
- Throws:
IOException
- indicates any I/O exception.
-
searchEvents
Description copied from interface:EventService
Search events.- Specified by:
searchEvents
in interfaceEventService
- Parameters:
searchEventRequest
- the request.- Returns:
- the events.
- Throws:
IOException
- indicates any I/O exception.
-