Debut du program.cs, modif de certaines classes(debut ajout methodes) et maj de l'uml car on a pas push l'uml mardi 02/04

vSonar_test
Liam MONCHANIN 2 years ago
parent e2f68c0af4
commit 923b661b1b

@ -360,7 +360,7 @@
"font": "Arial;13;1", "font": "Arial;13;1",
"left": 381, "left": 381,
"top": 271, "top": 271,
"width": 164.0234375, "width": 182.45068359375,
"height": 13, "height": 13,
"text": "Note" "text": "Note"
}, },
@ -395,7 +395,7 @@
"font": "Arial;13;0", "font": "Arial;13;0",
"left": 376, "left": 376,
"top": 264, "top": 264,
"width": 174.0234375, "width": 192.45068359375,
"height": 25, "height": 25,
"stereotypeLabel": { "stereotypeLabel": {
"$ref": "AAAAAAGHsxLjH2EXG+w=" "$ref": "AAAAAAGHsxLjH2EXG+w="
@ -432,7 +432,7 @@
"font": "Arial;13;0", "font": "Arial;13;0",
"left": 381, "left": 381,
"top": 294, "top": 294,
"width": 164.0234375, "width": 182.45068359375,
"height": 13, "height": 13,
"text": "-nom: string", "text": "-nom: string",
"horizontalAlignment": 0 "horizontalAlignment": 0
@ -449,7 +449,7 @@
"font": "Arial;13;0", "font": "Arial;13;0",
"left": 381, "left": 381,
"top": 309, "top": 309,
"width": 164.0234375, "width": 182.45068359375,
"height": 13, "height": 13,
"text": "-logo: string", "text": "-logo: string",
"horizontalAlignment": 0 "horizontalAlignment": 0
@ -466,7 +466,7 @@
"font": "Arial;13;0", "font": "Arial;13;0",
"left": 381, "left": 381,
"top": 324, "top": 324,
"width": 164.0234375, "width": 182.45068359375,
"height": 13, "height": 13,
"text": "-dateCreation: string", "text": "-dateCreation: string",
"horizontalAlignment": 0 "horizontalAlignment": 0
@ -483,7 +483,7 @@
"font": "Arial;13;0", "font": "Arial;13;0",
"left": 381, "left": 381,
"top": 339, "top": 339,
"width": 164.0234375, "width": 182.45068359375,
"height": 13, "height": 13,
"text": "-listeImage: list <string>", "text": "-listeImage: list <string>",
"horizontalAlignment": 0 "horizontalAlignment": 0
@ -500,7 +500,7 @@
"font": "Arial;13;0", "font": "Arial;13;0",
"left": 381, "left": 381,
"top": 354, "top": 354,
"width": 164.0234375, "width": 182.45068359375,
"height": 13, "height": 13,
"text": "-listeLigneTexte: list <string>", "text": "-listeLigneTexte: list <string>",
"horizontalAlignment": 0 "horizontalAlignment": 0
@ -517,17 +517,68 @@
"font": "Arial;13;0", "font": "Arial;13;0",
"left": 381, "left": 381,
"top": 369, "top": 369,
"width": 164.0234375, "width": 182.45068359375,
"height": 13, "height": 13,
"text": "-listePosiImage: list <string>", "text": "-listePosiImage: list <string>",
"horizontalAlignment": 0 "horizontalAlignment": 0
},
{
"_type": "UMLAttributeView",
"_id": "AAAAAAGH4OGlOd4/fU4=",
"_parent": {
"$ref": "AAAAAAGHsxLjIGEbeoc="
},
"model": {
"$ref": "AAAAAAGH4OGlMd48So8="
},
"font": "Arial;13;0",
"left": 381,
"top": 384,
"width": 182.45068359375,
"height": 13,
"text": "-Proprietaire: Utilisateur",
"horizontalAlignment": 0
},
{
"_type": "UMLAttributeView",
"_id": "AAAAAAGH4OHotd9DLSY=",
"_parent": {
"$ref": "AAAAAAGHsxLjIGEbeoc="
},
"model": {
"$ref": "AAAAAAGH4OHosd9AbLE="
},
"font": "Arial;13;0",
"left": 381,
"top": 399,
"width": 182.45068359375,
"height": 13,
"text": "-Cooperateurs: list<Utilisateur>",
"horizontalAlignment": 0
},
{
"_type": "UMLAttributeView",
"_id": "AAAAAAGH4OJNhuCGmB0=",
"_parent": {
"$ref": "AAAAAAGHsxLjIGEbeoc="
},
"model": {
"$ref": "AAAAAAGH4OJNgeCD2aw="
},
"font": "Arial;13;0",
"left": 381,
"top": 414,
"width": 182.45068359375,
"height": 13,
"text": "-Editeurs: list<Utilisateur>",
"horizontalAlignment": 0
} }
], ],
"font": "Arial;13;0", "font": "Arial;13;0",
"left": 376, "left": 376,
"top": 289, "top": 289,
"width": 174.0234375, "width": 192.45068359375,
"height": 98 "height": 143
}, },
{ {
"_type": "UMLOperationCompartmentView", "_type": "UMLOperationCompartmentView",
@ -550,8 +601,8 @@
}, },
"font": "Arial;13;0", "font": "Arial;13;0",
"left": 381, "left": 381,
"top": 392, "top": 437,
"width": 164.0234375, "width": 182.45068359375,
"height": 13, "height": 13,
"text": "+SetTexte()", "text": "+SetTexte()",
"horizontalAlignment": 0 "horizontalAlignment": 0
@ -567,8 +618,8 @@
}, },
"font": "Arial;13;0", "font": "Arial;13;0",
"left": 381, "left": 381,
"top": 407, "top": 452,
"width": 164.0234375, "width": 182.45068359375,
"height": 13, "height": 13,
"text": "+SetNom()", "text": "+SetNom()",
"horizontalAlignment": 0 "horizontalAlignment": 0
@ -584,8 +635,8 @@
}, },
"font": "Arial;13;0", "font": "Arial;13;0",
"left": 381, "left": 381,
"top": 422, "top": 467,
"width": 164.0234375, "width": 182.45068359375,
"height": 13, "height": 13,
"text": "+SetLogo()", "text": "+SetLogo()",
"horizontalAlignment": 0 "horizontalAlignment": 0
@ -601,8 +652,8 @@
}, },
"font": "Arial;13;0", "font": "Arial;13;0",
"left": 381, "left": 381,
"top": 437, "top": 482,
"width": 164.0234375, "width": 182.45068359375,
"height": 13, "height": 13,
"text": "+RechercherNote()", "text": "+RechercherNote()",
"horizontalAlignment": 0 "horizontalAlignment": 0
@ -618,8 +669,8 @@
}, },
"font": "Arial;13;0", "font": "Arial;13;0",
"left": 381, "left": 381,
"top": 452, "top": 497,
"width": 164.0234375, "width": 182.45068359375,
"height": 13, "height": 13,
"text": "+AjouterTag()", "text": "+AjouterTag()",
"horizontalAlignment": 0 "horizontalAlignment": 0
@ -635,8 +686,8 @@
}, },
"font": "Arial;13;0", "font": "Arial;13;0",
"left": 381, "left": 381,
"top": 467, "top": 512,
"width": 164.0234375, "width": 182.45068359375,
"height": 13, "height": 13,
"text": "+SupTag()", "text": "+SupTag()",
"horizontalAlignment": 0 "horizontalAlignment": 0
@ -652,8 +703,8 @@
}, },
"font": "Arial;13;0", "font": "Arial;13;0",
"left": 381, "left": 381,
"top": 482, "top": 527,
"width": 164.0234375, "width": 182.45068359375,
"height": 13, "height": 13,
"text": "+AjouterImage()", "text": "+AjouterImage()",
"horizontalAlignment": 0 "horizontalAlignment": 0
@ -669,18 +720,69 @@
}, },
"font": "Arial;13;0", "font": "Arial;13;0",
"left": 381, "left": 381,
"top": 497, "top": 542,
"width": 164.0234375, "width": 182.45068359375,
"height": 13, "height": 13,
"text": "+SupImage()", "text": "+SupImage()",
"horizontalAlignment": 0 "horizontalAlignment": 0
},
{
"_type": "UMLOperationView",
"_id": "AAAAAAGH4NPpL9TC1Ns=",
"_parent": {
"$ref": "AAAAAAGHsxLjIGEcokU="
},
"model": {
"$ref": "AAAAAAGH4NPpHdS/8Gg="
},
"font": "Arial;13;0",
"left": 381,
"top": 557,
"width": 182.45068359375,
"height": 13,
"text": "+DeplacerImage()",
"horizontalAlignment": 0
},
{
"_type": "UMLOperationView",
"_id": "AAAAAAGH4OLpg+KbTHU=",
"_parent": {
"$ref": "AAAAAAGHsxLjIGEcokU="
},
"model": {
"$ref": "AAAAAAGH4OLpfuKYzBw="
},
"font": "Arial;13;0",
"left": 381,
"top": 572,
"width": 182.45068359375,
"height": 13,
"text": "+AjouterEditeur()",
"horizontalAlignment": 0
},
{
"_type": "UMLOperationView",
"_id": "AAAAAAGH4OLr++MKLxc=",
"_parent": {
"$ref": "AAAAAAGHsxLjIGEcokU="
},
"model": {
"$ref": "AAAAAAGH4OLr9uMH9As="
},
"font": "Arial;13;0",
"left": 381,
"top": 587,
"width": 182.45068359375,
"height": 13,
"text": "+PartagerNote()",
"horizontalAlignment": 0
} }
], ],
"font": "Arial;13;0", "font": "Arial;13;0",
"left": 376, "left": 376,
"top": 387, "top": 432,
"width": 174.0234375, "width": 192.45068359375,
"height": 128 "height": 173
}, },
{ {
"_type": "UMLReceptionCompartmentView", "_type": "UMLReceptionCompartmentView",
@ -719,8 +821,8 @@
"containerChangeable": true, "containerChangeable": true,
"left": 376, "left": 376,
"top": 264, "top": 264,
"width": 174.0234375, "width": 192.45068359375,
"height": 251, "height": 341,
"nameCompartment": { "nameCompartment": {
"$ref": "AAAAAAGHsxLjH2EWA68=" "$ref": "AAAAAAGHsxLjH2EWA68="
}, },
@ -1503,11 +1605,30 @@
"model": { "model": {
"$ref": "AAAAAAGHs2HK4mc6StU=" "$ref": "AAAAAAGHs2HK4mc6StU="
}, },
"subViews": [
{
"_type": "UMLOperationView",
"_id": "AAAAAAGH4NXEQdn0UOE=",
"_parent": {
"$ref": "AAAAAAGHs2HK42dDsQM="
},
"model": {
"$ref": "AAAAAAGH4NXEO9nxv7o="
},
"font": "Arial;13;0",
"left": 669,
"top": 853,
"width": 160.4052734375,
"height": 13,
"text": "+SetCouleur()",
"horizontalAlignment": 0
}
],
"font": "Arial;13;0", "font": "Arial;13;0",
"left": 664, "left": 664,
"top": 848, "top": 848,
"width": 170.4052734375, "width": 170.4052734375,
"height": 10 "height": 23
}, },
{ {
"_type": "UMLReceptionCompartmentView", "_type": "UMLReceptionCompartmentView",
@ -2196,7 +2317,7 @@
"$ref": "AAAAAAGHsxLjH2EVAzI=" "$ref": "AAAAAAGHsxLjH2EVAzI="
}, },
"lineStyle": 3, "lineStyle": 3,
"points": "550:405;792:448;887:523", "points": "568:438;792:448;887:523",
"showVisibility": true, "showVisibility": true,
"nameLabel": { "nameLabel": {
"$ref": "AAAAAAGHwV2zBOCQoPw=" "$ref": "AAAAAAGHwV2zBOCQoPw="
@ -2229,7 +2350,7 @@
}, },
"visible": false, "visible": false,
"font": "Arial;13;0", "font": "Arial;13;0",
"left": 668, "left": 669,
"top": 636, "top": 636,
"height": 13, "height": 13,
"alpha": 1.5707963267948966, "alpha": 1.5707963267948966,
@ -2250,8 +2371,8 @@
}, },
"visible": null, "visible": null,
"font": "Arial;13;0", "font": "Arial;13;0",
"left": 657, "left": 659,
"top": 646, "top": 647,
"height": 13, "height": 13,
"alpha": 1.5707963267948966, "alpha": 1.5707963267948966,
"distance": 30, "distance": 30,
@ -2271,7 +2392,7 @@
}, },
"visible": false, "visible": false,
"font": "Arial;13;0", "font": "Arial;13;0",
"left": 691, "left": 690,
"top": 615, "top": 615,
"height": 13, "height": 13,
"alpha": -1.5707963267948966, "alpha": -1.5707963267948966,
@ -2354,8 +2475,8 @@
"$ref": "AAAAAAGHwV3a5OQzkxk=" "$ref": "AAAAAAGHwV3a5OQzkxk="
}, },
"font": "Arial;13;0", "font": "Arial;13;0",
"left": 543, "left": 564,
"top": 527, "top": 565,
"width": 58.169921875, "width": 58.169921875,
"height": 13, "height": 13,
"alpha": -0.2931152672219888, "alpha": -0.2931152672219888,
@ -2376,8 +2497,8 @@
}, },
"visible": false, "visible": false,
"font": "Arial;13;0", "font": "Arial;13;0",
"left": 547, "left": 569,
"top": 520, "top": 559,
"height": 13, "height": 13,
"alpha": -0.7853981633974483, "alpha": -0.7853981633974483,
"distance": 40, "distance": 40,
@ -2395,8 +2516,8 @@
"$ref": "AAAAAAGHwV3a5OQzkxk=" "$ref": "AAAAAAGHwV3a5OQzkxk="
}, },
"font": "Arial;13;0", "font": "Arial;13;0",
"left": 575, "left": 594,
"top": 495, "top": 532,
"width": 6.5, "width": 6.5,
"height": 13, "height": 13,
"alpha": 0.3480805540781273, "alpha": 0.3480805540781273,
@ -2447,7 +2568,7 @@
"$ref": "AAAAAAGHszJKAGG0NQ0=" "$ref": "AAAAAAGHszJKAGG0NQ0="
}, },
"lineStyle": 3, "lineStyle": 3,
"points": "887:609;680:632;550:487", "points": "887:609;680:632;568:526",
"showVisibility": true, "showVisibility": true,
"nameLabel": { "nameLabel": {
"$ref": "AAAAAAGHwV3a5OQ2Hy0=" "$ref": "AAAAAAGHwV3a5OQ2Hy0="
@ -2504,8 +2625,8 @@
}, },
"visible": false, "visible": false,
"font": "Arial;13;0", "font": "Arial;13;0",
"left": 865, "left": 873,
"top": 362, "top": 383,
"height": 13, "height": 13,
"alpha": 1.5707963267948966, "alpha": 1.5707963267948966,
"distance": 15, "distance": 15,
@ -2525,8 +2646,8 @@
}, },
"visible": null, "visible": null,
"font": "Arial;13;0", "font": "Arial;13;0",
"left": 865, "left": 872,
"top": 347, "top": 368,
"height": 13, "height": 13,
"alpha": 1.5707963267948966, "alpha": 1.5707963267948966,
"distance": 30, "distance": 30,
@ -2546,8 +2667,8 @@
}, },
"visible": false, "visible": false,
"font": "Arial;13;0", "font": "Arial;13;0",
"left": 866, "left": 876,
"top": 391, "top": 412,
"height": 13, "height": 13,
"alpha": -1.5707963267948966, "alpha": -1.5707963267948966,
"distance": 15, "distance": 15,
@ -2567,8 +2688,8 @@
}, },
"visible": false, "visible": false,
"font": "Arial;13;0", "font": "Arial;13;0",
"left": 575, "left": 592,
"top": 366, "top": 404,
"height": 13, "height": 13,
"alpha": 0.5235987755982988, "alpha": 0.5235987755982988,
"distance": 30, "distance": 30,
@ -2588,8 +2709,8 @@
}, },
"visible": false, "visible": false,
"font": "Arial;13;0", "font": "Arial;13;0",
"left": 577, "left": 594,
"top": 353, "top": 390,
"height": 13, "height": 13,
"alpha": 0.7853981633974483, "alpha": 0.7853981633974483,
"distance": 40, "distance": 40,
@ -2609,8 +2730,8 @@
}, },
"visible": false, "visible": false,
"font": "Arial;13;0", "font": "Arial;13;0",
"left": 571, "left": 590,
"top": 394, "top": 431,
"height": 13, "height": 13,
"alpha": -0.5235987755982988, "alpha": -0.5235987755982988,
"distance": 25, "distance": 25,
@ -2630,7 +2751,7 @@
}, },
"font": "Arial;13;0", "font": "Arial;13;0",
"left": 1086, "left": 1086,
"top": 359, "top": 366,
"width": 85.642578125, "width": 85.642578125,
"height": 13, "height": 13,
"alpha": -0.23361556914686998, "alpha": -0.23361556914686998,
@ -2651,8 +2772,8 @@
}, },
"visible": false, "visible": false,
"font": "Arial;13;0", "font": "Arial;13;0",
"left": 1154, "left": 1152,
"top": 344, "top": 348,
"height": 13, "height": 13,
"alpha": -0.7853981633974483, "alpha": -0.7853981633974483,
"distance": 40, "distance": 40,
@ -2670,8 +2791,8 @@
"$ref": "AAAAAAGHwV8k+BY8GjY=" "$ref": "AAAAAAGHwV8k+BY8GjY="
}, },
"font": "Arial;13;0", "font": "Arial;13;0",
"left": 1158, "left": 1159,
"top": 384, "top": 389,
"width": 6.5, "width": 6.5,
"height": 13, "height": 13,
"alpha": 0.5235987755982988, "alpha": 0.5235987755982988,
@ -2722,7 +2843,7 @@
"$ref": "AAAAAAGHsxLjH2EVAzI=" "$ref": "AAAAAAGHsxLjH2EVAzI="
}, },
"lineStyle": 1, "lineStyle": 1,
"points": "550:388;1183:378", "points": "568:427;1183:381",
"showVisibility": true, "showVisibility": true,
"nameLabel": { "nameLabel": {
"$ref": "AAAAAAGHwV8k+hY/yCc=" "$ref": "AAAAAAGHwV8k+hY/yCc="
@ -2780,7 +2901,7 @@
"visible": false, "visible": false,
"font": "Arial;13;0", "font": "Arial;13;0",
"left": 456, "left": 456,
"top": 596, "top": 641,
"height": 13, "height": 13,
"alpha": 1.5707963267948966, "alpha": 1.5707963267948966,
"distance": 15, "distance": 15,
@ -2801,7 +2922,7 @@
"visible": null, "visible": null,
"font": "Arial;13;0", "font": "Arial;13;0",
"left": 471, "left": 471,
"top": 597, "top": 643,
"height": 13, "height": 13,
"alpha": 1.5707963267948966, "alpha": 1.5707963267948966,
"distance": 30, "distance": 30,
@ -2822,7 +2943,7 @@
"visible": false, "visible": false,
"font": "Arial;13;0", "font": "Arial;13;0",
"left": 427, "left": 427,
"top": 593, "top": 638,
"height": 13, "height": 13,
"alpha": -1.5707963267948966, "alpha": -1.5707963267948966,
"distance": 15, "distance": 15,
@ -2840,7 +2961,7 @@
"$ref": "AAAAAAGHsxLjH2EVAzI=" "$ref": "AAAAAAGHsxLjH2EVAzI="
}, },
"lineStyle": 1, "lineStyle": 1,
"points": "450:515;434:687", "points": "448:605;437:687",
"showVisibility": true, "showVisibility": true,
"nameLabel": { "nameLabel": {
"$ref": "AAAAAAGHwWj+HLR8LT4=" "$ref": "AAAAAAGHwWj+HLR8LT4="
@ -3148,8 +3269,8 @@
}, },
"visible": false, "visible": false,
"font": "Arial;13;0", "font": "Arial;13;0",
"left": 712, "left": 722,
"top": 499, "top": 524,
"height": 13, "height": 13,
"alpha": 1.5707963267948966, "alpha": 1.5707963267948966,
"distance": 15, "distance": 15,
@ -3169,8 +3290,8 @@
}, },
"visible": null, "visible": null,
"font": "Arial;13;0", "font": "Arial;13;0",
"left": 706, "left": 717,
"top": 513, "top": 538,
"height": 13, "height": 13,
"alpha": 1.5707963267948966, "alpha": 1.5707963267948966,
"distance": 30, "distance": 30,
@ -3190,8 +3311,8 @@
}, },
"visible": false, "visible": false,
"font": "Arial;13;0", "font": "Arial;13;0",
"left": 723, "left": 731,
"top": 472, "top": 495,
"height": 13, "height": 13,
"alpha": -1.5707963267948966, "alpha": -1.5707963267948966,
"distance": 15, "distance": 15,
@ -3212,7 +3333,7 @@
"visible": false, "visible": false,
"font": "Arial;13;0", "font": "Arial;13;0",
"left": 857, "left": 857,
"top": 558, "top": 568,
"height": 13, "height": 13,
"alpha": 0.5235987755982988, "alpha": 0.5235987755982988,
"distance": 30, "distance": 30,
@ -3232,8 +3353,8 @@
}, },
"visible": false, "visible": false,
"font": "Arial;13;0", "font": "Arial;13;0",
"left": 850, "left": 851,
"top": 569, "top": 580,
"height": 13, "height": 13,
"alpha": 0.7853981633974483, "alpha": 0.7853981633974483,
"distance": 40, "distance": 40,
@ -3253,8 +3374,8 @@
}, },
"visible": false, "visible": false,
"font": "Arial;13;0", "font": "Arial;13;0",
"left": 871, "left": 870,
"top": 534, "top": 543,
"height": 13, "height": 13,
"alpha": -0.5235987755982988, "alpha": -0.5235987755982988,
"distance": 25, "distance": 25,
@ -3273,8 +3394,8 @@
"$ref": "AAAAAAGHwW45PFitVg4=" "$ref": "AAAAAAGHwW45PFitVg4="
}, },
"font": "Arial;13;0", "font": "Arial;13;0",
"left": 543, "left": 563,
"top": 452, "top": 491,
"width": 68.9990234375, "width": 68.9990234375,
"height": 13, "height": 13,
"alpha": -0.5199840652869545, "alpha": -0.5199840652869545,
@ -3295,8 +3416,8 @@
}, },
"visible": false, "visible": false,
"font": "Arial;13;0", "font": "Arial;13;0",
"left": 565, "left": 586,
"top": 454, "top": 494,
"height": 13, "height": 13,
"alpha": -0.7853981633974483, "alpha": -0.7853981633974483,
"distance": 40, "distance": 40,
@ -3314,8 +3435,8 @@
"$ref": "AAAAAAGHwW45PFitVg4=" "$ref": "AAAAAAGHwW45PFitVg4="
}, },
"font": "Arial;13;0", "font": "Arial;13;0",
"left": 559, "left": 578,
"top": 437, "top": 477,
"width": 6.5, "width": 6.5,
"height": 13, "height": 13,
"alpha": -0.6366393122007756, "alpha": -0.6366393122007756,
@ -3364,7 +3485,7 @@
"$ref": "AAAAAAGHszJKAGG0NQ0=" "$ref": "AAAAAAGHszJKAGG0NQ0="
}, },
"lineStyle": 1, "lineStyle": 1,
"points": "887:560;550:424", "points": "887:568;568:465",
"showVisibility": true, "showVisibility": true,
"nameLabel": { "nameLabel": {
"$ref": "AAAAAAGHwW45PViwqGs=" "$ref": "AAAAAAGHwW45PViwqGs="
@ -3983,6 +4104,38 @@
"name": "listePosiImage", "name": "listePosiImage",
"visibility": "private", "visibility": "private",
"type": "list <string>" "type": "list <string>"
},
{
"_type": "UMLAttribute",
"_id": "AAAAAAGH4OGlMd48So8=",
"_parent": {
"$ref": "AAAAAAGHsxLjHmETJHw="
},
"name": "Proprietaire",
"visibility": "private",
"type": {
"$ref": "AAAAAAGHszJKAGGyqQg="
}
},
{
"_type": "UMLAttribute",
"_id": "AAAAAAGH4OHosd9AbLE=",
"_parent": {
"$ref": "AAAAAAGHsxLjHmETJHw="
},
"name": "Cooperateurs",
"visibility": "private",
"type": "list<Utilisateur>"
},
{
"_type": "UMLAttribute",
"_id": "AAAAAAGH4OJNgeCD2aw=",
"_parent": {
"$ref": "AAAAAAGHsxLjHmETJHw="
},
"name": "Editeurs",
"visibility": "private",
"type": "list<Utilisateur>"
} }
], ],
"operations": [ "operations": [
@ -4049,6 +4202,30 @@
"$ref": "AAAAAAGHsxLjHmETJHw=" "$ref": "AAAAAAGHsxLjHmETJHw="
}, },
"name": "SupImage" "name": "SupImage"
},
{
"_type": "UMLOperation",
"_id": "AAAAAAGH4NPpHdS/8Gg=",
"_parent": {
"$ref": "AAAAAAGHsxLjHmETJHw="
},
"name": "DeplacerImage"
},
{
"_type": "UMLOperation",
"_id": "AAAAAAGH4OLpfuKYzBw=",
"_parent": {
"$ref": "AAAAAAGHsxLjHmETJHw="
},
"name": "AjouterEditeur"
},
{
"_type": "UMLOperation",
"_id": "AAAAAAGH4OLr9uMH9As=",
"_parent": {
"$ref": "AAAAAAGHsxLjHmETJHw="
},
"name": "PartagerNote"
} }
] ]
}, },
@ -4664,6 +4841,16 @@
"visibility": "private", "visibility": "private",
"type": "list <string>" "type": "list <string>"
} }
],
"operations": [
{
"_type": "UMLOperation",
"_id": "AAAAAAGH4NXEO9nxv7o=",
"_parent": {
"$ref": "AAAAAAGHs2HK4mc6StU="
},
"name": "SetCouleur"
}
] ]
}, },
{ {

@ -6,9 +6,8 @@ using System.Threading.Tasks;
namespace Biblioteque_de_Class namespace Biblioteque_de_Class
{ {
internal class Database public class Database
{ {
List<string> listDefaultLogo; private List<string> listDefaultLogo;
} }
} }

@ -21,12 +21,16 @@ namespace Biblioteque_de_Class
public List<String> listeImage; public List<String> listeImage;
public List<String> listeLigneTexte; public List<String> listeLigneTexte;
public List<String> listePosiImage; public List<String> listePosiImage;
public List<Utilisateur> cooperateurs;
public List<Utilisateur> editeurs;
public Utilisateur proprietaire;
public Note(string nom, string logoPATH, string dateCreation) public Note(string nom, string logoPATH, Utilisateur _proprietaire)
{ {
Nom = nom; Nom = nom;
LogoPATH = logoPATH; LogoPATH = logoPATH;
DateCreation = DateOnly.FromDateTime(DateTime.Now); DateCreation = DateOnly.FromDateTime(DateTime.Now);
proprietaire = _proprietaire;
} }
public Note RechercherNote(List<Note> listeNote, string nom) public Note RechercherNote(List<Note> listeNote, string nom)
@ -45,8 +49,8 @@ namespace Biblioteque_de_Class
public Note AjouterTag() public Note AjouterTag()
{ {
Tags tags= new List<Tags>(); List<Tags> tags= new List<Tags>();
return null;
} }
} }
} }

