Class Space
java.lang.Object
org.exoplatform.social.core.space.model.Space
- All Implemented Interfaces:
CacheEntry
Space Model
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe Constant ACTIVE_STATUS.static final StringThe Constant CLOSED.static final StringThe Constant DEACTIVE_STATUS.static final Stringstatic final StringThe Constant HIDDEN.static final Stringstatic final StringThe Constant INSTALL_STATUS.static final StringThe Constant OPEN.static final StringThe Constant PRIVATE.static final StringThe Constant PUBLIC.static final StringThe Constant VALIDATION. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()Gets the id.Gets the short name.longbooleanChecks if the space has bindings.inthashCode()voidsetAvatarAttachment(AvatarAttachment avatarAttachment) Sets the space attachment.voidsetBannerAttachment(BannerAttachment bannerAttachment) voidsetCreatedTime(Long createdTime) voidsetId(long id) voidSets the id.voidsetPrettyName(String prettyName) Sets the pretty name of space.toString()Methods inherited from interface CacheEntry
getCacheTime, setCacheTime
-
Field Details
-
DEFAULT_SPACE_METADATA_OBJECT_TYPE
- See Also:
-
ACTIVE_STATUS
-
DEACTIVE_STATUS
-
INSTALL_STATUS
-
PUBLIC
-
PRIVATE
-
HIDDEN
-
OPEN
-
VALIDATION
-
CLOSED
-
HOME_URL
- See Also:
-
-
Constructor Details
-
Space
public Space()
-
-
Method Details
-
setId
-
setId
public void setId(long id) -
getId
-
getSpaceId
public long getSpaceId() -
hasBindings
public boolean hasBindings()Checks if the space has bindings.- Returns:
-
getShortName
-
toString
-
setAvatarAttachment
Sets the space attachment.- Parameters:
avatarAttachment- the new space attachment
-
setBannerAttachment
-
setPrettyName
Sets the pretty name of space.- Parameters:
prettyName-- Since:
- 1.2.0-GA
-
setCreatedTime
-
hashCode
-
equals
-