| Modifier and Type | Method and Description |
|---|---|
Competition |
InvitationBetweenTeamCompetition.getCompetition()
Returns the competition
|
| Modifier and Type | Method and Description |
|---|---|
Collection<Competition> |
Headquarter.getCompetitions()
Returns the competitions that belongs to this headquarters.
|
List<Competition> |
Team.getCompetitions()
Returns the competitions of the team
|
List<Competition> |
User.getManagedCompetitions()
Returns the competitions managed by the user
|
| Modifier and Type | Method and Description |
|---|---|
void |
Team.acceptInvitationCompetition(Competition competition)
Accepts the invitation of a competition
|
void |
User.addCompetition(Competition competition)
Creates the relation between the user and the competition.
|
void |
Headquarter.addCompetition(Competition competition)
Adds a competition from this headquarters
|
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 |
Team.rejectInvitationCompetition(Competition competition)
Rejects the invitation of a competition
|
void |
User.removeCompetition(Competition competition)
Deletes the relation between the user and the competition.
|
void |
Headquarter.removeCompetition(Competition competition)
Removes a competition from this headquarters and removes this headquarters
from the competition.
|
void |
InvitationBetweenTeamCompetition.setCompetition(Competition competition)
Sets the competition
|
| Modifier and Type | Method and Description |
|---|---|
void |
Headquarter.setCompetitions(ArrayList<Competition> competitions)
Adds a list of competitions to the headquarters
|
void |
User.setManagedCompetitions(List<Competition> managedCompetitions)
Sets the competitions managed by the user
|
| Constructor and Description |
|---|
InvitationBetweenTeamCompetition(Team team,
Competition competition)
Creates a new instance
InvitationBetweenTeamCompetition |
| Constructor and Description |
|---|
User(String login,
String password,
String email,
String name,
String surname,
GregorianCalendar birthdate,
IdentificationType identificationType,
String numIdentificationType,
String residence,
String location,
String province,
String country,
String phone,
String facebook,
String twitter,
String instagram,
Player player,
List<Player> managedPlayers,
List<Competition> managedCompetitions,
Team... teams)
Creates a new instance
User |
Copyright © 2018. All rights reserved.