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

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.ActivityRestListOut
All Implemented Interfaces:
Serializable, Cloneable, Map<String,Object>

public class ActivityRestListOut
extends HashMap<String,Object>

The activity rest list out 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 ActivityRestListOut.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
ActivityRestListOut()
          Default constructor for initializing default values.
ActivityRestListOut(List<org.exoplatform.social.core.activity.model.ExoSocialActivity> activityList, int numberOfComments, int numberOfLikes, String portalContainerName)
          Constructors to set the list of activities and the number of comments, the number of likes.
 
Method Summary
 
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

ActivityRestListOut

public ActivityRestListOut()
Default constructor for initializing default values.


ActivityRestListOut

public ActivityRestListOut(List<org.exoplatform.social.core.activity.model.ExoSocialActivity> activityList,
                           int numberOfComments,
                           int numberOfLikes,
                           String portalContainerName)
Constructors to set the list of activities and the number of comments, the number of likes.

Parameters:
activityList - the activity list
numberOfComments - the number of comments
numberOfLikes - the number of likes


Copyright © 2013 eXo Platform SAS. All Rights Reserved.