diff --git a/diagramme_de_classe.html/diagramme_de_classe.html b/diagramme_de_classe.html/diagramme_de_classe.html new file mode 100644 index 0000000..2d9d4fe --- /dev/null +++ b/diagramme_de_classe.html/diagramme_de_classe.html @@ -0,0 +1 @@ +FrontControllerControllerAdministratorsaddAdministrator(administrator: EntityAdministrator): voidremoveAdministrator(administrator: EntityAdministrator): voidgetAdministrators(): List<EntityAdministrator>getAdministratorByUsername(username: string): EntityAdministratorverifyAdministratorCredentials(username: string, password: string): intverifyAdministratorByName(nickname: string): intsetAdministratorPassword(username: string, newPassword: string): voidControllerQuestionsaddQuestion(question: EntityQuestion): voidremoveQuestion(question: EntityQuestion): voidgetQuestions(): List<EntityQuestion>getQuestionsByChapterAndDifficulty(chapter: int, difficulty: int): List<EntityQuestion>removeQuestionById(id: int): voidgetQuestionById(id: int): EntityQuestionupdateQuestion(id: int, questionDataArray: EntityQuestion): voidupdateNbFails(question: EntityQuestion): voidupdateDifficulty(question: EntityQuestion): voidControllerAnswersaddAnswer(answer: Answer): intremoveAnswer(answer: Answer): voidgetAnswers(): List<Answer>getAnswersByIdQuestions(idQuestion: int): List<Answer>updateAnswer(answersId: int, answer: Answer): voidremoveAnswerById(id: int): voidControllerLobbiesaddLobby(lobby: EntityLobby): voidremoveLobby(lobby: EntityLobby): voidgetLobbies(): List<EntityLobby>getLobbyById(lobbyId: int): EntityLobbyverifyLobbyPassword(lobbyId: int, password: string): booleansetLobbyPassword(lobbyId: int, newPassword: string): voidControllerPlayersaddPlayer(player: EntityPlayer): voidremovePlayer(player: EntityPlayer): voidgetPlayers(): List<EntityPlayer>getPlayerById(playerId: int): EntityPlayergetPlayerByNickname(nickname: string): EntityPlayergetPlayersInLobby(lobbyId: int): List<EntityPlayer>getPlayersMaxScore(playerId: int): intverifyPlayerCredentials(nickname: string, password: string): intverifyPlayerByName(nickname: string): intsetPlayerPassword(playerId: int, newPassword: string): voidControllerChaptersaddChapter(chapter: EntityChapter): voidremoveChapter(chapter: EntityChapter): voidgetChapters(): List<EntityChapter>getChapterById(chapterId: int): EntityChapterAdministratorsManageraddAdministrator(administrator: Administrator): voidremoveAdministrator(administrator: Administrator): voidgetAdministrators(): List<Administrator>QuestionsManageraddQuestion(question: Question): voidremoveQuestion(question: Question): voidgetQuestions(): List<Question>AnswersManageraddAnswer(answer: Answer): voidremoveAnswer(answer: Answer): voidgetAnswers(): List<Answer>LobbiesManageraddLobby(lobby: Lobby): voidremoveLobby(lobby: Lobby): voidgetLobbies(): List<Lobby>PlayersManageraddPlayer(player: Player): voidremovePlayer(player: Player): voidgetPlayers(): List<Player>ChaptersManageraddChapter(chapter: Chapter): voidremoveChapter(chapter: Chapter): voidgetChapters(): List<Chapter>«Serializable»LobbiesaddLobby(lobby : Lobby )removeLobby(lobby : Lobby )getLobbies(): List<Lobby>Lobbyid: intname: stringpassword: stringnbPlayers: intgetId(): intgetName(): stringgetNbPlayers(): intsetNbPlayers(nbPlayers: int): void«Serializable»AnswersaddAnswer(answer: Answer)removeAnswer(answer: Answer)getAnswers(): List<Answer>Answerid: intcontent: stringidQuestion: intAnswer(id: int, content: string, idQuestion: int)getId(): intgetContent()getIdQuestion()setContent(content: string): void«Serializable»AdministratorsaddAdministrator(administrator: Administrator)removeAdministrator(administrator: Administrator)getAdministrators(): List<Administrator>Administratorid: intusername: stringhashedPassword: stringAdministrator(id: int, username: string, password: string)getId(): intgetUsername()getHashedPassword()setHashedPassword(hashedPassword: string): void«Serializable»QuestionsaddQuestion(question: Question)removeQuestion(question: Question)getQuestions(): List<Question>Questionid: intcontent: stringidChapter: intidAnswerGood: intdifficulty: intnbFails: intQuestion(id: int, content: string, idChapter: int, idAnswerGood: int = -1, difficulty: int = 1, nbFails: int = 0)getId(): intgetContent(): stringgetIdChapter(): intgetIdAnswerGood(): intgetDifficulty(): intgetNbFails(): intsetContent(content: string): voidsetIdAnswerGood(idAnswerGood: int): voidsetDifficulty(difficulty: int): voidsetNbFails(nbFails: int): void«Serializable»ChaptersaddChapter(chapter: Chapter)removeChapter(chapter: Chapter)getChapters(): List<Chapter>Chapterid: intname: stringChapter(id: int, name: string)getId()getName()setName(name: string): void«Serializable»PlayersaddPlayer(player: Player)removePlayer(player: Player)getPlayers(): List<Player>Playerid: intnickname: stringhashedPassword: stringPlayer(id: int, nickname: string, password: string)getId(): intgetNickname(): stringgetHashedPassword(): stringsetHashedPassword(hashedPassword: string): voidEntityAnswerid: intcontent: stringidQuestion: intEntityLobbyid: intname: stringpassword: stringnbPlayers: intidPlayerCreator: intEntityAdministratorid: intusername: stringpassword: stringEntityQuestionid: intcontent: stringdifficulty: intnbfails: intidChapter: intidAnswerGood: intEntityChapterid: intname: stringEntityPlayerid: intnickname: stringpassword: stringGatewayPlayeraddPlayer(player: EntityPlayer)removePlayer(player: EntityPlayer)getPlayers(): List<EntityPlayer>getPlayerById(playerId: int): EntityPlayergetPlayerByNickname(nickname: string): EntityPlayergetPlayersInLobby(lobbyId: int): List<EntityPlayer>getPlayersMaxScore(playerId: int): intverifyPlayerCredentials(nickname: string, password: string): intverifyPlayerByName(nickname: string): intsetPlayerPassword(playerId: int, newPassword: string): voidGatewayLobbyaddLobby(lobby: EntityLobby)removeLobby(lobby: EntityLobby)getLobbies(): List<EntityLobby>getLobbyById(lobbyId: int): EntityLobbyverifyLobbyPassword(lobbyId: int, password: string): booleansetLobbyPassword(lobbyId: int, newPassword: string): voidGatewayChapteraddChapter(chapter: EntityChapter)removeChapter(chapter: EntityChapter)getChapters(): List<EntityChapter>getChapterById(chapterId: int): EntityChapterGatewayAnsweraddAnswer(answer: Answer): intgetAnswerByID(id: int): AnswergetAnswersByIDQuestions(idQuestion: int): List<Answer>updateAnswer(answersId: int, answer: Answer): voidremoveAnswerByID(id: int): voidGatewayQuestiongetQuestions(): List<Question>getQuestionsByChapterAndDifficulty(chapter: int, difficulty: int): List<Question>removeQuestionByID(id: int): voidaddQuestion(questionsDataArray: List<Question>): intgetQuestionByID(id: int): QuestionupdateQuestion(id: int, questionDataArray: Question): voidupdateNbFails(question: Question): voidupdateDifficulty(question: Question): voidGatewayAdministratoraddAdministrator(administrator: EntityAdministrator)removeAdministrator(administrator: EntityAdministrator)getAdministrators(): List<EntityAdministrator>getAdministratorByUsername(username: string): EntityAdministratorverifyAdministratorCredentials(username: string, password: string): intverifyAdministratorByName(nickname: string): intsetAdministratorPassword(username: string, newPassword: string): voidlobbiesanswersadministratorsquestionschaptersplayersctrlAdministratorsctrlQuestionsctrlAnswersctrlLobbiesctrlPlayersctrlChaptersadministratorsManagerquestionsManageranswersManagerlobbiesManagerplayersManagerchaptersManageradministratorsquestionsanswerslobbiesplayerschaptersentAdministratorentQuestionentAnswerentLobbyentPlayerentChapter \ No newline at end of file