org.exoplatform.social.extras.widget.rest
Class WidgetRestService
java.lang.Object
org.exoplatform.social.extras.widget.rest.WidgetRestService
- All Implemented Interfaces:
- org.exoplatform.services.rest.resource.ResourceContainer
public class WidgetRestService
- extends Object
- implements org.exoplatform.services.rest.resource.ResourceContainer
The class show out capability to build widget applications that integrated with third party application.
|
Method Summary |
javax.ws.rs.core.Response |
goToSpace(String containerName,
String portalName,
String spaceName,
String description)
Redirects to space with the provided name; in case of space not existing then created before redirecting. |
String |
spaceInfo(String containerName,
String portalName,
String spaceName,
String description,
javax.ws.rs.core.UriInfo uriInfo)
Get space information and build an output to display space information. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WidgetRestService
public WidgetRestService()
goToSpace
public javax.ws.rs.core.Response goToSpace(String containerName,
String portalName,
String spaceName,
String description)
- Redirects to space with the provided name; in case of space not existing then created before redirecting.
- Parameters:
containerName - The name of container.portalName - The name of current portal.spaceName - The name of space to be redirected.description - The description of target space.
- Returns:
spaceInfo
public String spaceInfo(String containerName,
String portalName,
String spaceName,
String description,
@Context
javax.ws.rs.core.UriInfo uriInfo)
- Get space information and build an output to display space information.
- Parameters:
containerName - The name of container.portalName - The name of current portal.spaceName - The name of space to be redirected.description - The description of target space.uriInfo - The request URI information.
- Returns:
Copyright © 2003–2014 eXo Platform SAS. All rights reserved.