Class SharedLink
-
- All Implemented Interfaces:
@JsonClass(generateAdapter = true) public final class SharedLink
-
-
Field Summary
Fields Modifier and Type Field Description private Stringidprivate ZonedDateTimeexpiresAtprivate StringnodeIdprivate Stringnameprivate Stringtitleprivate Stringdescriptionprivate ZonedDateTimemodifiedAtprivate UserInfomodifiedByUserprivate UserInfosharedByUserprivate ContentInfocontentprivate List<String>allowableOperationsprivate List<String>allowableOperationsOnTargetprivate BooleanisFavoriteprivate Map<String, Object>propertiesprivate List<String>aspectNamesprivate PathInfopath
-
Constructor Summary
Constructors Constructor Description SharedLink(String id, ZonedDateTime expiresAt, String nodeId, String name, String title, String description, ZonedDateTime modifiedAt, UserInfo modifiedByUser, UserInfo sharedByUser, ContentInfo content, List<String> allowableOperations, List<String> allowableOperationsOnTarget, Boolean isFavorite, Map<String, Object> properties, List<String> aspectNames, PathInfo path)
-
Method Summary
Modifier and Type Method Description final StringgetId()final UnitsetId(@Json(name = "id") String id)final ZonedDateTimegetExpiresAt()final UnitsetExpiresAt(@Json(name = "expiresAt") ZonedDateTime expiresAt)final StringgetNodeId()final UnitsetNodeId(@Json(name = "nodeId") String nodeId)final StringgetName()The name must not contain spaces or the following special characters: * \" <> \\ / ? final UnitsetName(@Json(name = "name") String name)The name must not contain spaces or the following special characters: * \" <> \\ / ? final StringgetTitle()final UnitsetTitle(@Json(name = "title") String title)final StringgetDescription()final UnitsetDescription(@Json(name = "description") String description)final ZonedDateTimegetModifiedAt()final UnitsetModifiedAt(@Json(name = "modifiedAt") ZonedDateTime modifiedAt)final UserInfogetModifiedByUser()final UnitsetModifiedByUser(@Json(name = "modifiedByUser") UserInfo modifiedByUser)final UserInfogetSharedByUser()final UnitsetSharedByUser(@Json(name = "sharedByUser") UserInfo sharedByUser)final ContentInfogetContent()final UnitsetContent(@Json(name = "content") ContentInfo content)final List<String>getAllowableOperations()The allowable operations for the Quickshare link itself. final UnitsetAllowableOperations(@Json(name = "allowableOperations") List<String> allowableOperations)The allowable operations for the Quickshare link itself. final List<String>getAllowableOperationsOnTarget()The allowable operations for the content node being shared. final UnitsetAllowableOperationsOnTarget(@Json(name = "allowableOperationsOnTarget") List<String> allowableOperationsOnTarget)The allowable operations for the content node being shared. final BooleanisFavorite()final UnitsetFavorite(@Json(name = "isFavorite") Boolean isFavorite)final Map<String, Object>getProperties()A subset of the target node's properties, system properties and properties already available in the SharedLink are excluded. final UnitsetProperties(@Json(name = "properties") Map<String, Object> properties)A subset of the target node's properties, system properties and properties already available in the SharedLink are excluded. final List<String>getAspectNames()final UnitsetAspectNames(@Json(name = "aspectNames") List<String> aspectNames)final PathInfogetPath()final UnitsetPath(@Json(name = "path") PathInfo path)-
-
Constructor Detail
-
SharedLink
SharedLink(String id, ZonedDateTime expiresAt, String nodeId, String name, String title, String description, ZonedDateTime modifiedAt, UserInfo modifiedByUser, UserInfo sharedByUser, ContentInfo content, List<String> allowableOperations, List<String> allowableOperationsOnTarget, Boolean isFavorite, Map<String, Object> properties, List<String> aspectNames, PathInfo path)
-
-
Method Detail
-
getExpiresAt
final ZonedDateTime getExpiresAt()
-
setExpiresAt
final Unit setExpiresAt(@Json(name = "expiresAt") ZonedDateTime expiresAt)
-
getName
final String getName()
The name must not contain spaces or the following special characters: * \" <> \\ / ? : and |. The character . must not be used at the end of the name.
-
setName
final Unit setName(@Json(name = "name") String name)
The name must not contain spaces or the following special characters: * \" <> \\ / ? : and |. The character . must not be used at the end of the name.
-
getDescription
final String getDescription()
-
setDescription
final Unit setDescription(@Json(name = "description") String description)
-
getModifiedAt
final ZonedDateTime getModifiedAt()
-
setModifiedAt
final Unit setModifiedAt(@Json(name = "modifiedAt") ZonedDateTime modifiedAt)
-
getModifiedByUser
final UserInfo getModifiedByUser()
-
setModifiedByUser
final Unit setModifiedByUser(@Json(name = "modifiedByUser") UserInfo modifiedByUser)
-
getSharedByUser
final UserInfo getSharedByUser()
-
setSharedByUser
final Unit setSharedByUser(@Json(name = "sharedByUser") UserInfo sharedByUser)
-
getContent
final ContentInfo getContent()
-
setContent
final Unit setContent(@Json(name = "content") ContentInfo content)
-
getAllowableOperations
final List<String> getAllowableOperations()
The allowable operations for the Quickshare link itself. See allowableOperationsOnTarget for the allowable operations pertaining to the linked content node.
-
setAllowableOperations
final Unit setAllowableOperations(@Json(name = "allowableOperations") List<String> allowableOperations)
The allowable operations for the Quickshare link itself. See allowableOperationsOnTarget for the allowable operations pertaining to the linked content node.
-
getAllowableOperationsOnTarget
final List<String> getAllowableOperationsOnTarget()
The allowable operations for the content node being shared.
-
setAllowableOperationsOnTarget
final Unit setAllowableOperationsOnTarget(@Json(name = "allowableOperationsOnTarget") List<String> allowableOperationsOnTarget)
The allowable operations for the content node being shared.
-
isFavorite
final Boolean isFavorite()
-
setFavorite
final Unit setFavorite(@Json(name = "isFavorite") Boolean isFavorite)
-
getProperties
final Map<String, Object> getProperties()
A subset of the target node's properties, system properties and properties already available in the SharedLink are excluded.
-
setProperties
final Unit setProperties(@Json(name = "properties") Map<String, Object> properties)
A subset of the target node's properties, system properties and properties already available in the SharedLink are excluded.
-
getAspectNames
final List<String> getAspectNames()
-
setAspectNames
final Unit setAspectNames(@Json(name = "aspectNames") List<String> aspectNames)
-
-
-
-