diff --git a/src/main/java/org/ntlab/citrusserver/repositories/BookManager.java b/src/main/java/org/ntlab/citrusserver/repositories/BookManager.java index cbe4285..d19fd96 100644 --- a/src/main/java/org/ntlab/citrusserver/repositories/BookManager.java +++ b/src/main/java/org/ntlab/citrusserver/repositories/BookManager.java @@ -44,6 +44,7 @@ Account account = accountManager.getAccount(accountId); //アカウントの取得 int newBookId = account.getNewBookId(); //新たに生成されたIdを取得(作成数もここで加算している) Book book = new Book(accountId, newBookId, title, publicity, color); //本の初期化 + notifyListener(account, book);//公開設定を通知します booksMap.get(accountId).put(newBookId, book); //ブックに追加 return booksMap.get(accountId).get(newBookId); //(int->Bookを返すように変更した) } @@ -135,4 +136,6 @@ iBookListener.bookChanged(account, book); } } + + }