|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.umass.lastfm.ImageHolder
de.umass.lastfm.Event
public class Event
Bean for Events.
| Nested Class Summary | |
|---|---|
static class |
Event.AttendanceStatus
Enumeration for the attendance status parameter of the attend operation. |
static class |
Event.TicketSupplier
|
| Field Summary |
|---|
| Fields inherited from class de.umass.lastfm.ImageHolder |
|---|
imageUrls |
| Method Summary | |
|---|---|
static Result |
attend(java.lang.String eventId,
Event.AttendanceStatus status,
Session session)
Set a user's attendance status for an event. |
java.util.Collection<java.lang.String> |
getArtists()
|
int |
getAttendance()
|
static java.util.Collection<User> |
getAttendees(java.lang.String eventId,
java.lang.String apiKey)
Get a list of attendees for an event. |
java.lang.String |
getDescription()
|
java.util.Date |
getEndDate()
Returns the event's end date, or null if not available. |
java.lang.String |
getHeadliner()
|
int |
getId()
|
static Event |
getInfo(java.lang.String eventId,
java.lang.String apiKey)
Get the metadata for an event on Last.fm. |
int |
getReviews()
|
java.util.Date |
getStartDate()
Returns the start date and time of this event. |
java.util.Collection<Event.TicketSupplier> |
getTicketSuppliers()
|
java.lang.String |
getTitle()
|
java.lang.String |
getUrl()
Returns the last.fm event url, i.e. |
Venue |
getVenue()
|
java.lang.String |
getWebsite()
Returns the event website url, if available. |
static Result |
share(java.lang.String eventId,
java.lang.String recipients,
java.lang.String message,
Session session)
Share an event with one or more Last.fm users or other friends. |
| Methods inherited from class de.umass.lastfm.ImageHolder |
|---|
availableSizes, getImageURL, loadImages |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public java.util.Collection<java.lang.String> getArtists()
public int getAttendance()
public java.lang.String getDescription()
public java.lang.String getHeadliner()
public int getId()
public int getReviews()
public java.util.Date getStartDate()
public java.util.Date getEndDate()
null if not available. End dates are only supplied for events such as festivals, which
last longer than one day.
public java.lang.String getTitle()
public java.lang.String getUrl()
public java.lang.String getWebsite()
public java.util.Collection<Event.TicketSupplier> getTicketSuppliers()
public Venue getVenue()
public static Event getInfo(java.lang.String eventId,
java.lang.String apiKey)
eventId - The numeric last.fm event idapiKey - A Last.fm API key.
public static Result attend(java.lang.String eventId,
Event.AttendanceStatus status,
Session session)
eventId - The numeric last.fm event idstatus - The attendance statussession - A Session instance
Event.AttendanceStatus,
Authenticator
public static Result share(java.lang.String eventId,
java.lang.String recipients,
java.lang.String message,
Session session)
eventId - An event IDrecipients - A comma delimited list of email addresses or Last.fm usernames. Maximum is 10.message - An optional message to send with the recommendation.session - A Session instance
public static java.util.Collection<User> getAttendees(java.lang.String eventId,
java.lang.String apiKey)
eventId - The numeric last.fm event idapiKey - A Last.fm API key
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||