|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EventOperations
Defines operations for creating and reading event data as well as RSVP'ing to events on behalf of a user.
Method Summary | |
---|---|
void |
acceptInvitation(java.lang.String eventId)
Accepts an invitation to an event. |
java.lang.String |
createEvent(java.lang.String name,
java.lang.String startTime,
java.lang.String endTime)
Creates an event. |
void |
declineInvitation(java.lang.String eventId)
Declines an invitation to an event. |
void |
deleteEvent(java.lang.String eventId)
Deletes an event. |
java.util.List<EventInvitee> |
getAttending(java.lang.String eventId)
Retrieves the list of an event's invitees who have accepted the invitation. |
java.util.List<EventInvitee> |
getDeclined(java.lang.String eventId)
Retrieves the list of an event's invitees who have declined the invitation. |
Event |
getEvent(java.lang.String eventId)
Retrieves event data for a specified event. |
byte[] |
getEventImage(java.lang.String eventId)
Retrieves an event's image as an array of bytes. |
byte[] |
getEventImage(java.lang.String eventId,
ImageType imageType)
Retrieves an event's image as an array of bytes. |
java.util.List<Invitation> |
getInvitations()
Retrieves a list of events that the authenticated user has been invited to. |
java.util.List<Invitation> |
getInvitations(java.lang.String userId)
Retrieves a list of events that the specified user has been invited to. |
java.util.List<EventInvitee> |
getInvited(java.lang.String eventId)
Retrieves the list of an event's invitees. |
java.util.List<EventInvitee> |
getMaybeAttending(java.lang.String eventId)
Retrieves the list of an event's invitees who have indicated that they may attend the event. |
java.util.List<EventInvitee> |
getNoReplies(java.lang.String eventId)
Retrieves the list of an event's invitees who have not yet RSVP'd. |
void |
maybeInvitation(java.lang.String eventId)
RSVPs to an event with a maybe. |
Method Detail |
---|
java.util.List<Invitation> getInvitations()
Invitation
s for the user, or an empty list if not available.java.util.List<Invitation> getInvitations(java.lang.String userId)
userId
- the user's ID
Invitation
s for the user, or an empty list if not available.Event getEvent(java.lang.String eventId)
eventId
- the event ID
Event
objectbyte[] getEventImage(java.lang.String eventId)
eventId
- the event ID
byte[] getEventImage(java.lang.String eventId, ImageType imageType)
eventId
- the event IDimageType
- the image type (eg., small, normal, large. square)
java.lang.String createEvent(java.lang.String name, java.lang.String startTime, java.lang.String endTime)
name
- the name of the eventstartTime
- the start time of the event.endTime
- the end time of the event.
void deleteEvent(java.lang.String eventId)
eventId
- the ID of the eventjava.util.List<EventInvitee> getInvited(java.lang.String eventId)
eventId
- the event ID.
EventInvitee
s for the event.java.util.List<EventInvitee> getAttending(java.lang.String eventId)
eventId
- the event ID.
EventInvitee
s for the event.java.util.List<EventInvitee> getMaybeAttending(java.lang.String eventId)
eventId
- the event ID.
EventInvitee
s for the event.java.util.List<EventInvitee> getNoReplies(java.lang.String eventId)
eventId
- the event ID.
EventInvitee
s for the event.java.util.List<EventInvitee> getDeclined(java.lang.String eventId)
eventId
- the event ID.
EventInvitee
s for the event.void acceptInvitation(java.lang.String eventId)
eventId
- the event IDvoid maybeInvitation(java.lang.String eventId)
eventId
- the event IDvoid declineInvitation(java.lang.String eventId)
eventId
- the event ID
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |