From 8a533beec21744185c3b1f350f10a4df19dfbb9c Mon Sep 17 00:00:00 2001 From: "matheo.thierry" Date: Mon, 8 May 2023 20:56:37 +0200 Subject: [PATCH] =?UTF-8?q?ADD=20and=20MODIF=20rajout=20de=20possiblement?= =?UTF-8?q?=20tout=20les=20m=C3=A9thodes=20et=20modif=20des=20noms=20et=20?= =?UTF-8?q?contenu=20de=20m=C3=A9thode?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Uml_NotusApp.mdj | 900 +++++++++++++++------- notus/Biblioteque_de_Class/Database.cs | 118 ++- notus/Biblioteque_de_Class/Note.cs | 88 +-- notus/Biblioteque_de_Class/Tags.cs | 14 +- notus/Biblioteque_de_Class/Theme.cs | 15 +- notus/Biblioteque_de_Class/Utilisateur.cs | 106 ++- 6 files changed, 837 insertions(+), 404 deletions(-) diff --git a/Uml_NotusApp.mdj b/Uml_NotusApp.mdj index b7b1c93..6ca54af 100644 --- a/Uml_NotusApp.mdj +++ b/Uml_NotusApp.mdj @@ -150,7 +150,7 @@ "top": 672, "width": 158.93896484375, "height": 13, - "text": "+GetLinkLogo()", + "text": "+RechercherUtilisateur()", "horizontalAlignment": 0 }, { @@ -167,7 +167,7 @@ "top": 687, "width": 158.93896484375, "height": 13, - "text": "+GetUtilisateur()", + "text": "+GetLinkLogo()", "horizontalAlignment": 0 }, { @@ -184,7 +184,7 @@ "top": 702, "width": 158.93896484375, "height": 13, - "text": "+TrouverMail()", + "text": "+GetUtilisateur()", "horizontalAlignment": 0 }, { @@ -218,7 +218,7 @@ "top": 732, "width": 158.93896484375, "height": 13, - "text": "+AjouterBaseData()", + "text": "+TrouverMail()", "horizontalAlignment": 0 }, { @@ -235,7 +235,109 @@ "top": 747, "width": 158.93896484375, "height": 13, - "text": "+SupBaseData()", + "text": "+AjouterUtilisateur()", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAGH/LY7PGUgC/M=", + "_parent": { + "$ref": "AAAAAAGHsxATrmDU59E=" + }, + "model": { + "$ref": "AAAAAAGH/LY7M2UdnuU=" + }, + "font": "Arial;13;0", + "left": 333, + "top": 762, + "width": 158.93896484375, + "height": 13, + "text": "+SupUtilisateur()", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAGH/LZOf2YOhAI=", + "_parent": { + "$ref": "AAAAAAGHsxATrmDU59E=" + }, + "model": { + "$ref": "AAAAAAGH/LZOeGYLzYM=" + }, + "font": "Arial;13;0", + "left": 333, + "top": 777, + "width": 158.93896484375, + "height": 13, + "text": "+AjouterTheme()", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAGH/LZrNmb8CO8=", + "_parent": { + "$ref": "AAAAAAGHsxATrmDU59E=" + }, + "model": { + "$ref": "AAAAAAGH/LZrM2b5qcY=" + }, + "font": "Arial;13;0", + "left": 333, + "top": 792, + "width": 158.93896484375, + "height": 13, + "text": "+SupTheme()", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAGH/LaAAWfqCu8=", + "_parent": { + "$ref": "AAAAAAGHsxATrmDU59E=" + }, + "model": { + "$ref": "AAAAAAGH/LZ//Wfn/yw=" + }, + "font": "Arial;13;0", + "left": 333, + "top": 807, + "width": 158.93896484375, + "height": 13, + "text": "+GetTheme()", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAGH/LaTwmjYkaQ=", + "_parent": { + "$ref": "AAAAAAGHsxATrmDU59E=" + }, + "model": { + "$ref": "AAAAAAGH/LaTv2jVHMA=" + }, + "font": "Arial;13;0", + "left": 333, + "top": 822, + "width": 158.93896484375, + "height": 13, + "text": "+ModifierNomTheme()", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAGH/LanoGnGr3U=", + "_parent": { + "$ref": "AAAAAAGHsxATrmDU59E=" + }, + "model": { + "$ref": "AAAAAAGH/LannGnD+e4=" + }, + "font": "Arial;13;0", + "left": 333, + "top": 837, + "width": 158.93896484375, + "height": 13, + "text": "+ModifierColorListTheme()", "horizontalAlignment": 0 } ], @@ -243,7 +345,7 @@ "left": 328, "top": 667, "width": 168.93896484375, - "height": 98 + "height": 188 }, { "_type": "UMLReceptionCompartmentView", @@ -283,7 +385,7 @@ "left": 328, "top": 632, "width": 168.93896484375, - "height": 161, + "height": 223, "nameCompartment": { "$ref": "AAAAAAGHsxATrmDO80A=" }, @@ -573,46 +675,46 @@ "subViews": [ { "_type": "UMLOperationView", - "_id": "AAAAAAGHsxYIomF4lXs=", + "_id": "AAAAAAGHwWgEJJ81rI0=", "_parent": { "$ref": "AAAAAAGHsxLjIGEcokU=" }, "model": { - "$ref": "AAAAAAGHsxYIk2F1ZpE=" + "$ref": "AAAAAAGHwWgEHp8y24w=" }, "font": "Arial;13;0", "left": 341, "top": 445, "width": 182.45068359375, "height": 13, - "text": "+SetTexte()", + "text": "+VerifOwner()", "horizontalAlignment": 0 }, { "_type": "UMLOperationView", - "_id": "AAAAAAGHsziGF2Mf17Q=", + "_id": "AAAAAAGHwWg7mKAj0EY=", "_parent": { "$ref": "AAAAAAGHsxLjIGEcokU=" }, "model": { - "$ref": "AAAAAAGHsziGEGMckj0=" + "$ref": "AAAAAAGHwWg7laAgGPM=" }, "font": "Arial;13;0", "left": 341, "top": 460, "width": 182.45068359375, "height": 13, - "text": "+RechercherNote()", + "text": "+ModifRole()", "horizontalAlignment": 0 }, { "_type": "UMLOperationView", - "_id": "AAAAAAGHwWgEJJ81rI0=", + "_id": "AAAAAAGH4NPpL9TC1Ns=", "_parent": { "$ref": "AAAAAAGHsxLjIGEcokU=" }, "model": { - "$ref": "AAAAAAGHwWgEHp8y24w=" + "$ref": "AAAAAAGH4NPpHdS/8Gg=" }, "font": "Arial;13;0", "left": 341, @@ -624,70 +726,104 @@ }, { "_type": "UMLOperationView", - "_id": "AAAAAAGHwWg7mKAj0EY=", + "_id": "AAAAAAGH4OLpg+KbTHU=", "_parent": { "$ref": "AAAAAAGHsxLjIGEcokU=" }, "model": { - "$ref": "AAAAAAGHwWg7laAgGPM=" + "$ref": "AAAAAAGH4OLpfuKYzBw=" }, "font": "Arial;13;0", "left": 341, "top": 490, "width": 182.45068359375, "height": 13, - "text": "+SupImage()", + "text": "+SuppImage()", "horizontalAlignment": 0 }, { "_type": "UMLOperationView", - "_id": "AAAAAAGH4NPpL9TC1Ns=", + "_id": "AAAAAAGH4OSk4+a5A68=", "_parent": { "$ref": "AAAAAAGHsxLjIGEcokU=" }, "model": { - "$ref": "AAAAAAGH4NPpHdS/8Gg=" + "$ref": "AAAAAAGH4OSk3ea2Vmg=" }, "font": "Arial;13;0", "left": 341, "top": 505, "width": 182.45068359375, "height": 13, - "text": "+DeplacerImage()", + "text": "+VerifPriviledge()", "horizontalAlignment": 0 }, { "_type": "UMLOperationView", - "_id": "AAAAAAGH4OLpg+KbTHU=", + "_id": "AAAAAAGH/LL0aFmYRH0=", "_parent": { "$ref": "AAAAAAGHsxLjIGEcokU=" }, "model": { - "$ref": "AAAAAAGH4OLpfuKYzBw=" + "$ref": "AAAAAAGH/LL0XFmVxh0=" }, "font": "Arial;13;0", "left": 341, "top": 520, "width": 182.45068359375, "height": 13, - "text": "+ModifRole()", + "text": "+AjouterCoop()", "horizontalAlignment": 0 }, { "_type": "UMLOperationView", - "_id": "AAAAAAGH4OSk4+a5A68=", + "_id": "AAAAAAGH/LTGbVqGu0s=", "_parent": { "$ref": "AAAAAAGHsxLjIGEcokU=" }, "model": { - "$ref": "AAAAAAGH4OSk3ea2Vmg=" + "$ref": "AAAAAAGH/LTGZlqDkIg=" }, "font": "Arial;13;0", "left": 341, "top": 535, "width": 182.45068359375, "height": 13, - "text": "+VerifProprietaire()", + "text": "+SupCoop()", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAGH/LTpflt0SfI=", + "_parent": { + "$ref": "AAAAAAGHsxLjIGEcokU=" + }, + "model": { + "$ref": "AAAAAAGH/LTpeFtxaEQ=" + }, + "font": "Arial;13;0", + "left": 341, + "top": 550, + "width": 182.45068359375, + "height": 13, + "text": "+AjouterEdit()", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAGH/LUCOVxiOdQ=", + "_parent": { + "$ref": "AAAAAAGHsxLjIGEcokU=" + }, + "model": { + "$ref": "AAAAAAGH/LUCNVxfrq8=" + }, + "font": "Arial;13;0", + "left": 341, + "top": 565, + "width": 182.45068359375, + "height": 13, + "text": "+SupEdit()", "horizontalAlignment": 0 } ], @@ -695,7 +831,7 @@ "left": 336, "top": 440, "width": 192.45068359375, - "height": 113 + "height": 143 }, { "_type": "UMLReceptionCompartmentView", @@ -735,7 +871,7 @@ "left": 336, "top": 272, "width": 192.45068359375, - "height": 289, + "height": 311, "nameCompartment": { "$ref": "AAAAAAGHsxLjH2EWA68=" }, @@ -969,7 +1105,7 @@ "top": 585, "width": 205.2578125, "height": 13, - "text": "+SetPassword()", + "text": "+RechercherNote()", "horizontalAlignment": 0 }, { @@ -986,7 +1122,7 @@ "top": 600, "width": 205.2578125, "height": 13, - "text": "+AjouterFav()", + "text": "+RechercherNoteFav()", "horizontalAlignment": 0 }, { @@ -1003,7 +1139,7 @@ "top": 615, "width": 205.2578125, "height": 13, - "text": "+SupFav()", + "text": "+RechercherTags()", "horizontalAlignment": 0 }, { @@ -1020,7 +1156,7 @@ "top": 630, "width": 205.2578125, "height": 13, - "text": "+AjouterNote()", + "text": "+AjouterFav()", "horizontalAlignment": 0 }, { @@ -1037,7 +1173,7 @@ "top": 645, "width": 205.2578125, "height": 13, - "text": "+SupNote()", + "text": "+SuppFav()", "horizontalAlignment": 0 }, { @@ -1054,7 +1190,7 @@ "top": 660, "width": 205.2578125, "height": 13, - "text": "+AjouterTag()", + "text": "+AjouterNote()", "horizontalAlignment": 0 }, { @@ -1071,7 +1207,109 @@ "top": 675, "width": 205.2578125, "height": 13, - "text": "+SupTag()", + "text": "+SuppNote()", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAGH7Y/7u6/9e4g=", + "_parent": { + "$ref": "AAAAAAGHszJKAmG7KV0=" + }, + "model": { + "$ref": "AAAAAAGH7Y/7sa/62wM=" + }, + "font": "Arial;13;0", + "left": 797, + "top": 690, + "width": 205.2578125, + "height": 13, + "text": "+createTag()", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAGH7ZACirDAG+Q=", + "_parent": { + "$ref": "AAAAAAGHszJKAmG7KV0=" + }, + "model": { + "$ref": "AAAAAAGH7ZAChbC9p+o=" + }, + "font": "Arial;13;0", + "left": 797, + "top": 705, + "width": 205.2578125, + "height": 13, + "text": "+deleteTag()", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAGH/KxPwUUTIEE=", + "_parent": { + "$ref": "AAAAAAGHszJKAmG7KV0=" + }, + "model": { + "$ref": "AAAAAAGH/KxPskUQQZ4=" + }, + "font": "Arial;13;0", + "left": 797, + "top": 720, + "width": 205.2578125, + "height": 13, + "text": "+AddOneTagToNoteList()", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAGH/KxhfUYBFQE=", + "_parent": { + "$ref": "AAAAAAGHszJKAmG7KV0=" + }, + "model": { + "$ref": "AAAAAAGH/KxhdkX+V8s=" + }, + "font": "Arial;13;0", + "left": 797, + "top": 735, + "width": 205.2578125, + "height": 13, + "text": "+SupOneTagToNoteList()", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAGH/KyCJ0bv5Dc=", + "_parent": { + "$ref": "AAAAAAGHszJKAmG7KV0=" + }, + "model": { + "$ref": "AAAAAAGH/KyCIkbsdWw=" + }, + "font": "Arial;13;0", + "left": 797, + "top": 750, + "width": 205.2578125, + "height": 13, + "text": "+AddTagToNoteList()", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAGH/KyTS0fdez8=", + "_parent": { + "$ref": "AAAAAAGHszJKAmG7KV0=" + }, + "model": { + "$ref": "AAAAAAGH/KyTR0faUc4=" + }, + "font": "Arial;13;0", + "left": 797, + "top": 765, + "width": 205.2578125, + "height": 13, + "text": "+SupTagToNoteList()", "horizontalAlignment": 0 } ], @@ -1079,7 +1317,7 @@ "left": 792, "top": 580, "width": 215.2578125, - "height": 113 + "height": 203 }, { "_type": "UMLReceptionCompartmentView", @@ -1119,7 +1357,7 @@ "left": 792, "top": 472, "width": 215.2578125, - "height": 221, + "height": 311, "nameCompartment": { "$ref": "AAAAAAGHszJKAWG1eoU=" }, @@ -1165,7 +1403,7 @@ "visible": false, "font": "Arial;13;0", "left": -304, - "top": 80, + "top": 160, "height": 13 }, { @@ -1176,7 +1414,7 @@ }, "font": "Arial;13;1", "left": 845, - "top": 287, + "top": 327, "width": 111.642578125, "height": 13, "text": "Tags" @@ -1190,7 +1428,7 @@ "visible": false, "font": "Arial;13;0", "left": -304, - "top": 80, + "top": 160, "width": 73.67724609375, "height": 13, "text": "(from Model)" @@ -1204,14 +1442,14 @@ "visible": false, "font": "Arial;13;0", "left": -304, - "top": 80, + "top": 160, "height": 13, "horizontalAlignment": 1 } ], "font": "Arial;13;0", "left": 840, - "top": 280, + "top": 320, "width": 121.642578125, "height": 25, "stereotypeLabel": { @@ -1248,7 +1486,7 @@ }, "font": "Arial;13;0", "left": 845, - "top": 310, + "top": 350, "width": 111.642578125, "height": 13, "text": "-/nom: string", @@ -1265,7 +1503,7 @@ }, "font": "Arial;13;0", "left": 845, - "top": 325, + "top": 365, "width": 111.642578125, "height": 13, "text": "-/couleur: string", @@ -1274,7 +1512,7 @@ ], "font": "Arial;13;0", "left": 840, - "top": 305, + "top": 345, "width": 121.642578125, "height": 38 }, @@ -1287,30 +1525,11 @@ "model": { "$ref": "AAAAAAGHszUGkGJTukc=" }, - "subViews": [ - { - "_type": "UMLOperationView", - "_id": "AAAAAAGHszjNOmMt6Rw=", - "_parent": { - "$ref": "AAAAAAGHszUGkmJcy48=" - }, - "model": { - "$ref": "AAAAAAGHszjNNmMq9wI=" - }, - "font": "Arial;13;0", - "left": 845, - "top": 348, - "width": 111.642578125, - "height": 13, - "text": "+RechercherTag()", - "horizontalAlignment": 0 - } - ], "font": "Arial;13;0", "left": 840, - "top": 343, + "top": 383, "width": 121.642578125, - "height": 23 + "height": 10 }, { "_type": "UMLReceptionCompartmentView", @@ -1324,7 +1543,7 @@ "visible": false, "font": "Arial;13;0", "left": -152, - "top": 40, + "top": 80, "width": 10, "height": 10 }, @@ -1340,7 +1559,7 @@ "visible": false, "font": "Arial;13;0", "left": -152, - "top": 40, + "top": 80, "width": 10, "height": 10 } @@ -1348,9 +1567,9 @@ "font": "Arial;13;0", "containerChangeable": true, "left": 840, - "top": 280, + "top": 320, "width": 121.642578125, - "height": 86, + "height": 73, "nameCompartment": { "$ref": "AAAAAAGHszUGkWJWMlk=" }, @@ -1395,8 +1614,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": 480, - "top": 384, + "left": 464, + "top": 448, "height": 13 }, { @@ -1406,8 +1625,8 @@ "$ref": "AAAAAAGHs2HK42c9P1Y=" }, "font": "Arial;13;1", - "left": 773, - "top": 783, + "left": 765, + "top": 815, "width": 160.4052734375, "height": 13, "text": "Theme" @@ -1420,8 +1639,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": 480, - "top": 384, + "left": 464, + "top": 448, "width": 73.67724609375, "height": 13, "text": "(from Model)" @@ -1434,15 +1653,15 @@ }, "visible": false, "font": "Arial;13;0", - "left": 480, - "top": 384, + "left": 464, + "top": 448, "height": 13, "horizontalAlignment": 1 } ], "font": "Arial;13;0", - "left": 768, - "top": 776, + "left": 760, + "top": 808, "width": 170.4052734375, "height": 25, "stereotypeLabel": { @@ -1478,8 +1697,8 @@ "$ref": "AAAAAAGH5ZSDMsGKSBM=" }, "font": "Arial;13;0", - "left": 773, - "top": 806, + "left": 765, + "top": 838, "width": 160.4052734375, "height": 13, "text": "-/nom: string", @@ -1495,8 +1714,8 @@ "$ref": "AAAAAAGHs2HpZ2dkozw=" }, "font": "Arial;13;0", - "left": 773, - "top": 821, + "left": 765, + "top": 853, "width": 160.4052734375, "height": 13, "text": "-listeCouleur: list ", @@ -1504,8 +1723,8 @@ } ], "font": "Arial;13;0", - "left": 768, - "top": 801, + "left": 760, + "top": 833, "width": 170.4052734375, "height": 38 }, @@ -1519,6 +1738,23 @@ "$ref": "AAAAAAGHs2HK4mc6StU=" }, "subViews": [ + { + "_type": "UMLOperationView", + "_id": "AAAAAAGH7UFM65jZvww=", + "_parent": { + "$ref": "AAAAAAGHs2HK42dDsQM=" + }, + "model": { + "$ref": "AAAAAAGH7UFM3ZjWsn8=" + }, + "font": "Arial;13;0", + "left": 765, + "top": 876, + "width": 160.4052734375, + "height": 13, + "text": "+GetColorList()", + "horizontalAlignment": 0 + }, { "_type": "UMLOperationView", "_id": "AAAAAAGH6+RfvRFVmfE=", @@ -1529,8 +1765,8 @@ "$ref": "AAAAAAGH6+RfrBFS0Bc=" }, "font": "Arial;13;0", - "left": 773, - "top": 844, + "left": 765, + "top": 891, "width": 160.4052734375, "height": 13, "text": "+ChangeColor()", @@ -1538,10 +1774,10 @@ } ], "font": "Arial;13;0", - "left": 768, - "top": 839, + "left": 760, + "top": 871, "width": 170.4052734375, - "height": 23 + "height": 38 }, { "_type": "UMLReceptionCompartmentView", @@ -1554,8 +1790,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": 240, - "top": 192, + "left": 232, + "top": 224, "width": 10, "height": 10 }, @@ -1570,18 +1806,18 @@ }, "visible": false, "font": "Arial;13;0", - "left": 240, - "top": 192, + "left": 232, + "top": 224, "width": 10, "height": 10 } ], "font": "Arial;13;0", "containerChangeable": true, - "left": 768, - "top": 776, + "left": 760, + "top": 808, "width": 170.4052734375, - "height": 86, + "height": 101, "nameCompartment": { "$ref": "AAAAAAGHs2HK42c9P1Y=" }, @@ -1620,7 +1856,7 @@ "visible": false, "font": "Arial;13;0", "left": 647, - "top": 658, + "top": 696, "height": 13, "alpha": 1.5707963267948966, "distance": 15, @@ -1640,8 +1876,8 @@ }, "visible": null, "font": "Arial;13;0", - "left": 651, - "top": 672, + "left": 650, + "top": 711, "height": 13, "alpha": 1.5707963267948966, "distance": 30, @@ -1662,7 +1898,7 @@ "visible": false, "font": "Arial;13;0", "left": 640, - "top": 629, + "top": 667, "height": 13, "alpha": -1.5707963267948966, "distance": 15, @@ -1683,7 +1919,7 @@ "visible": false, "font": "Arial;13;0", "left": 769, - "top": 626, + "top": 667, "height": 13, "alpha": 0.5235987755982988, "distance": 30, @@ -1704,7 +1940,7 @@ "visible": false, "font": "Arial;13;0", "left": 770, - "top": 639, + "top": 681, "height": 13, "alpha": 0.7853981633974483, "distance": 40, @@ -1724,8 +1960,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": 766, - "top": 598, + "left": 767, + "top": 639, "height": 13, "alpha": -0.5235987755982988, "distance": 25, @@ -1745,7 +1981,7 @@ }, "font": "Arial;13;0", "left": 519, - "top": 657, + "top": 692, "width": 48.0517578125, "height": 13, "alpha": 0.2432285905158279, @@ -1767,7 +2003,7 @@ "visible": false, "font": "Arial;13;0", "left": 531, - "top": 703, + "top": 737, "height": 13, "alpha": -0.7853981633974483, "distance": 40, @@ -1785,8 +2021,8 @@ "$ref": "AAAAAAGHwVHBhV+9K5M=" }, "font": "Arial;13;0", - "left": 497, - "top": 656, + "left": 498, + "top": 690, "width": 21.68359375, "height": 13, "alpha": -5.348897275791532, @@ -1837,7 +2073,7 @@ "$ref": "AAAAAAGHszJKAGG0NQ0=" }, "lineStyle": 1, - "points": "791:611;497:689", + "points": "791:653;497:723", "showVisibility": true, "nameLabel": { "$ref": "AAAAAAGHwVHBhl/Apoc=" @@ -1894,8 +2130,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": 884, - "top": 411, + "left": 885, + "top": 425, "height": 13, "alpha": 1.5707963267948966, "distance": 15, @@ -1915,8 +2151,8 @@ }, "visible": null, "font": "Arial;13;0", - "left": 869, - "top": 411, + "left": 870, + "top": 425, "height": 13, "alpha": 1.5707963267948966, "distance": 30, @@ -1936,8 +2172,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": 913, - "top": 412, + "left": 914, + "top": 426, "height": 13, "alpha": -1.5707963267948966, "distance": 15, @@ -1957,8 +2193,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": 884, - "top": 438, + "left": 885, + "top": 439, "height": 13, "alpha": 0.5235987755982988, "distance": 30, @@ -1978,7 +2214,7 @@ }, "visible": false, "font": "Arial;13;0", - "left": 870, + "left": 871, "top": 436, "height": 13, "alpha": 0.7853981633974483, @@ -1999,7 +2235,7 @@ }, "visible": false, "font": "Arial;13;0", - "left": 911, + "left": 912, "top": 443, "height": 13, "alpha": -0.5235987755982988, @@ -2019,8 +2255,8 @@ "$ref": "AAAAAAGHwVctm4UK/yI=" }, "font": "Arial;13;0", - "left": 846, - "top": 397, + "left": 847, + "top": 425, "width": 50.93994140625, "height": 13, "alpha": -0.6300750331437177, @@ -2042,7 +2278,7 @@ "visible": false, "font": "Arial;13;0", "left": 871, - "top": 388, + "top": 415, "height": 13, "alpha": -0.7853981633974483, "distance": 40, @@ -2060,8 +2296,8 @@ "$ref": "AAAAAAGHwVctm4UK/yI=" }, "font": "Arial;13;0", - "left": 911, - "top": 384, + "left": 912, + "top": 411, "width": 6.5, "height": 13, "alpha": 0.5552277465295183, @@ -2112,7 +2348,7 @@ "$ref": "AAAAAAGHszJKAGG0NQ0=" }, "lineStyle": 1, - "points": "899:471;900:366", + "points": "900:471;900:393", "showVisibility": true, "nameLabel": { "$ref": "AAAAAAGHwVctnIUNaCs=" @@ -2169,8 +2405,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": 803, - "top": 432, + "left": 804, + "top": 434, "height": 13, "alpha": 1.5707963267948966, "distance": 15, @@ -2190,8 +2426,8 @@ }, "visible": null, "font": "Arial;13;0", - "left": 815, - "top": 423, + "left": 817, + "top": 426, "height": 13, "alpha": 1.5707963267948966, "distance": 30, @@ -2211,8 +2447,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": 780, - "top": 451, + "left": 779, + "top": 449, "height": 13, "alpha": -1.5707963267948966, "distance": 15, @@ -2230,7 +2466,7 @@ "$ref": "AAAAAAGHsxLjH2EVAzI=" }, "lineStyle": 3, - "points": "528:425;792:448;810:471", + "points": "528:433;792:448;806:471", "showVisibility": true, "nameLabel": { "$ref": "AAAAAAGHwV2zBOCQoPw=" @@ -2263,8 +2499,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": 638, - "top": 589, + "left": 639, + "top": 590, "height": 13, "alpha": 1.5707963267948966, "distance": 15, @@ -2284,8 +2520,8 @@ }, "visible": null, "font": "Arial;13;0", - "left": 629, - "top": 601, + "left": 630, + "top": 602, "height": 13, "alpha": 1.5707963267948966, "distance": 30, @@ -2305,8 +2541,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": 657, - "top": 566, + "left": 656, + "top": 565, "height": 13, "alpha": -1.5707963267948966, "distance": 15, @@ -2326,8 +2562,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": 765, - "top": 592, + "left": 762, + "top": 612, "height": 13, "alpha": 0.5235987755982988, "distance": 30, @@ -2347,8 +2583,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": 762, - "top": 605, + "left": 758, + "top": 625, "height": 13, "alpha": 0.7853981633974483, "distance": 40, @@ -2368,8 +2604,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": 769, - "top": 564, + "left": 771, + "top": 586, "height": 13, "alpha": -0.5235987755982988, "distance": 25, @@ -2389,7 +2625,7 @@ }, "font": "Arial;13;0", "left": 535, - "top": 503, + "top": 509, "width": 58.169921875, "height": 13, "alpha": 0.17368804935160154, @@ -2410,8 +2646,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": 533, - "top": 524, + "left": 534, + "top": 531, "height": 13, "alpha": -0.7853981633974483, "distance": 40, @@ -2430,7 +2666,7 @@ }, "font": "Arial;13;0", "left": 555, - "top": 494, + "top": 500, "width": 6.5, "height": 13, "alpha": 0.3480805540781273, @@ -2481,7 +2717,7 @@ "$ref": "AAAAAAGHszJKAGG0NQ0=" }, "lineStyle": 3, - "points": "791:583;648:584;528:491", + "points": "791:608;648:584;528:498", "showVisibility": true, "nameLabel": { "$ref": "AAAAAAGHwV3a5OQ2Hy0=" @@ -2538,8 +2774,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": 432, - "top": 590, + "left": 433, + "top": 601, "height": 13, "alpha": 1.5707963267948966, "distance": 15, @@ -2559,8 +2795,8 @@ }, "visible": null, "font": "Arial;13;0", - "left": 447, - "top": 591, + "left": 448, + "top": 602, "height": 13, "alpha": 1.5707963267948966, "distance": 30, @@ -2580,8 +2816,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": 403, - "top": 589, + "left": 404, + "top": 600, "height": 13, "alpha": -1.5707963267948966, "distance": 15, @@ -2599,7 +2835,7 @@ "$ref": "AAAAAAGHsxLjH2EVAzI=" }, "lineStyle": 1, - "points": "421:561;416:631", + "points": "421:583;418:631", "showVisibility": true, "nameLabel": { "$ref": "AAAAAAGHwWj+HLR8LT4=" @@ -2632,8 +2868,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": 678, - "top": 742, + "left": 679, + "top": 741, "height": 13, "alpha": 1.5707963267948966, "distance": 15, @@ -2653,8 +2889,8 @@ }, "visible": null, "font": "Arial;13;0", - "left": 668, - "top": 731, + "left": 671, + "top": 728, "height": 13, "alpha": 1.5707963267948966, "distance": 30, @@ -2674,8 +2910,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": 697, - "top": 765, + "left": 696, + "top": 766, "height": 13, "alpha": -1.5707963267948966, "distance": 15, @@ -2695,8 +2931,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": 525, - "top": 710, + "left": 523, + "top": 728, "height": 13, "alpha": 0.5235987755982988, "distance": 30, @@ -2716,8 +2952,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": 529, - "top": 697, + "left": 527, + "top": 715, "height": 13, "alpha": 0.7853981633974483, "distance": 40, @@ -2737,8 +2973,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": 516, - "top": 737, + "left": 517, + "top": 755, "height": 13, "alpha": -0.5235987755982988, "distance": 25, @@ -2757,8 +2993,8 @@ "$ref": "AAAAAAGHwWkglLcsxtM=" }, "font": "Arial;13;0", - "left": 689, - "top": 687, + "left": 687, + "top": 701, "width": 88.50537109375, "height": 13, "alpha": -0.3566504292668551, @@ -2780,7 +3016,7 @@ "visible": false, "font": "Arial;13;0", "left": 751, - "top": 663, + "top": 680, "height": 13, "alpha": -0.7853981633974483, "distance": 40, @@ -2798,8 +3034,8 @@ "$ref": "AAAAAAGHwWkglLcsxtM=" }, "font": "Arial;13;0", - "left": 779, - "top": 690, + "left": 776, + "top": 711, "width": 6.5, "height": 13, "alpha": 0.5235987755982988, @@ -2850,7 +3086,7 @@ "$ref": "AAAAAAGHsxATrmDNnOM=" }, "lineStyle": 3, - "points": "497:727;688:760;791:673", + "points": "497:748;688:760;791:695", "showVisibility": true, "nameLabel": { "$ref": "AAAAAAGHwWkglLcvzPg=" @@ -2907,8 +3143,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": 654, - "top": 505, + "left": 653, + "top": 532, "height": 13, "alpha": 1.5707963267948966, "distance": 15, @@ -2928,8 +3164,8 @@ }, "visible": null, "font": "Arial;13;0", - "left": 649, - "top": 519, + "left": 647, + "top": 546, "height": 13, "alpha": 1.5707963267948966, "distance": 30, @@ -2949,8 +3185,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": 663, - "top": 476, + "left": 664, + "top": 505, "height": 13, "alpha": -1.5707963267948966, "distance": 15, @@ -2971,7 +3207,7 @@ "visible": false, "font": "Arial;13;0", "left": 761, - "top": 543, + "top": 578, "height": 13, "alpha": 0.5235987755982988, "distance": 30, @@ -2991,8 +3227,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": 754, - "top": 555, + "left": 753, + "top": 589, "height": 13, "alpha": 0.7853981633974483, "distance": 40, @@ -3012,8 +3248,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": 774, - "top": 518, + "left": 775, + "top": 555, "height": 13, "alpha": -0.5235987755982988, "distance": 25, @@ -3032,8 +3268,8 @@ "$ref": "AAAAAAGHwW45PFitVg4=" }, "font": "Arial;13;0", - "left": 551, - "top": 464, + "left": 549, + "top": 486, "width": 68.9990234375, "height": 13, "alpha": 0.002433128081675673, @@ -3054,8 +3290,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": 545, - "top": 481, + "left": 542, + "top": 500, "height": 13, "alpha": -0.7853981633974483, "distance": 40, @@ -3073,8 +3309,8 @@ "$ref": "AAAAAAGHwW45PFitVg4=" }, "font": "Arial;13;0", - "left": 538, - "top": 464, + "left": 536, + "top": 483, "width": 6.5, "height": 13, "alpha": -0.6366393122007756, @@ -3123,7 +3359,7 @@ "$ref": "AAAAAAGHszJKAGG0NQ0=" }, "lineStyle": 1, - "points": "791:544;528:451", + "points": "791:581;528:469", "showVisibility": true, "nameLabel": { "$ref": "AAAAAAGHwW45PViwqGs=" @@ -3180,8 +3416,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": 635, - "top": 744, + "left": 631, + "top": 779, "height": 13, "alpha": 1.5707963267948966, "distance": 15, @@ -3201,8 +3437,8 @@ }, "visible": null, "font": "Arial;13;0", - "left": 639, - "top": 729, + "left": 635, + "top": 765, "height": 13, "alpha": 1.5707963267948966, "distance": 30, @@ -3222,8 +3458,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": 628, - "top": 773, + "left": 624, + "top": 808, "height": 13, "alpha": -1.5707963267948966, "distance": 15, @@ -3244,7 +3480,7 @@ "visible": false, "font": "Arial;13;0", "left": 525, - "top": 718, + "top": 752, "height": 13, "alpha": 0.5235987755982988, "distance": 30, @@ -3265,7 +3501,7 @@ "visible": false, "font": "Arial;13;0", "left": 531, - "top": 706, + "top": 739, "height": 13, "alpha": 0.7853981633974483, "distance": 40, @@ -3285,8 +3521,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": 515, - "top": 744, + "left": 514, + "top": 777, "height": 13, "alpha": -0.5235987755982988, "distance": 25, @@ -3305,8 +3541,8 @@ "$ref": "AAAAAAGHwXrkljsW6h4=" }, "font": "Arial;13;0", - "left": 692, - "top": 768, + "left": 685, + "top": 804, "width": 71.169921875, "height": 13, "alpha": -0.30805284668983113, @@ -3327,8 +3563,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": 746, - "top": 757, + "left": 738, + "top": 794, "height": 13, "alpha": -0.7853981633974483, "distance": 40, @@ -3346,8 +3582,8 @@ "$ref": "AAAAAAGHwXrkljsW6h4=" }, "font": "Arial;13;0", - "left": 740, - "top": 799, + "left": 731, + "top": 835, "width": 6.5, "height": 13, "alpha": 0.5235987755982988, @@ -3394,7 +3630,7 @@ "$ref": "AAAAAAGHsxATrmDNnOM=" }, "lineStyle": 1, - "points": "497:733;767:798", + "points": "497:766;759:835", "showVisibility": true, "nameLabel": { "$ref": "AAAAAAGHwXrkljsZ58k=" @@ -3663,8 +3899,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": 542, - "top": 785, + "left": 539, + "top": 796, "height": 13, "alpha": 1.5707963267948966, "distance": 15, @@ -3684,8 +3920,8 @@ }, "visible": null, "font": "Arial;13;0", - "left": 551, - "top": 773, + "left": 547, + "top": 783, "height": 13, "alpha": 1.5707963267948966, "distance": 30, @@ -3705,8 +3941,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": 523, - "top": 808, + "left": 524, + "top": 821, "height": 13, "alpha": -1.5707963267948966, "distance": 15, @@ -3727,7 +3963,7 @@ "visible": false, "font": "Arial;13;0", "left": 526, - "top": 773, + "top": 788, "height": 13, "alpha": 0.5235987755982988, "distance": 30, @@ -3747,8 +3983,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": 536, - "top": 764, + "left": 535, + "top": 778, "height": 13, "alpha": 0.7853981633974483, "distance": 40, @@ -3768,8 +4004,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": 506, - "top": 793, + "left": 509, + "top": 809, "height": 13, "alpha": -0.5235987755982988, "distance": 25, @@ -3788,8 +4024,8 @@ "$ref": "AAAAAAGH5ZaYJM5fb2g=" }, "font": "Arial;13;0", - "left": 519, - "top": 807, + "left": 514, + "top": 814, "width": 72.6552734375, "height": 13, "alpha": -0.2021279491877861, @@ -3810,8 +4046,8 @@ }, "visible": false, "font": "Arial;13;0", - "left": 564, - "top": 785, + "left": 557, + "top": 791, "height": 13, "alpha": -0.7853981633974483, "distance": 40, @@ -3829,8 +4065,8 @@ "$ref": "AAAAAAGH5ZaYJM5fb2g=" }, "font": "Arial;13;0", - "left": 542, - "top": 821, + "left": 539, + "top": 829, "width": 6.5, "height": 13, "alpha": 0.5235987755982988, @@ -3877,7 +4113,7 @@ "$ref": "AAAAAAGHsxATrmDNnOM=" }, "lineStyle": 1, - "points": "497:776;570:831", + "points": "497:794;567:836", "showVisibility": true, "nameLabel": { "$ref": "AAAAAAGH5ZaYJM5iscE=" @@ -3937,8 +4173,7 @@ }, "reference": { "$ref": "AAAAAAGHsxATrWDLbqE=" - }, - "navigable": false + } }, "end2": { "_type": "UMLAssociationEnd", @@ -3968,8 +4203,7 @@ }, "reference": { "$ref": "AAAAAAGHsxATrWDLbqE=" - }, - "navigable": false + } }, "end2": { "_type": "UMLAssociationEnd", @@ -3993,7 +4227,7 @@ "_parent": { "$ref": "AAAAAAGHsxATrWDLbqE=" }, - "name": "GetLinkLogo" + "name": "RechercherUtilisateur" }, { "_type": "UMLOperation", @@ -4001,7 +4235,7 @@ "_parent": { "$ref": "AAAAAAGHsxATrWDLbqE=" }, - "name": "GetUtilisateur" + "name": "GetLinkLogo" }, { "_type": "UMLOperation", @@ -4009,7 +4243,7 @@ "_parent": { "$ref": "AAAAAAGHsxATrWDLbqE=" }, - "name": "TrouverMail" + "name": "GetUtilisateur" }, { "_type": "UMLOperation", @@ -4025,7 +4259,7 @@ "_parent": { "$ref": "AAAAAAGHsxATrWDLbqE=" }, - "name": "AjouterBaseData" + "name": "TrouverMail" }, { "_type": "UMLOperation", @@ -4033,7 +4267,55 @@ "_parent": { "$ref": "AAAAAAGHsxATrWDLbqE=" }, - "name": "SupBaseData" + "name": "AjouterUtilisateur" + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAGH/LY7M2UdnuU=", + "_parent": { + "$ref": "AAAAAAGHsxATrWDLbqE=" + }, + "name": "SupUtilisateur" + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAGH/LZOeGYLzYM=", + "_parent": { + "$ref": "AAAAAAGHsxATrWDLbqE=" + }, + "name": "AjouterTheme" + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAGH/LZrM2b5qcY=", + "_parent": { + "$ref": "AAAAAAGHsxATrWDLbqE=" + }, + "name": "SupTheme" + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAGH/LZ//Wfn/yw=", + "_parent": { + "$ref": "AAAAAAGHsxATrWDLbqE=" + }, + "name": "GetTheme" + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAGH/LaTv2jVHMA=", + "_parent": { + "$ref": "AAAAAAGHsxATrWDLbqE=" + }, + "name": "ModifierNomTheme" + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAGH/LannGnD+e4=", + "_parent": { + "$ref": "AAAAAAGHsxATrWDLbqE=" + }, + "name": "ModifierColorListTheme" } ] }, @@ -4152,8 +4434,7 @@ }, "reference": { "$ref": "AAAAAAGHsxLjHmETJHw=" - }, - "navigable": false + } }, "end2": { "_type": "UMLAssociationEnd", @@ -4281,23 +4562,23 @@ "operations": [ { "_type": "UMLOperation", - "_id": "AAAAAAGHsxYIk2F1ZpE=", + "_id": "AAAAAAGHwWgEHp8y24w=", "_parent": { "$ref": "AAAAAAGHsxLjHmETJHw=" }, - "name": "SetTexte" + "name": "VerifOwner" }, { "_type": "UMLOperation", - "_id": "AAAAAAGHsziGEGMckj0=", + "_id": "AAAAAAGHwWg7laAgGPM=", "_parent": { "$ref": "AAAAAAGHsxLjHmETJHw=" }, - "name": "RechercherNote" + "name": "ModifRole" }, { "_type": "UMLOperation", - "_id": "AAAAAAGHwWgEHp8y24w=", + "_id": "AAAAAAGH4NPpHdS/8Gg=", "_parent": { "$ref": "AAAAAAGHsxLjHmETJHw=" }, @@ -4305,35 +4586,51 @@ }, { "_type": "UMLOperation", - "_id": "AAAAAAGHwWg7laAgGPM=", + "_id": "AAAAAAGH4OLpfuKYzBw=", "_parent": { "$ref": "AAAAAAGHsxLjHmETJHw=" }, - "name": "SupImage" + "name": "SuppImage" }, { "_type": "UMLOperation", - "_id": "AAAAAAGH4NPpHdS/8Gg=", + "_id": "AAAAAAGH4OSk3ea2Vmg=", "_parent": { "$ref": "AAAAAAGHsxLjHmETJHw=" }, - "name": "DeplacerImage" + "name": "VerifPriviledge" }, { "_type": "UMLOperation", - "_id": "AAAAAAGH4OLpfuKYzBw=", + "_id": "AAAAAAGH/LL0XFmVxh0=", "_parent": { "$ref": "AAAAAAGHsxLjHmETJHw=" }, - "name": "ModifRole" + "name": "AjouterCoop" }, { "_type": "UMLOperation", - "_id": "AAAAAAGH4OSk3ea2Vmg=", + "_id": "AAAAAAGH/LTGZlqDkIg=", + "_parent": { + "$ref": "AAAAAAGHsxLjHmETJHw=" + }, + "name": "SupCoop" + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAGH/LTpeFtxaEQ=", "_parent": { "$ref": "AAAAAAGHsxLjHmETJHw=" }, - "name": "VerifProprietaire" + "name": "AjouterEdit" + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAGH/LUCNVxfrq8=", + "_parent": { + "$ref": "AAAAAAGHsxLjHmETJHw=" + }, + "name": "SupEdit" } ] }, @@ -4387,8 +4684,7 @@ }, "reference": { "$ref": "AAAAAAGHszJKAGGyqQg=" - }, - "navigable": false + } }, "end2": { "_type": "UMLAssociationEnd", @@ -4419,8 +4715,7 @@ }, "reference": { "$ref": "AAAAAAGHszJKAGGyqQg=" - }, - "navigable": false + } }, "end2": { "_type": "UMLAssociationEnd", @@ -4451,8 +4746,7 @@ }, "reference": { "$ref": "AAAAAAGHszJKAGGyqQg=" - }, - "navigable": false + } }, "end2": { "_type": "UMLAssociationEnd", @@ -4492,8 +4786,7 @@ }, "reference": { "$ref": "AAAAAAGHszJKAGGyqQg=" - }, - "navigable": false + } }, "end2": { "_type": "UMLAssociationEnd", @@ -4570,7 +4863,7 @@ "_parent": { "$ref": "AAAAAAGHszJKAGGyqQg=" }, - "name": "SetPassword" + "name": "RechercherNote" }, { "_type": "UMLOperation", @@ -4578,7 +4871,7 @@ "_parent": { "$ref": "AAAAAAGHszJKAGGyqQg=" }, - "name": "AjouterFav" + "name": "RechercherNoteFav" }, { "_type": "UMLOperation", @@ -4586,7 +4879,7 @@ "_parent": { "$ref": "AAAAAAGHszJKAGGyqQg=" }, - "name": "SupFav" + "name": "RechercherTags" }, { "_type": "UMLOperation", @@ -4594,7 +4887,7 @@ "_parent": { "$ref": "AAAAAAGHszJKAGGyqQg=" }, - "name": "AjouterNote" + "name": "AjouterFav" }, { "_type": "UMLOperation", @@ -4602,7 +4895,7 @@ "_parent": { "$ref": "AAAAAAGHszJKAGGyqQg=" }, - "name": "SupNote" + "name": "SuppFav" }, { "_type": "UMLOperation", @@ -4610,7 +4903,7 @@ "_parent": { "$ref": "AAAAAAGHszJKAGGyqQg=" }, - "name": "AjouterTag" + "name": "AjouterNote" }, { "_type": "UMLOperation", @@ -4618,7 +4911,55 @@ "_parent": { "$ref": "AAAAAAGHszJKAGGyqQg=" }, - "name": "SupTag" + "name": "SuppNote" + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAGH7Y/7sa/62wM=", + "_parent": { + "$ref": "AAAAAAGHszJKAGGyqQg=" + }, + "name": "createTag" + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAGH7ZAChbC9p+o=", + "_parent": { + "$ref": "AAAAAAGHszJKAGGyqQg=" + }, + "name": "deleteTag" + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAGH/KxPskUQQZ4=", + "_parent": { + "$ref": "AAAAAAGHszJKAGGyqQg=" + }, + "name": "AddOneTagToNoteList" + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAGH/KxhdkX+V8s=", + "_parent": { + "$ref": "AAAAAAGHszJKAGGyqQg=" + }, + "name": "SupOneTagToNoteList" + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAGH/KyCIkbsdWw=", + "_parent": { + "$ref": "AAAAAAGHszJKAGGyqQg=" + }, + "name": "AddTagToNoteList" + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAGH/KyTR0faUc4=", + "_parent": { + "$ref": "AAAAAAGHszJKAGGyqQg=" + }, + "name": "SupTagToNoteList" } ] }, @@ -4650,16 +4991,6 @@ "visibility": "private", "type": "string" } - ], - "operations": [ - { - "_type": "UMLOperation", - "_id": "AAAAAAGHszjNNmMq9wI=", - "_parent": { - "$ref": "AAAAAAGHszUGkGJTukc=" - }, - "name": "RechercherTag" - } ] }, { @@ -4842,8 +5173,7 @@ }, "reference": { "$ref": "AAAAAAGHsxATrWDLbqE=" - }, - "navigable": false + } }, "end2": { "_type": "UMLAssociationEnd", @@ -4955,6 +5285,14 @@ } ], "operations": [ + { + "_type": "UMLOperation", + "_id": "AAAAAAGH7UFM3ZjWsn8=", + "_parent": { + "$ref": "AAAAAAGHs2HK4mc6StU=" + }, + "name": "GetColorList" + }, { "_type": "UMLOperation", "_id": "AAAAAAGH6+RfrBFS0Bc=", diff --git a/notus/Biblioteque_de_Class/Database.cs b/notus/Biblioteque_de_Class/Database.cs index 9607a65..fcbe3df 100644 --- a/notus/Biblioteque_de_Class/Database.cs +++ b/notus/Biblioteque_de_Class/Database.cs @@ -32,7 +32,7 @@ namespace Biblioteque_de_Class return ListUserSearch; } - public string? GetLinkLogo(string Name) + public string GetLinkLogo(string Name) { foreach (Logo logo in ListDefaultLogo) { @@ -40,9 +40,10 @@ namespace Biblioteque_de_Class }throw new Exception("no logo link find"); } - public Utilisateur GetUtilisateur(string Name) { + public Utilisateur GetUtilisateur(string Name) + { foreach(Utilisateur user in ListUtilisateur){ - if(user.Pseudo.get == Name) + if(user.Pseudo == Name) { return user; } @@ -51,9 +52,9 @@ namespace Biblioteque_de_Class public bool CorrespondPassword(string Psd) { - foreach (Utilisateur Mdp in ListUtilisateur) + foreach (Utilisateur user in ListUtilisateur) { - if (string.Equals(Psd, Mdp)) + if (string.Equals(Psd, user.Password)) { return true; } @@ -80,5 +81,112 @@ namespace Biblioteque_de_Class } return false; } + + public void AjouterUtilisateur(Utilisateur user) + { + foreach (Utilisateur user1 in ListUtilisateur) + { + if (user1.Pseudo == user.Pseudo) + { + throw new Exception("Pseudo déjà utilisé"); + } + else if (user1.Mail == user.Mail) + { + throw new Exception("Mail déjà utilisé"); + } + else + { + ListUtilisateur.Add(user); + } + } + } + + public void SupUtilisateur(Utilisateur user) + { + foreach (Utilisateur user1 in ListUtilisateur) + { + if (user1.Pseudo == user.Pseudo) + { + ListUtilisateur.Remove(user); + } + else + { + throw new Exception("Utilisateur non trouvé"); + } + } + } + + public void AjouterTheme(Theme stheme) + { + foreach (Theme theme in ListTheme) + { + if (theme.Nom == stheme.Nom) + { + throw new Exception("Theme déjà utilisé"); + } + else + { + ListTheme.Add(stheme); + } + } + } + + public void SupTheme(Theme stheme) + { + foreach (Theme theme in ListTheme) + { + if (theme.Nom == stheme.Nom) + { + ListTheme.Remove(theme); + } + else + { + throw new Exception("Theme non trouvé"); + } + } + } + + public Theme GetTheme(string Name) + { + foreach (Theme theme in ListTheme) + { + if (theme.Nom == Name) + { + return theme; + } + } + throw new Exception("no theme find with this name"); + } + + public void ModifierNomTheme( Theme stheme, string NewName) + { + foreach (Theme theme1 in ListTheme) + { + if (theme1.Nom == stheme.Nom) + { + theme1.Nom = NewName; + } + else + { + throw new Exception("Theme non trouvé"); + } + } + } + + public void ModifierColorListTheme(Theme stheme, List NewColorList) + { + foreach (Theme theme1 in ListTheme) + { + if (theme1.Nom == stheme.Nom) + { + theme1.ListCouleur = NewColorList; + } + else + { + throw new Exception("Theme non trouvé"); + } + } + } + } } diff --git a/notus/Biblioteque_de_Class/Note.cs b/notus/Biblioteque_de_Class/Note.cs index 453e664..9240cfc 100644 --- a/notus/Biblioteque_de_Class/Note.cs +++ b/notus/Biblioteque_de_Class/Note.cs @@ -21,8 +21,7 @@ namespace Biblioteque_de_Class set { if (value == null) { LogoPATH = "PATH TO DEFAULT LOGO"; } else { LogoPATH = value; } } } private DateOnly DateCreation { get;} - - public List atributionTag; + private DateOnly DateModif { get; set; } public List listeImage; public List listeLigneTexte; public List listePosiImage; @@ -35,96 +34,65 @@ namespace Biblioteque_de_Class Nom = nom; LogoPATH = logoPATH; DateCreation = DateOnly.FromDateTime(DateTime.Now); + DateModif = DateOnly.FromDateTime(DateTime.Now); owner = uOwner; } public override string ToString() => $"note -> nom : {Nom}\nlogoPATH : {LogoPATH}\nhow many line : {listeLigneTexte.Count()}"; - public void AjouterTag(List listNote, string name) { - foreach(Tags tag in listNote){ - if(tag.Nom == name) { atributionTag.Add(tag); } - } - throw new Exception("no tag find with this name"); - } - - public void EnleverTag(string name){ - foreach(Tags tag in atributionTag){ - if(tag.Nom == name) { atributionTag.Remove(tag); } - } - throw new Exception("no tag find with this name"); - } - - public bool VerifOwner(Utilisateur user) { + public bool VerifOwner(Utilisateur user) + { if (user == owner) { return true; } else { return false; } } public bool ModifRole(Utilisateur user,int choix) { - if (editeurs.Contains(user)) - { - editeurs.Remove(user); - cooperateurs.Add(user); - return true; - } - if (cooperateurs.Contains(user) && choix==1) - { - cooperateurs.Remove(user); - editeurs.Add(user); - return true; - } - else - { - cooperateurs.Remove(user); - } - - return false; } - public bool AjouterImage(string image) + public void AjouterImage(string image) { - if (listeImage.Contains(image)) - { - return false; - } - else - { - return true; - } } - public bool SuppImage(string image) + + public void SuppImage(string image) + { + } + + public bool VerifPriviledge(Utilisateur user) { - if (listeImage.Contains(image)) + if (editeurs.Contains(user)) { - listeImage.Remove(image); - return true; + return True; } - else + else { - return false; + throw new Exception("user is not editeur"); } } - public void AjouterCoop(Utilisateur user) { - if (VerifOwner(user)) { cooperateurs.Add(user); } + public void AjouterCoop(Utilisateur owner, Utilisateur user) + { + if (VerifOwner(owner)) { cooperateurs.Add(user); } else { throw new Exception("user is not owner"); } } - public void SupCoop(Utilisateur user) { - if (VerifOwner(user)) { cooperateurs.Remove(user); } + public void SupCoop(Utilisateur owner, Utilisateur user) + { + if (VerifOwner(owner)) { cooperateurs.Remove(user); } else { throw new Exception("user is not owner"); } } - public void AjouterEdit(Utilisateur user) { - if (VerifOwner(user)) { editeurs.Add(user); } + public void AjouterEdit(Utilisateur owner, Utilisateur user) + { + if (VerifOwner(owner)) { editeurs.Add(user); } else { throw new Exception("user is not owner"); } } - public void SupEdit(Utilisateur user) { - if (VerifOwner(user)) { editeurs.Remove(user); } + public void SupEdit(Utilisateur owner, Utilisateur user) + { + if (VerifOwner(owner)) { editeurs.Remove(user); } else { throw new Exception("user is not owner"); } } - - + } } diff --git a/notus/Biblioteque_de_Class/Tags.cs b/notus/Biblioteque_de_Class/Tags.cs index 279df6a..f2f9501 100644 --- a/notus/Biblioteque_de_Class/Tags.cs +++ b/notus/Biblioteque_de_Class/Tags.cs @@ -8,23 +8,15 @@ namespace Biblioteque_de_Class { public class Tags { - public string Nom { get; set; } - public string Couleur { get; set; } + private string Nom { get; set; } + private string Couleur { get; set; } + public Tags(string nom, string couleur) { Nom = nom; Couleur = couleur; } - public void ChangerNom(string nom) - { - Nom = nom; - } - public void ChangerCouleur(string couleur) - { - Couleur = couleur; - } - public override string ToString() => $"tag -> nom : {Nom}\ncouleur : {Couleur}"; } diff --git a/notus/Biblioteque_de_Class/Theme.cs b/notus/Biblioteque_de_Class/Theme.cs index 32ba254..9b2e420 100644 --- a/notus/Biblioteque_de_Class/Theme.cs +++ b/notus/Biblioteque_de_Class/Theme.cs @@ -9,27 +9,22 @@ namespace Biblioteque_de_Class public class Theme { public string Nom { get; set; } - List ListCouleur; + List ListCouleur; - public Theme(string nom, List listCouleur) + public Theme(string nom, List listCouleur) { Nom = nom; - ListCouleur = List listCouleur; + ListCouleur = List({ "#red", "#blue", "#green" }); } public override string ToString() => $"nom : {Nom} color 1: {Listcouleur[0]}\ncolor 2: {Listcouleur[1]}\ncolor 3: {Listcouleur[2]}\n"; - public List GetColorList() + public List GetColorList() { return ListCouleur; } - public void ModifListColor(List listColor) - { - ListCouleur = listColor; - } - - public void ChangeColor(String color, String newColor) + public void ChangeColor(string color, string newColor) { int longueur = 0; for (longueur = ListCouleur.Count; longueur != 0; longueur-- ) diff --git a/notus/Biblioteque_de_Class/Utilisateur.cs b/notus/Biblioteque_de_Class/Utilisateur.cs index eca7d23..0842341 100644 --- a/notus/Biblioteque_de_Class/Utilisateur.cs +++ b/notus/Biblioteque_de_Class/Utilisateur.cs @@ -2,33 +2,31 @@ using System.ComponentModel; using System.ComponentModel.DataAnnotations.Schema; -///https://learn.microsoft.com/fr-fr/windows/apps/design/ -///https://learn.microsoft.com/fr-fr/windows/apps/design/layout/ -///https://raw.githubusercontent.com/dotnet-architecture/eBooks/main/current/maui/Enterprise-Application-Patterns-Using-.NET-MAUI.pdf -/// namespace Biblioteque_de_Class { public class Utilisateur { private string Pseudo { get; set; } private string Mail { get; set; } - private string Mdp { get; set; } + private string Password { get; set; } private List NoteList; private List TagList; private List FavList; private bool connecté { get; set; } + private Map> NoteTaged; public Utilisateur(string Upseudo, string Umail, string Upassword) { Pseudo = Upseudo; Mail = Umail; - Mdp = Upassword; + Password = Upassword; NoteList = new List(); } public override string ToString() => $"pseudo : {Pseudo}\nmail : {Mail}\npassword : {Mdp}\nNote possédé : {NoteList.Count}"; - public List RechercherNote(string name){ + public List RechercherNote(string name) + { List ListNotesearch = new List(); string search = name.Tolower(); foreach(Note note in NoteList){ @@ -36,7 +34,8 @@ namespace Biblioteque_de_Class }return ListNotesearch; } - public List RechercherNoteFav(string name){ + public List RechercherNoteFav(string name) + { List ListNotesearch = new List(); string search = name.Tolower(); foreach(Note note in FavList){ @@ -44,7 +43,8 @@ namespace Biblioteque_de_Class }return ListNotesearch; } - public Tags RechercherTags(string name){ + public Tags RechercherTags(string name) + { List ListTagssearch = new List(); string search = name.Tolower(); foreach(Tags tag in TagList){ @@ -52,65 +52,97 @@ namespace Biblioteque_de_Class }return ListTagssearch; } - public bool AjouterFav(List ListFav, Note note) + public void AddFav(Note note) { - foreach(Note notefav in ListFav) + foreach(Note notefav in FavList) { - if (!notefav.Equals(note)) + if (notefav.Equals(note)) { - ListFav.Add(note); - return true; + throw new Exception("Note already in favorite"); } } - return false; + FavList.Add(note); } - public bool SuppFav(List ListFav, Note note) + public void SupFav(Note note) { - foreach (Note notefav in ListFav) + foreach(Note notefav in FavList) { - if (notefav.Nom.Equals(note)) + if (notefav.Equals(note)) { - ListFav.Remove(note); - return true; + FavList.Remove(note); } } - return false; + throw new Exception("Note not found"); } - public void AjouterNote(string nom, string LogoPath) + public void AddNote(string nom, string LogoPath) { + foreach (Note note in NoteList) + { + if (note.Nom == nom) + { + throw new Exception("Note already exist"); + } + } Note note = new Note(nom, LogoPath,this); NoteList.Add(note); + NoteTaged.Add(note, new List()); } - public void SuppNote(Note note) + public void SupNote(Note note) { if (NoteList.Contains(note)) NoteList.Remove(note); + NoteTaged.Remove(note); + else + throw new Exception("Note not found"); } - public void createTag(List listNote, string name) { - foreach(Tags tag in listNote) + public void CreateTag(string name, string color) + { + foreach(Tags tag in TagList){ + if(tag.Nom == name) { throw new Exception("Tag already exist"); } + } + TagList.Add(new Tags(name, color)); + } + + public void DeleteTag(string name) + { + foreach(Tags tag in TagList){ + if(tag.Nom == name) { TagList.Remove(tag); } + } + } + + public void AddOneTagToNoteList(Note note, Tags tagtoadd) + { + if(ListTags.Contains(tagtoadd) == false) { throw new Exception("Tag not found"); } + if(NoteList.Contains(note) == false) { throw new Exception("Note not found"); } + else { - if(tag.Nom == name) - { - atributionTag.Add(tag); - } + NoteTaged[note].Add(tagtoadd); } - throw new Exception("no tag find with this name"); } - public void deleteTag(string name) + public void SupOneTagToNoteList(Note note, Tags tagtosup) { - foreach(Tags tag in atributionTag) + if(ListTags.Contains(tagtosup) == false) { throw new Exception("Tag not found"); } + if(NoteList.Contains(note) == false) { throw new Exception("Note not found"); } + else { - if(tag.Nom == name) - { - atributionTag.Remove(tag); - } + NoteTaged[note].Remove(tagtosup); } - throw new Exception("no tag find with this name"); } + + public void AddTagToNoteList(Note note, List listTags) + { + NoteTaged.Add(note, listTags); + } + + public void SupTagToNoteList(Note note) + { + NoteTaged.Remove(note); + } + } } \ No newline at end of file