org.apache.shindig.extras.as.opensocial.model
Interface ActivityObject

All Known Implementing Classes:
ActivityObjectImpl

public interface ActivityObject

A representation of an ActivityStream object, a thing which participates in an Activity.


Nested Class Summary
static class ActivityObject.Field
           
 
Method Summary
 ActionLink getAction()
          Returns an ActionLink for this object
 List<ActivityObject> getAttached()
          Gets the list of Attached Activities for this entry
 List<String> getDownstreamDuplicateId()
          Get the list of downstream duplicate Ids
 String getId()
          Gets the absolute URI that uniquely identifies the object
 ActivityObject getInReplyTo()
          Get the Activity this item is a response to
 MediaLink getMedia()
          Get the link to a media item
 String getName()
           
 String getPermalink()
          Get the permanent link
 List<ActivityObject> getReaction()
          Gets the list of reaction Activities for this entry
 List<ActivityObject> getReply()
          Gets the list of reply Activities for this entry
 String getStandardLink()
          Return a standard link string
 String getSummary()
          Gets the human-readable summary for this object.
 List<String> getType()
          Returns a list of Type strings
 List<String> getUpstreamDuplicateId()
          Get the list of upstream duplicate Ids
 void setAction(ActionLink action)
          Sets the ActionLink for this object
 void setAttached(List<ActivityObject> attached)
          Sets the list of Attached Activities for this entry
 void setDownstreamDuplicateId(List<String> downstreamDuplicateId)
          Set the list of downstream duplicate Ids
 void setId(String id)
          Set the absolute URI that uniquely identifies the object
 void setInReplyTo(ActivityObject inReplyTo)
          Set the Activity this item is a response to
 void setMedia(MediaLink media)
          Set the link to a media item
 void setName(String name)
          Sets the name
 void setPermalink(String permalink)
          Set the permanent link
 void setReaction(List<ActivityObject> reaction)
          Sets the list of reaction Activities for this entry
 void setReply(List<ActivityObject> reply)
          Sets the list of reply Activities for this entry
 void setStandardLink(String standardLink)
          Set the standard link string
 void setSummary(String summary)
          Sets the human-readable summary for this object.
 void setType(List<String> type)
          set the list of Type strings
 void setUpstreamDuplicateId(List<String> upstreamDuplicateId)
          Set the list of upstream duplicate Ids
 

Method Detail

getId

String getId()
Gets the absolute URI that uniquely identifies the object

Returns:
a non-null string

setId

void setId(String id)
Set the absolute URI that uniquely identifies the object

Parameters:
id - a non-null string

getName

String getName()
Returns:
the human-readable name fo the object

setName

void setName(String name)
Sets the name

Parameters:
name - a human-readable name

getSummary

String getSummary()
Gets the human-readable summary for this object.

Returns:
the summary

setSummary

void setSummary(String summary)
Sets the human-readable summary for this object.

Parameters:
summary - a summary

getMedia

MediaLink getMedia()
Get the link to a media item

Returns:
a MediaLink object.

setMedia

void setMedia(MediaLink media)
Set the link to a media item

Parameters:
media - a MediaLink object.

getPermalink

String getPermalink()
Get the permanent link

Returns:
a permalink string, possibly null

setPermalink

void setPermalink(String permalink)
Set the permanent link

Parameters:
permalink - a permalink string, possibly null

getType

List<String> getType()
Returns a list of Type strings

Returns:
a list of Type strings

setType

void setType(List<String> type)
set the list of Type strings

Parameters:
type - a list of Type strings

getInReplyTo

ActivityObject getInReplyTo()
Get the Activity this item is a response to

Returns:
a ActivityObject

setInReplyTo

void setInReplyTo(ActivityObject inReplyTo)
Set the Activity this item is a response to

Parameters:
inReplyTo - a ActivityObject object.

getAttached

List<ActivityObject> getAttached()
Gets the list of Attached Activities for this entry

Returns:
a list of ActivityObjects

setAttached

void setAttached(List<ActivityObject> attached)
Sets the list of Attached Activities for this entry

Parameters:
attached - a list of ActivityObjects

getReply

List<ActivityObject> getReply()
Gets the list of reply Activities for this entry

Returns:
a list of ActivityObjects

setReply

void setReply(List<ActivityObject> reply)
Sets the list of reply Activities for this entry

Parameters:
reply - a list of ActivityObjects

getReaction

List<ActivityObject> getReaction()
Gets the list of reaction Activities for this entry

Returns:
a list of ActivityObjects

setReaction

void setReaction(List<ActivityObject> reaction)
Sets the list of reaction Activities for this entry

Parameters:
reaction - a list of ActivityObjects

getAction

ActionLink getAction()
Returns an ActionLink for this object

Returns:
a ActionLink object.

setAction

void setAction(ActionLink action)
Sets the ActionLink for this object

Parameters:
action - a ActionLink object.

getUpstreamDuplicateId

List<String> getUpstreamDuplicateId()
Get the list of upstream duplicate Ids

Returns:
a list of strings

setUpstreamDuplicateId

void setUpstreamDuplicateId(List<String> upstreamDuplicateId)
Set the list of upstream duplicate Ids

Parameters:
upstreamDuplicateId - a list of strings containing duplicate Ids

getDownstreamDuplicateId

List<String> getDownstreamDuplicateId()
Get the list of downstream duplicate Ids

Returns:
a list of strings

setDownstreamDuplicateId

void setDownstreamDuplicateId(List<String> downstreamDuplicateId)
Set the list of downstream duplicate Ids

Parameters:
downstreamDuplicateId - a list of strings containing duplicate Ids

getStandardLink

String getStandardLink()
Return a standard link string

Returns:
the standard link

setStandardLink

void setStandardLink(String standardLink)
Set the standard link string

Parameters:
standardLink - the standard link


Copyright © 2007-2012. All Rights Reserved.