org.exoplatform.social.service.rest.api.models
Class ActivityStreamRestOut

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<String,Object>
          extended by org.exoplatform.social.service.rest.api.models.ActivityStreamRestOut
All Implemented Interfaces:
Serializable, Cloneable, Map<String,Object>

public class ActivityStreamRestOut
extends HashMap<String,Object>

The Activity Stream model for Social Rest APIs.

Since:
1.2.3
Author:
hoatle (hoatlevan at gmail dot com)
See Also:
Serialized Form

Nested Class Summary
static class ActivityStreamRestOut.Field
          The enum fields as json keys
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Constructor Summary
ActivityStreamRestOut()
          Default constructor for initializing default values.
ActivityStreamRestOut(org.exoplatform.social.core.activity.model.ActivityStream activityStream, String portalContainerName)
          Constructor to construct object from ActivityStream instance.
 
Method Summary
 String getFaviconUrl()
          Gets the favicon url of activity stream.
 String getFullName()
          Gets the full name.
 String getPermaLink()
          Gets the perma link.
 String getPrettyId()
          Gets the pretty id.
 String getTitle()
          Gets the activity stream title.
 String getType()
          Gets the activity stream type.
 void setFaviconUrl(String faviconUrl)
          Sets the favicon url.
 void setFullName(String fullName)
          Sets the full name.
 void setPermaLink(String permalink)
          Sets the perma link of activity stream.
 void setPrettyId(String prettyId)
          Sets the pretty id.
 void setTitle(String title)
          Sets the activity stream title.
 void setType(String type)
          Sets the activity stream type.
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

ActivityStreamRestOut

public ActivityStreamRestOut()
Default constructor for initializing default values.


ActivityStreamRestOut

public ActivityStreamRestOut(org.exoplatform.social.core.activity.model.ActivityStream activityStream,
                             String portalContainerName)
Constructor to construct object from ActivityStream instance.

Parameters:
activityStream - the activity stream instance.
Method Detail

getType

public String getType()
Gets the activity stream type.

Returns:
the activity stream type.

setType

public void setType(String type)
Sets the activity stream type.

Parameters:
type - the type

getPrettyId

public String getPrettyId()
Gets the pretty id.

Returns:
the pretty id

setPrettyId

public void setPrettyId(String prettyId)
Sets the pretty id.

Parameters:
prettyId - the pretty id

getFullName

public String getFullName()
Gets the full name.

Returns:
the full name.

setFullName

public void setFullName(String fullName)
Sets the full name.

Parameters:
prettyId - the full name.

getTitle

public String getTitle()
Gets the activity stream title.

Returns:
the activity stream title

setTitle

public void setTitle(String title)
Sets the activity stream title.

Parameters:
title - the activity stream title

getPermaLink

public String getPermaLink()
Gets the perma link.

Returns:
the perma link

setPermaLink

public void setPermaLink(String permalink)
Sets the perma link of activity stream.

Parameters:
permalink - the perma link

getFaviconUrl

public String getFaviconUrl()
Gets the favicon url of activity stream.

Returns:
the favicon url

setFaviconUrl

public void setFaviconUrl(String faviconUrl)
Sets the favicon url.

Parameters:
faviconUrl - the favicon url


Copyright © 2013 eXo Platform SAS. All Rights Reserved.