CustomRefyLink
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
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: CustomRefyLink.ExpiredTime, resources: Map<String, String>, fields: Map<String, String>, previewToken: String)
Constructor to init the CustomRefyLink class
constructor(jCustomRefyLink: JSONObject)
Constructor to init the CustomRefyLink class
Types
Link copied to clipboard
enum ExpiredTime
ExpiredTime
list of available expiration timeProperties
Link copied to clipboard
collections
the collections where the link is sharedLink copied to clipboard
CREATION_DATE_KEY
the key for the "creation_date" fieldLink copied to clipboard
creationDate
when the link has been createdLink copied to clipboard
CUSTOM_LINK_KEY
the key for the "custom_link" fieldLink copied to clipboard
CUSTOM_LINKS_PATH
the key for the "customLinks" url pathLink copied to clipboard
description
the description of the itemLink copied to clipboard
DESCRIPTION_KEY
the key for the "description" fieldLink copied to clipboard
Link copied to clipboard
EXPIRED_TIME_KEY
the key for the "expired_time" fieldLink copied to clipboard
expiredTime
if set, when the link expires and automatically deletedLink copied to clipboard
FIELD_VALUE_KEY
the key for the "field_value" fieldLink copied to clipboard
FIELDS_KEY
the key for the "fields" fieldLink copied to clipboard
Link copied to clipboard
LINK_IDENTIFIER_KEY
the key for the "link_id" fieldLink copied to clipboard
OWNED_ONLY_KEY
the key for the "owned_only" fieldLink copied to clipboard
PREVIEW_TOKEN_KEY
the key for the "preview_token" fieldLink copied to clipboard
previewToken
the token used to entry in the preview modeLink copied to clipboard
REFERENCE_LINK_KEY
the key for the "reference_link" fieldLink copied to clipboard
referenceLink
the link reference valueLink copied to clipboard
RESOURCE_KEY
the key for the "resource_key" fieldLink copied to clipboard
RESOURCE_VALUE_KEY
the key for the "resource_value" fieldLink copied to clipboard
RESOURCES_KEY
the key for the "resources" fieldLink copied to clipboard
Link copied to clipboard
UNIQUE_ACCESS_KEY
the key for the "unique_access" fieldLink copied to clipboard
uniqueAccess
whether the link, when requested for the first time, must be deleted and no more accessibleFunctions
Link copied to clipboard
Method to check if the user can update the current item
Link copied to clipboard
Method to get collections instance No-any params required
Link copied to clipboard
Method to get the ids of the collections No-any params required
Link copied to clipboard
Method to get creationDate instance No-any params required
Link copied to clipboard
Method to get creationDate instance No-any params required
Link copied to clipboard
Method to get description instance No-any params required
Link copied to clipboard
Method to get the expiration date No-any params required
Link copied to clipboard
Method to get the expiration timestamp value No-any params required
Link copied to clipboard
Method to get the url to enter the preview mode No-any params required
Link copied to clipboard
Method to get referenceLink instance No-any params required
Link copied to clipboard
Method to get the ids of the teams No-any params required
Link copied to clipboard
Method to get uniqueAccess instance No-any params required
Link copied to clipboard
Method to get whether the resources are protected or not No-any params required
Link copied to clipboard
Method to assemble and return an ArrayList of links
Link copied to clipboard
Method to assemble and return an ArrayList of links