| Modifier and Type | Method and Description |
|---|---|
User |
Event.getCreator()
Returns the creator of the event.
|
User |
Event.getOrganizer()
Returns the organizer of the event.
|
User |
VerificationToken.toUser()
Gets the associated user.
|
| Modifier and Type | Method and Description |
|---|---|
Set<User> |
Event.getAssistants()
Returns the list of attendees of this event.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Event.addAttendee(User attendee)
Adds a new
User to this event's assistants set. |
boolean |
Event.isAttendee(User attendee)
Checks whether a given
User is an attendee of the current event. |
void |
Event.removeAttendee(User attendee)
Removes an
User from this event's assistants set. |
void |
Event.setAssistants(User attendee)
Sets a attendees of this event.
|
void |
Event.setCreator(User creator)
Sets the creator of this event.
|
void |
Event.setOrganizer(User organizer)
Sets the organizer of this event.
|
| Constructor and Description |
|---|
Event(int id,
User organizer,
User creator,
String title,
String head,
String description,
Category category,
String location,
Date start,
Date end) |
Event(int id,
User organizer,
User creator,
String title,
String head,
String description,
Category category,
String location,
Date start,
Date end,
boolean canceled) |
Event(User organizer,
User creator,
String title,
String head,
String description,
Category category,
String location,
Date start,
Date end)
Creates a new instance of
Event |
VerificationToken(String token,
User user)
Creates a new instance of VerificationToken.
|
Copyright © 2017. All rights reserved.