ShareEntity Type
Describes a share. A share can be for either content or a container. Typically, if content was shared, then
ShareEntity.getSharedContentSummary()
will return
non-null, while
ShareEntity.getSharedContainerSummary()
will return null. Vice versa for the case when a container was shared.
Fields
Field | Type | Description |
---|
ID | Long | |
author | UserSummary | Returns the content author summary. |
bookmarkCount | Integer | |
content | ContentBodyEntity | Returns the content body. |
creationDate | Date | The creation date of the entity |
likeCount | Integer | Returns the number of users that have liked the content |
links | Map | Links (URIs) relevant to the entity. A link may for example point to additional information about
the entity or allow the user to perform related actions. |
modificationDate | Date | The modification date of the entity |
participants | List of UserSummary | Returns the participants in the communication. All participants are permitted to both view and reply to the
message. The originating user is available from ShareEntity.getAuthor() and is thus not included in the list of
participants. Ordering on the returned participants is by user ID. |
replyCount | Integer | Returns the number of replies which users have posted to this content. Replies allow for a discussion surrounding
the content object and allow for the author of the content to gauge what other users of the community
thought of it. |
resources | Map | Links to actions which can be taken on the current entity. The embedded link contains information about what
methods are available on the given link. |
sharedContainerSummary | container | |
sharedContentSummary | ContentEntitySummary | |
status | String | Returns the content status, e.g. published or draft. |
subject | String | Returns the content's subject. The subject may not be available for all content objects, e.g. comments. |
type | String | |
viewCount | Integer | The view count of the entity |