@ -25,7 +25,7 @@ namespace Biblioteque_de_Class
Couleur = couleur; Couleur = couleur;
} }
public Tags? RechercherTags(List<Tags> listtags,string rechercher) public Tags RechercherTags(List<Tags> listtags,string rechercher)
{ {
foreach (Tags tag in listtags) foreach (Tags tag in listtags)
{ {
@ -36,5 +36,6 @@ namespace Biblioteque_de_Class
} }
return null; return null;
} }
} }
} }

@ -1,4 +1,5 @@
using System.ComponentModel; using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
namespace Biblioteque_de_Class namespace Biblioteque_de_Class
{ {
@ -24,7 +25,9 @@ namespace Biblioteque_de_Class
public void AjouterNote(Utilisateur NoteList) public void AjouterNote(Utilisateur NoteList)
{ {
string logoPATH = Console.ReadLine();
string nom = Console.ReadLine();
Note note = new Note(nom,logoPATH,this);
} }

@ -1,4 +1,6 @@
using Biblioteque_de_Class; using Biblioteque_de_Class;
using System.ComponentModel.DataAnnotations.Schema;
using System.Diagnostics;
int boucle = 0; int boucle = 0;
while (boucle == 0){ while (boucle == 0){
@ -16,63 +18,70 @@ while (boucle == 0){
Console.WriteLine("| 5/créer note |"); Console.WriteLine("| 5/créer note |");
Console.WriteLine("| 6/supprimer note |"); Console.WriteLine("| 6/supprimer note |");
Console.WriteLine("| 7/créer tag |"); Console.WriteLine("| 7/créer tag |");
Console.WriteLine("| 8/supprimer tag |"); Console.WriteLine("| 8/ajouter tag |");
Console.WriteLine("| 9/ajouter image |"); Console.WriteLine("| 9/supprimer tag |");
Console.WriteLine("| 10/supprimer image |"); Console.WriteLine("| 10/ajouter image |");
Console.WriteLine("| 11/déplacer image |"); Console.WriteLine("| 11/supprimer image |");
Console.WriteLine("| 12/ajouter qql à la note |"); Console.WriteLine("| 12/déplacer image |");
Console.WriteLine("| 13/supprimer qql à la note |"); Console.WriteLine("| 13/ajouter qql à la note |");
Console.WriteLine("| 14/créer un thème |"); Console.WriteLine("| 14/supprimer qql à la note |");
Console.WriteLine("| 15/supprimer un thème |"); Console.WriteLine("| 15/créer un thème |");
Console.WriteLine("| 16/modifier un thème |"); Console.WriteLine("| 16/supprimer un thème |");
Console.WriteLine("| 17/rechercher une note |"); Console.WriteLine("| 17/modifier un thème |");
Console.WriteLine("| 18/rechercher une note avec tags |"); Console.WriteLine("| 18/rechercher une note |");
Console.WriteLine("| 19/rechercher une note avec date |"); Console.WriteLine("| 19/rechercher une note avec tags |");
Console.WriteLine("| 20/modifier tags |"); Console.WriteLine("| 20/rechercher une note avec date |");
Console.WriteLine("| 21/modifier compte |"); Console.WriteLine("| 21/modifier tags |");
Console.WriteLine("| 22/modifier note |"); Console.WriteLine("| 22/modifier compte |");
Console.WriteLine("| 23/partage note |"); Console.WriteLine("| 23/modifier note |");
Console.WriteLine("| 24/modifier role (si proprietaire) |"); Console.WriteLine("| 24/partage note |");
Console.WriteLine("| 25/supprimer cooperateur |"); Console.WriteLine("| 25/modifier role (si proprietaire) |");
Console.WriteLine("| 26/supprimer cooperateur |");
Console.WriteLine("| |"); Console.WriteLine("| |");
Console.WriteLine("|-----------------------------------------------|"); Console.WriteLine("|-----------------------------------------------|");
switch (Console.ReadLine()) switch (Console.ReadLine())
{ {
case "1": case "1":
Database.RechercherPseudo();
Database.TrouverMail();
Database.CorrespondPassword();
break; break;
case "2": case "2":
break; break;
case "3": case "3":
Utilisateur.Utilisateur(Upseudo, Umail, Upassword);
Database.AjouterBaseData();
break; break;
case "4": case "4":
Database.RecherhcerPseudo();
Database.TrouverMail();
Database.CorrespondPassword();
Database.SuppBaseData();
break; break;
case "5": case "5":
Utilisateur.AjouterNote(NoteList);
break; break;
case "6": case "6":
Utilisateur.SupNote();
break; break;
case "7": case "7":
Tags.Tags(nom,couleur);
break; break;
case "8": case "8":
Note.AjouterTag();
break; break;
case "9": case "9":
Note.SuppTag();
break; break;
case "10": case "10":
Note.ajouterImage();
break; break;
case "11": case "11":
Note.SuppImage();
break; break;
case "12": case "12":
Note.DeplacerImage();
break; break;
case "13": case "13":
@ -81,16 +90,16 @@ while (boucle == 0){
break; break;
case "15": case "15":
Theme.Theme(nom,listCouleur);
break; break;
case "16": case "16":
break; break;
case "17": case "17":
Theme.SetTheme();
break; break;
case "18": case "18":
Note.RechercherNote(listeNote, nom);
break; break;
case "19": case "19":
@ -99,19 +108,34 @@ while (boucle == 0){
break; break;
case "21": case "21":
Tags.SetNom();
Tags.SetCouleur();
break; break;
case "22": case "22":
Utilisateur.SetPsd();
Utilisateur.SetMail();
Utilisateur.SetMdp();
break; break;
case "23": case "23":
Note.SetNom();
Note.SetLogo();
break; break;
case "24": case "24":
Note.GererPartageNote();
break; break;
case "25": case "25":
Note.VerifProprietaire();
if ()
{
Note.ModifRole();
}
break;
case "26":
Note.VerifProprietaire();
if ()
{
Note.ModifRole();
}
break; break;
default: default:
Console.WriteLine("< Veuillez rentrer une des options proposées à l'ecran ! >"); Console.WriteLine("< Veuillez rentrer une des options proposées à l'ecran ! >");

Loading…
Cancel
Save