Team
Constructors
Link copied to clipboard
constructor()
Constructor to init the Team class No-any params required
constructor( id: String, title: String, author: RefyUser, logoPic: String, description: String, date: Long, members: List<Team.RefyTeamMember>, links: List<RefyLink>, collections: List<LinksCollection>)
Constructor to init the RefyItem
class
Properties
Link copied to clipboard
collections
the collections shared with the team
Link copied to clipboard
description
the description of the item
Link copied to clipboard
Link copied to clipboard
members
the
members of the team
Link copied to clipboard
membersMapping
the map used
by the hasMember method
Link copied to clipboard
Functions
Link copied to clipboard
Method to get the ids of the collections
Link copied to clipboard
Method to get description
instance
Link copied to clipboard
Method to get the ids of the links
Link copied to clipboard
Method to get the ids of the members
Link copied to clipboard
Method to get the first member who is a
viewer
Link copied to clipboard
Method to get whether the team has members
apart the author
Link copied to clipboard
Method to get whether a member is the team
author
Link copied to clipboard
Method to check whether the member is the
owner of the collection shared in the team
Link copied to clipboard
Method to check whether the member is the
owner of the link shared in the team