@Service @Repository @Transactional public class EventServiceImpl extends AbstractPagingAndSortingService implements EventService
Constructor and Description |
---|
EventServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
deleteEvent(Long eventId) |
Optional<EventModel> |
getEvent(Long eventId) |
Optional<EventModel> |
getEvent(String catalogId,
String eventName) |
Map<String,EventModel> |
getEventMap() |
List<EventModel> |
getEvents() |
List<EventModel> |
getEvents(int startPage,
int itemsPerPage,
String sortColumn,
String direction) |
List<EventModel> |
getEvents(String catalogId) |
List<EventModel> |
getEvents(String catalogId,
int startPage,
int itemsPerPage,
String sortColumn,
String direction) |
EventModel |
saveEvent(EventModel event) |
createPageRequest
public List<EventModel> getEvents()
getEvents
in interface EventService
public List<EventModel> getEvents(String catalogId)
getEvents
in interface EventService
public List<EventModel> getEvents(int startPage, int itemsPerPage, String sortColumn, String direction)
getEvents
in interface EventService
public List<EventModel> getEvents(String catalogId, int startPage, int itemsPerPage, String sortColumn, String direction)
getEvents
in interface EventService
public Map<String,EventModel> getEventMap()
getEventMap
in interface EventService
public Optional<EventModel> getEvent(Long eventId)
getEvent
in interface EventService
public Optional<EventModel> getEvent(String catalogId, String eventName)
getEvent
in interface EventService
public EventModel saveEvent(EventModel event)
saveEvent
in interface EventService
public void deleteEvent(Long eventId)
deleteEvent
in interface EventService
Copyright © 2016-2018 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Apache Log4j Audit, Log4j, Log4j Audit, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.