Class SpaceRest
- java.lang.Object
-
- org.exoplatform.social.service.rest.SpaceRest
-
public class SpaceRest extends Object
- Since:
- 1.2.2
-
-
Constructor Summary
Constructors Constructor Description SpaceRest(org.exoplatform.social.core.space.model.Space space)The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAvatarUrl()Gets the space's avatar urlStringgetDisplayName()Gets the display name of the space.StringgetGroupId()Get the group id.StringgetLink()StringgetName()Gets the name of the space.StringgetSpaceUrl()Gets the space url after building url with new navigation controller (used only for MySpaces gadget).StringgetUrl()Gets the url.voidsetGroupId(String groupId)Sets the group id.voidsetLink(String link)voidsetName(String name)Sets the name of the space.voidsetSpaceUrl(String spaceUrl)Sets the space url with new navigation controller (used only for MySpaces gadget).voidsetUrl(String url)Sets the url.
-
-
-
Method Detail
-
getSpaceUrl
public String getSpaceUrl()
Gets the space url after building url with new navigation controller (used only for MySpaces gadget).- Returns:
-
getAvatarUrl
public String getAvatarUrl()
Gets the space's avatar url- Returns:
-
setSpaceUrl
public void setSpaceUrl(String spaceUrl)
Sets the space url with new navigation controller (used only for MySpaces gadget).- Parameters:
spaceUrl-
-
getGroupId
public String getGroupId()
Get the group id.- Returns:
-
setGroupId
public void setGroupId(String groupId)
Sets the group id.- Parameters:
groupId-
-
getUrl
public String getUrl()
Gets the url.- Returns:
-
setUrl
public void setUrl(String url)
Sets the url.- Parameters:
url-
-
setLink
public void setLink(String link)
-
getLink
public String getLink()
-
getName
public String getName()
Gets the name of the space.- Returns:
-
setName
public void setName(String name)
Sets the name of the space.- Parameters:
name-
-
getDisplayName
public String getDisplayName()
Gets the display name of the space.- Returns:
-
-