Package org.alfresco.rest.api.model
Class QuickShareLink
java.lang.Object
org.alfresco.rest.api.model.QuickShareLink
Representation of quick share link
The shared link id provides a short id that can be part of a short app url that is easy to
copy/paste/send (via email or other).
As of now, these shared links are public in that they provide unauthenticated access to the
node's content and limited metadata info, such as file name and last modifier/modification.
In the future, the QuickShareService *could* be enhanced to provide additional features,
such as link expiry &/or "password" protection, etc.
- Author:
- janv
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieve the allowable operations for the shared link.Retrieve the allowable operations for the actual file being shared.getId()getName()getPath()getTitle()voidsetAllowableOperations(List<String> allowableOperations) voidsetAllowableOperationsOnTarget(List<String> allowableOperationsOnTarget) voidsetAspectNames(List<String> aspectNames) voidsetContent(ContentInfo content) voidsetDescription(String description) voidsetExpiresAt(Date expiresAt) voidvoidsetIsFavorite(Boolean isFavorite) voidsetModifiedAt(Date modifiedAt) voidsetModifiedByUser(UserInfo modifiedByUser) voidvoidvoidvoidsetProperties(Map<String, Object> properties) voidsetSharedByUser(UserInfo sharedByUser) voidtoString()
-
Constructor Details
-
QuickShareLink
public QuickShareLink() -
QuickShareLink
-
-
Method Details
-
getAspectNames
-
setAspectNames
-
getProperties
-
setProperties
-
getIsFavorite
-
setIsFavorite
-
getId
-
setId
-
getExpiresAt
-
setExpiresAt
-
getNodeId
-
setNodeId
-
getContent
-
setContent
-
getName
-
setName
-
getTitle
-
setTitle
-
getDescription
-
setDescription
-
getPath
-
setPath
-
getModifiedAt
-
setModifiedAt
-
getModifiedByUser
-
setModifiedByUser
-
getAllowableOperations
Retrieve the allowable operations for the shared link.- Returns:
- List of operation labels, e.g. "delete"
-
setAllowableOperations
-
getAllowableOperationsOnTarget
Retrieve the allowable operations for the actual file being shared.- Returns:
- List of operation labels, e.g. "delete"
-
setAllowableOperationsOnTarget
-
toString
-