java.lang.Object
org.exoplatform.social.core.space.model.Space
All Implemented Interfaces:
CacheEntry

public class Space extends Object implements CacheEntry
Space Model
  • Field Details

  • Constructor Details

    • Space

      public Space()
  • Method Details

    • setId

      public void setId(String id)
      Sets the id.
      Parameters:
      id - the new id
    • setId

      public void setId(long id)
    • getId

      public String getId()
      Gets the id.
      Returns:
      the id
    • getSpaceId

      public long getSpaceId()
    • hasBindings

      public boolean hasBindings()
      Checks if the space has bindings.
      Returns:
    • getShortName

      public String getShortName()
      Gets the short name.
      Returns:
      the short name
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setAvatarAttachment

      public void setAvatarAttachment(AvatarAttachment avatarAttachment)
      Sets the space attachment.
      Parameters:
      avatarAttachment - the new space attachment
    • setBannerAttachment

      public void setBannerAttachment(BannerAttachment bannerAttachment)
    • setPrettyName

      public void setPrettyName(String prettyName)
      Sets the pretty name of space.
      Parameters:
      prettyName -
      Since:
      1.2.0-GA
    • setCreatedTime

      public void setCreatedTime(Long createdTime)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object