|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.social.service.rest.PeopleRestService
public class PeopleRestService
PeopleRestService.java < /br> Provides REST Services for manipulating jobs realtes to people.
| Nested Class Summary | |
|---|---|
static class |
PeopleRestService.ConnectionInfoRestOut
|
static class |
PeopleRestService.PeopleInfo
PeopleInfo class. |
static class |
PeopleRestService.UserInfo
|
static class |
PeopleRestService.UserNameList
UserNameList class. |
| Constructor Summary | |
|---|---|
PeopleRestService()
|
|
| Method Summary | |
|---|---|
javax.ws.rs.core.Response |
getPeopleInfo(javax.ws.rs.core.UriInfo uriInfo,
String portalName,
String currentUserName,
String userId,
String format,
String updatedType)
Gets and returns information of people that are displayed as detail user's information on popup. |
org.exoplatform.social.core.space.spi.SpaceService |
getSpaceService()
|
javax.ws.rs.core.Response |
searchConnection(javax.ws.rs.core.UriInfo uriInfo,
String portalName,
String nameToSearch,
int offset,
int limit,
String lang,
String format)
Gets and returns list people's information that have had connection with current viewer. |
javax.ws.rs.core.Response |
suggestUsernames(javax.ws.rs.core.UriInfo uriInfo,
String query)
Gets and returns list of user's name that match the input string for suggesting. |
javax.ws.rs.core.Response |
suggestUsernames(javax.ws.rs.core.UriInfo uriInfo,
String name,
String currentUser,
String typeOfRelation,
String spaceURL,
String format)
Gets and returns list of user's name that match the input string for suggesting. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PeopleRestService()
| Method Detail |
|---|
public javax.ws.rs.core.Response suggestUsernames(@Context
javax.ws.rs.core.UriInfo uriInfo,
String name,
String currentUser,
String typeOfRelation,
String spaceURL,
String format)
throws Exception
uriInfo - name - format -
Exception
public javax.ws.rs.core.Response suggestUsernames(@Context
javax.ws.rs.core.UriInfo uriInfo,
String query)
throws Exception
uriInfo - name - format -
Exception
public javax.ws.rs.core.Response searchConnection(@Context
javax.ws.rs.core.UriInfo uriInfo,
String portalName,
String nameToSearch,
int offset,
int limit,
String lang,
String format)
throws Exception
uriInfo - portalName - nameToSearch - offset - limit - lang - format -
Exception
public javax.ws.rs.core.Response getPeopleInfo(@Context
javax.ws.rs.core.UriInfo uriInfo,
String portalName,
String currentUserName,
String userId,
String format,
String updatedType)
throws Exception
uriInfo - portalName - name of current portal container.currentUserName - Name of current user.userId - Id of user is specified.format - update -
Exceptionpublic org.exoplatform.social.core.space.spi.SpaceService getSpaceService()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||