Class QuickShareLink


  • public class QuickShareLink
    extends Object
    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 Detail

      • QuickShareLink

        public QuickShareLink()
      • QuickShareLink

        public QuickShareLink​(String sharedId,
                              String nodeId)
    • Method Detail

      • getAspectNames

        public List<String> getAspectNames()
      • setAspectNames

        public void setAspectNames​(List<String> aspectNames)
      • setProperties

        public void setProperties​(Map<String,​Object> properties)
      • getIsFavorite

        public Boolean getIsFavorite()
      • setIsFavorite

        public void setIsFavorite​(Boolean isFavorite)
      • getId

        public String getId()
      • setId

        public void setId​(String sharedId)
      • getExpiresAt

        public Date getExpiresAt()
      • setExpiresAt

        public void setExpiresAt​(Date expiresAt)
      • getNodeId

        public String getNodeId()
      • setNodeId

        public void setNodeId​(String nodeId)
      • setContent

        public void setContent​(ContentInfo content)
      • getName

        public String getName()
      • setName

        public void setName​(String name)
      • getTitle

        public String getTitle()
      • setTitle

        public void setTitle​(String title)
      • getDescription

        public String getDescription()
      • setDescription

        public void setDescription​(String description)
      • setPath

        public void setPath​(PathInfo pathInfo)
      • getModifiedAt

        public Date getModifiedAt()
      • setModifiedAt

        public void setModifiedAt​(Date modifiedAt)
      • getModifiedByUser

        public UserInfo getModifiedByUser()
      • setModifiedByUser

        public void setModifiedByUser​(UserInfo modifiedByUser)
      • getSharedByUser

        public UserInfo getSharedByUser()
      • setSharedByUser

        public void setSharedByUser​(UserInfo sharedByUser)
      • getAllowableOperations

        public List<String> getAllowableOperations()
        Retrieve the allowable operations for the shared link.
        Returns:
        List of operation labels, e.g. "delete"
      • setAllowableOperations

        public void setAllowableOperations​(List<String> allowableOperations)
      • getAllowableOperationsOnTarget

        public List<String> getAllowableOperationsOnTarget()
        Retrieve the allowable operations for the actual file being shared.
        Returns:
        List of operation labels, e.g. "delete"
      • setAllowableOperationsOnTarget

        public void setAllowableOperationsOnTarget​(List<String> allowableOperationsOnTarget)