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()
void
setAllowableOperations
(List<String> allowableOperations) void
setAllowableOperationsOnTarget
(List<String> allowableOperationsOnTarget) void
setAspectNames
(List<String> aspectNames) void
setContent
(ContentInfo content) void
setDescription
(String description) void
setExpiresAt
(Date expiresAt) void
void
setIsFavorite
(Boolean isFavorite) void
setModifiedAt
(Date modifiedAt) void
setModifiedByUser
(UserInfo modifiedByUser) void
void
void
void
setProperties
(Map<String, Object> properties) void
setSharedByUser
(UserInfo sharedByUser) void
toString()
-
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
-