Exemple #1
0
 public void myDiary() {
   System.out.println("******* My diary *******");
   List<Diary> diary = diaryManager.getArrayOfDiary();
   int i = 1;
   for (Diary d : diary) {
     System.out.println(i + " | " + d.getName());
     i++;
   }
 }
Exemple #2
0
 public void createDiary(String name) {
   diaryManager.createDiary(name);
 }