org.exoplatform.social.service.rest
Class SpaceRest

java.lang.Object
  extended by org.exoplatform.social.service.rest.SpaceRest

public class SpaceRest
extends Object

Since:
1.2.2

Constructor Summary
SpaceRest(org.exoplatform.social.core.space.model.Space space)
          The constructor.
 
Method Summary
 String getAvatarUrl()
          Gets the space's avatar url
 String getDisplayName()
          Gets the display name of the space.
 String getGroupId()
          Get the group id.
 String getName()
          Gets the name of the space.
 String getSpaceUrl()
          Gets the space url after building url with new navigation controller (used only for MySpaces gadget).
 String getUrl()
          Gets the url.
 void setGroupId(String groupId)
          Sets the group id.
 void setName(String name)
          Sets the name of the space.
 void setSpaceUrl(String spaceUrl)
          Sets the space url with new navigation controller (used only for MySpaces gadget).
 void setUrl(String url)
          Sets the url.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpaceRest

public SpaceRest(org.exoplatform.social.core.space.model.Space space)
The constructor.

Parameters:
space -
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 -

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:


Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.