| Modifier and Type | Method and Description |
|---|---|
Collection<Competition> |
User.getManagedCompetitions()
Returns the competitions managed by the user
|
| Modifier and Type | Method and Description |
|---|---|
void |
User.addCompetition(Competition competition)
Creates the relation between the user and the competition.
|
void |
User.internalAddCompetition(Competition competition)
Adds a competition directly to the competition list of this user if the
competition does not already managed by this user.
|
void |
User.internalRemoveCompetition(Competition competition)
Removes a competition directly from the competitions list of this user.
|
boolean |
User.managesCompetition(Competition competition)
Checks if a competition is managed by the user.
|
void |
User.removeCompetition(Competition competition)
Deletes the relation between the user and the competition.
|
| Modifier and Type | Method and Description |
|---|---|
void |
User.setManagedCompetitions(Collection<Competition> managedCompetitions)
Sets the competitions managed by the user
|
| Constructor and Description |
|---|
User(String email,
String name,
String surname,
GregorianCalendar birthdate,
IdentificationType identificationType,
String numIdentificationType,
String residence,
String location,
String province,
String country,
String phone,
HashMap<String,String> socialNetworks,
Player player,
Collection<Player> managedPlayers,
Collection<Competition> managedCompetitions,
Team... teams)
Creates a new instance
User |
Copyright © 2017. All rights reserved.