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, members: List<Team.RefyTeamMember>, links: List<RefyLink>, collections: List<LinksCollection>)
Constructor to init the RefyItem class
constructor(jTeam: JSONObject)
Constructor to init the Team class
Properties
Link copied to clipboard
collections
the collections shared with the teamLink copied to clipboard
COLLECTIONS_TEAMS_TABLE
the key for the "collections_teams" tableLink 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
Link copied to clipboard
LOGO_PIC_KEY
the key for the "logo_pic" fieldLink copied to clipboard
MAX_TEAMS_DISPLAYED
number of teams displayedLink copied to clipboard
members
the members of the teamLink copied to clipboard
members
the key for the "members" fieldLink copied to clipboard
membersMapping
the map used by the hasMember methodLink copied to clipboard
OWNED_ONLY_KEY
the key for the "owned_only" fieldLink copied to clipboard
SOURCE_TEAM_KEY
the key for the "sourceTeam" fieldLink copied to clipboard
TEAM_IDENTIFIER_KEY
the key for the "team_id" fieldLink copied to clipboard
TEAMS_LINKS_TABLE
the key for the "teams_links" tableLink copied to clipboard
Functions
Link copied to clipboard
Method to get the ids of the collections 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 ids of the links No-any params required
Link copied to clipboard
Method to get the ids of the members No-any params required
Link copied to clipboard
Method to get the first member who is a viewer No-any params required
Link copied to clipboard
Method to get whether the team has members apart the author No-any params required
Link copied to clipboard
Method to get whether a member is the team author
Link copied to clipboard
Method to assemble and return an ArrayList of teams