|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EventService
Interfaces for an event service.
Method Summary | |
---|---|
java.util.List<Event> |
findAllEvents()
Finds all Event objects. |
java.util.List<EventAttendance> |
findAllEventsAttendanceByUser(User user)
Finds all EventAttendance objects for a particular User . |
EventAttendance |
findEventAttendance(Event event,
User user)
Finds the EventAttendance object for a particular Event
and User . |
Event |
findEventById(java.lang.Integer id)
Finds an Event by ID. |
java.util.List<Event> |
findEvents(City city,
ProvinceState provinceState,
EventType eventType,
java.lang.String keyword)
Finds a List of Event objects in a City and
ProvinceState for a particular EventType and keyword. |
java.util.List<Event> |
findUserEvents(java.util.Date start,
java.util.Date end,
User user)
Finds a List of Event objects between a start and end date
created by a particular User . |
EventAttendance |
saveAttendance(EventAttendance attendance)
Saves an EventAttendance object. |
Event |
saveEvent(Event event)
Saves an Event . |
Method Detail |
---|
java.util.List<Event> findAllEvents()
Event
objects.
java.util.List<EventAttendance> findAllEventsAttendanceByUser(User user)
EventAttendance
objects for a particular User
.
user
- The User object.
EventAttendance findEventAttendance(Event event, User user)
EventAttendance
object for a particular Event
and User
.
event
- The Event object.user
- The User object.
Event findEventById(java.lang.Integer id)
Event
by ID.
id
- The Event ID.
java.util.List<Event> findEvents(City city, ProvinceState provinceState, EventType eventType, java.lang.String keyword)
Event
objects in a City
and
ProvinceState
for a particular EventType
and keyword.
city
- The City object.provinceState
- The ProvinceState object.eventType
- The EventType object.keyword
- A keyword.
java.util.List<Event> findUserEvents(java.util.Date start, java.util.Date end, User user)
Event
objects between a start and end date
created by a particular User
.
start
- The start date.end
- The end date.user
- The User object.
EventAttendance saveAttendance(EventAttendance attendance)
EventAttendance
object.
attendance
- The EventAttendance object.
Event saveEvent(Event event)
Event
.
event
- The Event object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |