Links Collection

@Entity
open class LinksCollection : RefyItem

The LinksCollection class is useful to represent a collection of links

Author

N7ghtm4r3 - Tecknobit

N7ghtm4r3 - Tecknobit

See also

EquinoxItem

Constructors

Link copied to clipboard
constructor()
Constructor to init the LinksCollection class No-any params required
constructor(id: String, owner: RefyUser, title: String, color: String, description: String, date: Long, teams: List<Team>, links: List<RefyLink>)
Constructor to init the RefyItem class

Properties

Link copied to clipboard
color the color of the collection
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
protected val hItem: JsonHelper
Link copied to clipboard
protected val id: String
Link copied to clipboard
links the links contained by the collection
Link copied to clipboard
protected val owner: RefyUser
owner the owner of the item
Link copied to clipboard
teams the teams where the collection is shared
Link copied to clipboard
protected val timeFormatter: TimeFormatter
Link copied to clipboard
protected val title: String
title the title of the item

Functions

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
open fun getId(): String
Link copied to clipboard
open fun getLinkIds(): List<String>
Method to get the ids of the links
Link copied to clipboard
open fun getOwner(): RefyUser
Method to get owner instance
Link copied to clipboard
open fun getTeamIds(): List<String>
Method to get the ids of the teams
Link copied to clipboard
open fun getTitle(): String
Method to get title instance
Link copied to clipboard
open fun isUserAllowedToRemoveTeam(userId: String, teamId: String): Boolean
Method to check whether a user can remove a team from a collection
Link copied to clipboard
open fun toString(): String