|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.gadgets.opensocial.model.Activity
@Immutable public final class Activity
Represents an activity, such as the creation of a wiki page
Nested Class Summary | |
---|---|
static class |
Activity.Builder
A builder that facilitates construction of Activity objects. |
static class |
Activity.Field
Activity fields that can be loaded when retrieving an activity |
Method Summary | |
---|---|
boolean |
equals(Object o)
|
AppId |
getAppId()
Get the app id this activity is associated with. |
String |
getBody()
Get a body string specifying an optional expanded version of an activity. |
String |
getExternalId()
Get an optional string ID generated by the posting application. |
ActivityId |
getId()
Get the activity id that is permanently associated with this activity. |
List<MediaItem> |
getMediaItems()
Get the media items associated with the activity. |
Long |
getPostedTime()
Get the time at which this activity took place in milliseconds since the epoch. |
Float |
getPriority()
Get the priority, a number between 0 and 1 representing the relative priority of this activity in relation to other activities from the same source. |
String |
getStreamFaviconUrl()
Get a string specifying the URL for the stream's favicon. |
String |
getStreamSourceUrl()
Get a string specifying the stream's source URL. |
String |
getStreamTitle()
Get a string specifing the title of the stream. |
String |
getStreamUrl()
Get a string specifying the stream's URL. |
String |
getTitle()
Get a string specifying the primary text of an activity. |
Date |
getUpdated()
Get the last updated date of the activity. |
String |
getUrl()
Get a string specifying the URL that represents this activity. |
PersonId |
getUserId()
Get the id of the user who this activity is for. |
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public AppId getAppId()
public String getBody()
public String getExternalId()
public ActivityId getId()
public Date getUpdated()
public List<MediaItem> getMediaItems()
public Long getPostedTime()
public Float getPriority()
public String getStreamFaviconUrl()
public String getStreamSourceUrl()
public String getStreamTitle()
public String getStreamUrl()
public String getTitle()
public String getUrl()
public PersonId getUserId()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |