|
||||||||||
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
Bean for Events.
Nested Class Summary | |
static class |
Event.TicketSupplier
|
Field Summary | |
static int |
AttendanceStatus_ATTENDING
Enumeration for the attendance status parameter of the attend operation. |
static int |
AttendanceStatus_MAYBE_ATTENDING
|
static int |
AttendanceStatus_NOT_ATTENDING
|
Fields inherited from class de.umass.lastfm.ImageHolder |
imageUrls |
Method Summary | |
static Result |
attend(String eventId,
int status,
Session session)
Set a user's attendance status for an event. |
Collection |
getArtists()
|
int |
getAttendance()
|
static Collection |
getAttendees(String eventId,
String apiKey)
Get a list of attendees for an event. |
String |
getDescription()
|
Date |
getEndDate()
Returns the event's end date, or null if not available. |
String |
getHeadliner()
|
int |
getId()
|
static Event |
getInfo(String eventId,
String apiKey)
Get the metadata for an event on Last.fm. |
int |
getReviews()
|
static PaginatedResult |
getShouts(String eventId,
int page,
int limit,
String apiKey)
Get shouts for an event. |
static PaginatedResult |
getShouts(String eventId,
int page,
String apiKey)
Get shouts for an event. |
static PaginatedResult |
getShouts(String eventId,
String apiKey)
Get shouts for an event. |
Date |
getStartDate()
Returns the start date and time of this event. |
Collection |
getTicketSuppliers()
|
String |
getTitle()
|
String |
getUrl()
Returns the last.fm event url, i.e. |
Venue |
getVenue()
|
String |
getWebsite()
Returns the event website url, if available. |
static Result |
share(String eventId,
String recipients,
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 |
Field Detail |
public static final int AttendanceStatus_ATTENDING
attend
operation.
public static final int AttendanceStatus_MAYBE_ATTENDING
public static final int AttendanceStatus_NOT_ATTENDING
Method Detail |
public Collection getArtists()
public int getAttendance()
public String getDescription()
public String getHeadliner()
public int getId()
public int getReviews()
public Date getStartDate()
public Date getEndDate()
null
if not available. End dates are only supplied for events such as festivals, which
last longer than one day.
public String getTitle()
public String getUrl()
public String getWebsite()
public Collection getTicketSuppliers()
public Venue getVenue()
public static Event getInfo(String eventId, String apiKey)
eventId
- The numeric last.fm event idapiKey
- A Last.fm API key.
public static Result attend(String eventId, int status, Session session)
eventId
- The numeric last.fm event idstatus
- The attendance statussession
- A Session instance
de.umass.lastfm.Event.AttendanceStatus
,
Authenticator
public static Result share(String eventId, String recipients, 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 Collection getAttendees(String eventId, String apiKey)
eventId
- The numeric last.fm event idapiKey
- A Last.fm API key
public static PaginatedResult getShouts(String eventId, String apiKey)
eventId
- The numeric last.fm event idapiKey
- A Last.fm API key.
Shout
spublic static PaginatedResult getShouts(String eventId, int page, String apiKey)
eventId
- The numeric last.fm event idpage
- The page number to fetchapiKey
- A Last.fm API key.
Shout
spublic static PaginatedResult getShouts(String eventId, int page, int limit, String apiKey)
eventId
- The numeric last.fm event idpage
- The page number to fetchlimit
- An integer used to limit the number of shouts returned per page or -1 for defaultapiKey
- A Last.fm API key.
Shout
s
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |