Class SpaceEntity
java.lang.Object
org.exoplatform.social.rest.entity.BaseEntity
org.exoplatform.social.rest.entity.SpaceEntity
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<org.exoplatform.social.core.identity.model.Identity> longgetUrl()setAvatarId(String avatarId) setAvatarUrl(String avatarUrl) setBannerId(String bannerId) setBannerUrl(String bannerUrl) setCanDelete(boolean canDelete) setCanEdit(boolean canEdit) setCanEditNavigations(boolean canEditNavigations) setCanManagePublicSite(boolean canDelete) setCanRedactOnSpace(boolean canRedactOnSpace) setCategoryIds(List<Long> categoryIds) setCreatedTime(String creationTime) setDescription(String description) setDisplayName(String displayName) setExtendedProperties(Map<String, String> extendedProperties) setExternalInvitedUsers(List<String> externalInvitedUsers) setGroupId(String groupId) setHasBindings(boolean hasBindings) setIdentity(LinkEntity identity) setIdentityId(String identityId) setInvitedMembers(List<org.exoplatform.social.core.identity.model.Identity> invitedIdentities) setInvitedUsersCount(int invitedUsersCount) setIsFavorite(String isFavorite) setIsInvited(boolean isInvited) setIsManager(boolean isManager) setIsMember(boolean isMember) setIsMuted(String isMuted) setIsParentSpace(boolean isParentSpace) setIsPending(boolean isPending) setIsPublisher(boolean isPublisher) setIsRedactor(boolean isRedactor) setIsUserBound(boolean isUserBound) setManagers(LinkEntity managers) setManagersCount(int managersCount) setMembers(LinkEntity members) setMembersCount(int membersCount) setParentSpaceId(Long parentSpaceId) setPending(LinkEntity pending) setPendingUsersCount(int pendingUsersCount) setPrettyName(String prettyName) setPublicSiteId(Long publicSiteId) setPublicSiteName(String publicSiteName) setPublicSiteVisibility(String publicSiteVisibility) setPublishers(LinkEntity publishers) setPublishersCount(int publishersCount) setRedactors(LinkEntity redactors) setRedactorsCount(int redactorsCount) setSovereign(boolean sovereign) setSubscription(String subscription) setTemplateId(Long templateId) setTotalBoundUsers(Long totalBoundUsers) setUnreadItems(Map<String, Long> getUnreadItems) setVisibility(String visibility) Methods inherited from class org.exoplatform.social.rest.entity.BaseEntity
getDataEntity, getHref, getId, getProperty, getString, setDataEntity, setHref, setId, setProperty, toJSONObject, toString
-
Constructor Details
-
SpaceEntity
public SpaceEntity() -
SpaceEntity
-
-
Method Details
-
setIdentity
-
setIdentityId
-
setDisplayName
-
getDisplayName
-
setTemplateId
-
getTemplateId
public long getTemplateId() -
setCategoryIds
-
getCategoryIds
-
setSovereign
-
getSovereign
-
setUrl
-
getUrl
-
setGroupId
-
getGroupId
-
setBannerId
-
getBannerId
-
setAvatarId
-
getAvatarId
-
setPrettyName
-
getPrettyName
-
setPublicSiteId
-
getPublicSiteId
-
setPublicSiteName
-
getPublicSiteName
-
setPublicSiteVisibility
-
getPublicSiteVisibility
-
setHasBindings
-
setTotalBoundUsers
-
getTotalBoundUsers
-
hasBindings
-
setAvatarUrl
-
getAvatarUrl
-
setBannerUrl
-
getBannerUrl
-
setVisibility
-
getVisibility
-
setSubscription
-
getSubscription
-
setDescription
-
getDescription
-
setIsManager
-
getIsManager
-
setIsRedactor
-
getIsRedactor
-
setIsPublisher
-
getIsPublisher
-
setIsParentSpace
-
getIsParentSpace
-
setCreatedTime
-
getCreatedTime
-
setCanEdit
-
getCanEdit
-
setCanDelete
-
getCanDelete
-
setCanManagePublicSite
-
getCanManagePublicSite
-
setCanRedactOnSpace
-
getCanRedactOnSpace
-
setSiteId
-
getSiteId
-
setManagers
-
getManagers
-
setManagersCount
-
getManagersCount
-
setRedactors
-
getRedactors
-
setRedactorsCount
-
getRedactorsCount
-
setPublishers
-
getPublishers
-
setPublishersCount
-
getPublishersCount
-
setPendingUsersCount
-
getPendingUsersCount
-
setInvitedUsersCount
-
getInvitedUsersCountCount
-
setIsMember
-
getIsMember
-
setMembers
-
getMembers
-
setPending
-
getPending
-
setMembersCount
-
getMembersCount
-
setIsPending
-
setIsUserBound
-
getIsUserBound
-
getIsPending
-
setIsInvited
-
getIsInvited
-
setInvitedMembers
public SpaceEntity setInvitedMembers(List<org.exoplatform.social.core.identity.model.Identity> invitedIdentities) -
getInvitedMembers
-
setExternalInvitedUsers
-
getExternalInvitedUsers
-
getIsFavorite
-
setIsFavorite
-
getIsMuted
-
setIsMuted
-
getUnreadItems
-
setUnreadItems
-
setParentSpaceId
-
getParentSpaceId
- Returns:
- the parent space identifier carried by the payload: a positive id
to attach the space to that parent,
0to detach it from its parent, ornullwhen the property carries no value at all, in which case the existing parent relation must be left untouchedOver REST, only an absent key yields that last case. The JSON binder feeds this entity through
setParentSpaceId(Long)and converts whatever the payload holds to a number first, so an explicitnulland any unparsable value both arrive here as0- the detach sentinel. A REST caller therefore cannot reach theStringbranch nor produce a storednull; those guard programmatic callers only. That the binder manufactures the detach sentinel out of "no value expressed" is a defect of this contract, tracked separately:0cannot safely mean detach while the transport produces it by accident.
-
setExtendedProperties
-
getExtendedProperties
-