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 class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.exoplatform.social.core.CacheEntry
getCacheTime, setCacheTime
-
Field Details
-
DEFAULT_SPACE_METADATA_OBJECT_TYPE
- See Also:
-
ACTIVE_STATUS
The Constant ACTIVE_STATUS.- See Also:
-
DEACTIVE_STATUS
The Constant DEACTIVE_STATUS.- See Also:
-
INSTALL_STATUS
The Constant INSTALL_STATUS.- See Also:
-
PUBLIC
The Constant PUBLIC.- See Also:
-
PRIVATE
The Constant PRIVATE.- See Also:
-
HIDDEN
The Constant HIDDEN.- See Also:
-
OPEN
The Constant OPEN.- See Also:
-
VALIDATION
The Constant VALIDATION.- See Also:
-
CLOSED
The Constant CLOSED.- See Also:
-
HOME_URL
- See Also:
-
-
Constructor Details
-
Space
public Space()
-
-
Method Details
-
setId
Sets the id.- Parameters:
id- the new id
-
setId
public void setId(long id) -
getId
Gets the id.- Returns:
- the id
-
getSpaceId
public long getSpaceId() -
hasBindings
public boolean hasBindings()Checks if the space has bindings.- Returns:
-
getShortName
Gets the short name.- Returns:
- the short name
-
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
public int hashCode() -
equals
-