org.exoplatform.social.opensocial.service
Class ExoService

java.lang.Object
  extended by org.exoplatform.social.opensocial.service.ExoService
Direct Known Subclasses:
ExoActivityService, ExoPeopleService

public class ExoService
extends Object

Created by IntelliJ IDEA. User: jeremi Date: Oct 13, 2008 Time: 7:58:29 PM


Constructor Summary
ExoService()
           
 
Method Summary
protected  List<org.exoplatform.social.core.identity.model.Identity> getFriendsList(org.exoplatform.social.core.identity.model.Identity id, org.apache.shindig.auth.SecurityToken token)
          Gets the friends list.
protected  String getHost(org.apache.shindig.auth.SecurityToken st)
           
protected  org.exoplatform.social.core.identity.model.Identity getIdentity(String id, boolean loadProfile, org.apache.shindig.auth.SecurityToken st)
           
protected  org.exoplatform.social.core.identity.model.Identity getIdentity(String id, org.apache.shindig.auth.SecurityToken st)
          Gets the identity.
protected  Set<org.exoplatform.social.core.identity.model.Identity> getIdSet(Set<org.apache.shindig.social.opensocial.spi.UserId> users, org.apache.shindig.social.opensocial.spi.GroupId group, org.apache.shindig.auth.SecurityToken token)
          Get the set of user id's for a set of users and a group.
protected  Set<org.exoplatform.social.core.identity.model.Identity> getIdSet(org.apache.shindig.social.opensocial.spi.UserId user, org.apache.shindig.social.opensocial.spi.GroupId group, org.apache.shindig.auth.SecurityToken token)
          Get the set of user id's from a user and group.
protected  org.exoplatform.container.PortalContainer getPortalContainer(org.apache.shindig.auth.SecurityToken st)
           
protected  String getPortalOwner(org.apache.shindig.auth.SecurityToken st)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExoService

public ExoService()
Method Detail

getIdSet

protected Set<org.exoplatform.social.core.identity.model.Identity> getIdSet(org.apache.shindig.social.opensocial.spi.UserId user,
                                                                            org.apache.shindig.social.opensocial.spi.GroupId group,
                                                                            org.apache.shindig.auth.SecurityToken token)
                                                                     throws Exception
Get the set of user id's from a user and group.

Parameters:
user - the user
group - the group
token - the token
Returns:
the id set
Throws:
Exception - the exception

getFriendsList

protected List<org.exoplatform.social.core.identity.model.Identity> getFriendsList(org.exoplatform.social.core.identity.model.Identity id,
                                                                                   org.apache.shindig.auth.SecurityToken token)
                                                                            throws Exception
Gets the friends list.

Parameters:
id - the id
Returns:
the friends list
Throws:
Exception - the exception

getIdSet

protected Set<org.exoplatform.social.core.identity.model.Identity> getIdSet(Set<org.apache.shindig.social.opensocial.spi.UserId> users,
                                                                            org.apache.shindig.social.opensocial.spi.GroupId group,
                                                                            org.apache.shindig.auth.SecurityToken token)
                                                                     throws Exception
Get the set of user id's for a set of users and a group.

Parameters:
users - the users
group - the group
token - the token
Returns:
the id set
Throws:
Exception - the exception

getIdentity

protected org.exoplatform.social.core.identity.model.Identity getIdentity(String id,
                                                                          boolean loadProfile,
                                                                          org.apache.shindig.auth.SecurityToken st)
                                                                   throws Exception
Throws:
Exception

getIdentity

protected org.exoplatform.social.core.identity.model.Identity getIdentity(String id,
                                                                          org.apache.shindig.auth.SecurityToken st)
                                                                   throws Exception
Gets the identity.

Parameters:
id - the id
Returns:
the identity
Throws:
Exception - the exception

getPortalContainer

protected org.exoplatform.container.PortalContainer getPortalContainer(org.apache.shindig.auth.SecurityToken st)

getHost

protected String getHost(org.apache.shindig.auth.SecurityToken st)

getPortalOwner

protected String getPortalOwner(org.apache.shindig.auth.SecurityToken st)


Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.