|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EventMethods
| Method Summary | |
|---|---|
String |
createEvent(EventUpdate eventUpdate)
Creates the event for the current user/page. |
String |
createEvent(String id,
EventUpdate eventUpdate)
Creates the event for a user/event/page. |
boolean |
deleteEvent(String eventId)
Deletes the event. |
boolean |
deleteEventPicture(String eventId)
Deletes the event's profile picture. |
boolean |
editEvent(String eventId,
EventUpdate eventUpdate)
Updates the event. |
Event |
getEvent(String eventId)
Returns a single event. |
Event |
getEvent(String eventId,
Reading reading)
Returns a single event. |
ResponseList<Photo> |
getEventPhotos(String eventId)
Returns the event's photos. |
ResponseList<Photo> |
getEventPhotos(String eventId,
Reading reading)
Returns the event's photos. |
URL |
getEventPictureURL(String eventId)
Returns url of the event's profile picture. |
URL |
getEventPictureURL(String eventId,
PictureSize size)
Returns url of the event's profile picture. |
ResponseList<Event> |
getEvents()
Returns the events the current user/page is attending. |
ResponseList<Event> |
getEvents(Reading reading)
Returns the events the current user/page is attending. |
ResponseList<Event> |
getEvents(String id)
Returns the events a user/event/page is attending. |
ResponseList<Event> |
getEvents(String id,
Reading reading)
Returns the events a user/event/page is attending. |
ResponseList<Video> |
getEventVideos(String eventId)
Returns the event's videos. |
ResponseList<Video> |
getEventVideos(String eventId,
Reading reading)
Returns the event's videos. |
ResponseList<RSVPStatus> |
getRSVPStatusAsInvited(String eventId)
Returns a list of invitees for the event. |
ResponseList<RSVPStatus> |
getRSVPStatusAsInvited(String eventId,
String userId)
Checks a specific user has been invited to the event. |
ResponseList<RSVPStatus> |
getRSVPStatusAsNoreply(String eventId)
Returns a list of all users who have not replied to the event. |
ResponseList<RSVPStatus> |
getRSVPStatusAsNoreply(String eventId,
String userId)
Returns a single user who have not replied to the event. |
ResponseList<RSVPStatus> |
getRSVPStatusInAttending(String eventId)
Returns a list of all users who responded 'yes' to the event. |
ResponseList<RSVPStatus> |
getRSVPStatusInAttending(String eventId,
String userId)
Checks a specific user responded 'yes' to the event. |
ResponseList<RSVPStatus> |
getRSVPStatusInDeclined(String eventId)
Returns a list of all users who responded 'no' to the event. |
ResponseList<RSVPStatus> |
getRSVPStatusInDeclined(String eventId,
String userId)
Checks a specific user responded 'no' to the event. |
ResponseList<RSVPStatus> |
getRSVPStatusInMaybe(String eventId)
Returns a list of all users who responded 'maybe' to the event. |
ResponseList<RSVPStatus> |
getRSVPStatusInMaybe(String eventId,
String userId)
Checks a specific user responded 'maybe' to the event. |
boolean |
inviteToEvent(String eventId,
String userId)
Invites a user to the event. |
boolean |
inviteToEvent(String eventId,
String[] userIds)
Invites users to the event. |
String |
postEventLink(String eventId,
URL link)
Posts the link on a event's wall. |
String |
postEventLink(String eventId,
URL link,
String message)
Posts the link on a event's wall. |
String |
postEventPhoto(String eventId,
Media source)
Posts the photo on a event's wall. |
String |
postEventPhoto(String eventId,
Media source,
String message)
Posts the photo on a event's wall. |
String |
postEventStatusMessage(String eventId,
String message)
Posts the status message on a event's wall. |
String |
postEventVideo(String eventId,
Media source)
Posts the video on a event's wall. |
String |
postEventVideo(String eventId,
Media source,
String title,
String description)
Posts the video on a event's wall. |
boolean |
rsvpEventAsAttending(String eventId)
RSVPs the current user as 'attending' the event. |
boolean |
rsvpEventAsDeclined(String eventId)
RSVPs the current user as 'declined' the event. |
boolean |
rsvpEventAsMaybe(String eventId)
RSVPs the current user as 'maybe' the event. |
boolean |
uninviteFromEvent(String eventId,
String userId)
Un-invites user from the event. |
boolean |
updateEventPicture(String eventId,
Media source)
Updates the event's profile picture. |
| Method Detail |
|---|
ResponseList<Event> getEvents()
throws FacebookException
FacebookException - when Facebook service or network is unavailable
ResponseList<Event> getEvents(Reading reading)
throws FacebookException
reading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
ResponseList<Event> getEvents(String id)
throws FacebookException
id - the ID of a user
FacebookException - when Facebook service or network is unavailable
ResponseList<Event> getEvents(String id,
Reading reading)
throws FacebookException
id - the ID of a user/pagereading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
String createEvent(EventUpdate eventUpdate)
throws FacebookException
eventUpdate -
FacebookException - when Facebook service or network is unavailable
String createEvent(String id,
EventUpdate eventUpdate)
throws FacebookException
id - the ID of a user/pageeventUpdate - a event to be created
FacebookException - when Facebook service or network is unavailable
boolean editEvent(String eventId,
EventUpdate eventUpdate)
throws FacebookException
eventId - the ID of a eventeventUpdate - the event to be updated
FacebookException - when Facebook service or network is unavailable
boolean deleteEvent(String eventId)
throws FacebookException
eventId - the ID of a event
FacebookException - when Facebook service or network is unavailable
Event getEvent(String eventId)
throws FacebookException
eventId - the ID of a event
FacebookException - when Facebook service or network is unavailable
Event getEvent(String eventId,
Reading reading)
throws FacebookException
eventId - the ID of a eventreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
String postEventLink(String eventId,
URL link)
throws FacebookException
eventId - the ID of a eventlink - link URL
FacebookException - when Facebook service or network is unavailable
String postEventLink(String eventId,
URL link,
String message)
throws FacebookException
eventId - the ID of a eventlink - link URLmessage - link message
FacebookException - when Facebook service or network is unavailable
String postEventStatusMessage(String eventId,
String message)
throws FacebookException
eventId - the ID of a eventmessage - status message content
FacebookException - when Facebook service or network is unavailable
ResponseList<RSVPStatus> getRSVPStatusAsNoreply(String eventId)
throws FacebookException
eventId - the ID of a event
FacebookException - when Facebook service or network is unavailable
ResponseList<RSVPStatus> getRSVPStatusAsNoreply(String eventId,
String userId)
throws FacebookException
eventId - the ID of a event
FacebookException - when Facebook service or network is unavailable
ResponseList<RSVPStatus> getRSVPStatusAsInvited(String eventId)
throws FacebookException
eventId - the ID of a event
FacebookException - when Facebook service or network is unavailable
ResponseList<RSVPStatus> getRSVPStatusAsInvited(String eventId,
String userId)
throws FacebookException
eventId - the ID of a eventuserId - the ID of a user
FacebookException - when Facebook service or network is unavailable
boolean inviteToEvent(String eventId,
String userId)
throws FacebookException
eventId - the ID of a eventuserId - the ID of the user
FacebookException - when Facebook service or network is unavailable
boolean inviteToEvent(String eventId,
String[] userIds)
throws FacebookException
eventId - the ID of a eventuserIds - the IDs of users
FacebookException - when Facebook service or network is unavailable
boolean uninviteFromEvent(String eventId,
String userId)
throws FacebookException
eventId - the ID of a eventuserId - the ID of a user
FacebookException - when Facebook service or network is unavailable
ResponseList<RSVPStatus> getRSVPStatusInAttending(String eventId)
throws FacebookException
eventId - the ID of a event
FacebookException - when Facebook service or network is unavailable
ResponseList<RSVPStatus> getRSVPStatusInAttending(String eventId,
String userId)
throws FacebookException
eventId - the ID of a eventuserId - the ID of a user
FacebookException - when Facebook service or network is unavailable
boolean rsvpEventAsAttending(String eventId)
throws FacebookException
eventId - the ID of a event
FacebookException - when Facebook service or network is unavailable
ResponseList<RSVPStatus> getRSVPStatusInMaybe(String eventId)
throws FacebookException
eventId - the ID of a event
FacebookException - when Facebook service or network is unavailable
ResponseList<RSVPStatus> getRSVPStatusInMaybe(String eventId,
String userId)
throws FacebookException
eventId - the ID of a eventuserId - the ID of a user
FacebookException - when Facebook service or network is unavailable
boolean rsvpEventAsMaybe(String eventId)
throws FacebookException
eventId - the ID of a event
FacebookException - when Facebook service or network is unavailable
ResponseList<RSVPStatus> getRSVPStatusInDeclined(String eventId)
throws FacebookException
eventId - the ID of a event
FacebookException - when Facebook service or network is unavailable
ResponseList<RSVPStatus> getRSVPStatusInDeclined(String eventId,
String userId)
throws FacebookException
eventId - the ID of a eventuserId - the ID of a user
FacebookException - when Facebook service or network is unavailable
boolean rsvpEventAsDeclined(String eventId)
throws FacebookException
eventId - the ID of a event
FacebookException - when Facebook service or network is unavailable
URL getEventPictureURL(String eventId)
throws FacebookException
eventId - the ID of a event
FacebookException - when Facebook service or network is unavailable
URL getEventPictureURL(String eventId,
PictureSize size)
throws FacebookException
eventId - the ID of a eventsize - picture size
FacebookException - when Facebook service or network is unavailable
boolean updateEventPicture(String eventId,
Media source)
throws FacebookException
eventId - the ID of a eventsource - picture resource
FacebookException - when Facebook service or network is unavailable
boolean deleteEventPicture(String eventId)
throws FacebookException
eventId - the ID of a event
FacebookException - when Facebook service or network is unavailable
ResponseList<Photo> getEventPhotos(String eventId)
throws FacebookException
eventId - the ID of a event
FacebookException - when Facebook service or network is unavailable
ResponseList<Photo> getEventPhotos(String eventId,
Reading reading)
throws FacebookException
eventId - the ID of a eventreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
String postEventPhoto(String eventId,
Media source)
throws FacebookException
eventId - the ID of a eventsource - photo resource
FacebookException - when Facebook service or network is unavailable
String postEventPhoto(String eventId,
Media source,
String message)
throws FacebookException
eventId - the ID of a eventsource - photo resourcemessage - photo description
FacebookException - when Facebook service or network is unavailable
ResponseList<Video> getEventVideos(String eventId)
throws FacebookException
eventId - the ID of a event
FacebookException - when Facebook service or network is unavailable
ResponseList<Video> getEventVideos(String eventId,
Reading reading)
throws FacebookException
eventId - the ID of a eventreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
String postEventVideo(String eventId,
Media source)
throws FacebookException
eventId - the ID of a eventsource - video resource
FacebookException - when Facebook service or network is unavailable
String postEventVideo(String eventId,
Media source,
String title,
String description)
throws FacebookException
eventId - the ID of a eventsource - video resourcetitle - video titledescription - video description
FacebookException - when Facebook service or network is unavailable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||