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

All Known Implementing Classes:
ActivityStreamImpl

public interface ActivityStream

Interface for an Activity Stream.

See the Activity Streams specification for more detail: http://activitystrea.ms/


Nested Class Summary
static class ActivityStream.Field
           
 
Method Summary
 String getDisplayName()
          Get the human readable name for this stream
 List<ActivityEntry> getEntries()
          Get the list of ActivityEntry objects
 String getId()
          Return the id string
 String getLanguage()
          Get the language for this stream
 String getSubject()
          Get the subject for this stream
 void setDisplayName(String displayName)
          Get the display name for this stream
 void setEntries(List<ActivityEntry> entries)
          Set the list of ActivityEntry objects
 void setId(String id)
          Sets the Id for this stream
 void setLanguage(String language)
          Set the language for this stream
 void setSubject(String subject)
          Set the subject for this stream
 

Method Detail

setId

void setId(String id)
Sets the Id for this stream

Parameters:
id - a string

getId

String getId()
Return the id string

Returns:
a string

setEntries

void setEntries(List<ActivityEntry> entries)
Set the list of ActivityEntry objects

Parameters:
entries - a list of ActivityEntry

getEntries

List<ActivityEntry> getEntries()
Get the list of ActivityEntry objects

Returns:
a list of ActivityEntry

setLanguage

void setLanguage(String language)
Set the language for this stream

Parameters:
language - a language string

getLanguage

String getLanguage()
Get the language for this stream

Returns:
a language string

setSubject

void setSubject(String subject)
Set the subject for this stream

Parameters:
subject - a subject string

getSubject

String getSubject()
Get the subject for this stream

Returns:
a subject string

setDisplayName

void setDisplayName(String displayName)
Get the display name for this stream

Parameters:
displayName - a display name

getDisplayName

String getDisplayName()
Get the human readable name for this stream

Returns:
a display name


Copyright © 2007-2012. All Rights Reserved.