Custom Refy Link

@Entity
open class CustomRefyLink : RefyLink

The CustomRefyLink class is useful to represent a custom Refy's link, useful to share resources and allowing to protect them with an authentication form with custom fields

Author

N7ghtm4r3 - Tecknobit

N7ghtm4r3 - Tecknobit

See also

EquinoxItem

Constructors

Link copied to clipboard
constructor()
Constructor to init the CustomRefyLink class No-any params required
constructor(    id: String,     owner: RefyUser,     title: String,     description: String,     referenceLink: String,     creationDate: Long,     uniqueAccess: Boolean,     expiredTime: ExpiredTime,     resources: Map<String, String>,     fields: Map<String, String>,     previewToken: String)
Constructor to init the CustomRefyLink class

Properties

Link copied to clipboard
collections the collections where the link is shared
Link copied to clipboard
protected val date: Long
date the date when the item has been inserted in the system
Link copied to clipboard
protected val description: String
description the description of the item
Link copied to clipboard
Link copied to clipboard
expiredTime if set, when the link expires and automatically deleted
Link copied to clipboard
fields the fields used to protect the resources with a validation form
Link copied to clipboard
protected val hItem: JsonHelper
Link copied to clipboard
protected val id: String
Link copied to clipboard
linkThumbnailPreview the url of the thumbnail preview of the link
Link copied to clipboard
protected val owner: RefyUser
owner the owner of the item
Link copied to clipboard
previewToken the token used to entry in the preview mode
Link copied to clipboard
protected val referenceLink: String
referenceLink the link reference value
Link copied to clipboard
resources the resources to share with the link
Link copied to clipboard
protected val teams: List<Team>
teams the teams where the link is shared
Link copied to clipboard
protected val timeFormatter: TimeFormatter
Link copied to clipboard
protected val title: String
title the title of the item
Link copied to clipboard
private val uniqueAccess: Boolean
uniqueAccess whether the link, when requested for the first time, must be deleted and no more accessible

Functions

Link copied to clipboard
open fun equals(o: Any): Boolean
Link copied to clipboard
open fun expires(): Boolean
Method to get whether the link expires or not No-any params required
Link copied to clipboard
Method to get collections instance
Link copied to clipboard
Method to get the ids of the collections
Link copied to clipboard
open fun getDate(): Long
Method to get date instance
Link copied to clipboard
open fun getDescription(): String
Method to get description instance
Link copied to clipboard
Method to get the expiration timestamp value
Link copied to clipboard
open fun getId(): String
Link copied to clipboard
open fun getOwner(): RefyUser
Method to get owner instance
Link copied to clipboard
Method to get referenceLink instance
Link copied to clipboard
open fun getTeamIds(): List<String>
Method to get the ids of the teams
Link copied to clipboard
open fun getTeams(): List<Team>
Method to get teams instance
Link copied to clipboard
open fun getTitle(): String
Method to get title instance
Link copied to clipboard
Method to get uniqueAccess instance
Link copied to clipboard
open fun isExpired(): Boolean
Method to get whether the link has been expired
Link copied to clipboard
Method to get whether the resources are protected or not No-any params required
Link copied to clipboard
open fun toString(): String