public class WidgetRestService extends Object implements org.exoplatform.services.rest.resource.ResourceContainer
| Constructor and Description |
|---|
WidgetRestService() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public javax.ws.rs.core.Response goToSpace(String containerName, String portalName, String spaceName, String description)
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.public String spaceInfo(String containerName, String portalName, String spaceName, String description, @Context javax.ws.rs.core.UriInfo uriInfo)
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.Copyright © 2003–2020 eXo Platform SAS. All rights reserved.