Class SpaceRest
java.lang.Object
org.exoplatform.social.service.rest.SpaceRest
- Since:
- 1.2.2
-
Constructor Summary
ConstructorsConstructorDescriptionSpaceRest(org.exoplatform.social.core.space.model.Space space) The constructor. -
Method Summary
Modifier and TypeMethodDescriptionGets the space's avatar urlGets the display name of the space.Get the group id.getLink()getName()Gets the name of the space.Gets the space url after building url with new navigation controller (used only for MySpaces gadget).getUrl()Gets the url.voidsetGroupId(String groupId) Sets the group id.voidvoidSets the name of the space.voidsetSpaceUrl(String spaceUrl) Sets the space url with new navigation controller (used only for MySpaces gadget).voidSets the url.
-
Constructor Details
-
SpaceRest
public SpaceRest(org.exoplatform.social.core.space.model.Space space) The constructor.- Parameters:
space-
-
-
Method Details
-
getSpaceUrl
Gets the space url after building url with new navigation controller (used only for MySpaces gadget).- Returns:
-
getAvatarUrl
Gets the space's avatar url- Returns:
-
setSpaceUrl
Sets the space url with new navigation controller (used only for MySpaces gadget).- Parameters:
spaceUrl-
-
getGroupId
Get the group id.- Returns:
-
setGroupId
Sets the group id.- Parameters:
groupId-
-
getUrl
Gets the url.- Returns:
-
setUrl
Sets the url.- Parameters:
url-
-
setLink
-
getLink
-
getName
Gets the name of the space.- Returns:
-
setName
Sets the name of the space.- Parameters:
name-
-
getDisplayName
Gets the display name of the space.- Returns:
-