コード例 #1
0
 @Override
 @Transactional
 public AuthorDeletedEvent deleteAuthor(DeleteAuthorEvent deleteAuthorEvent) {
   return authorDAO.deleteAuthor(deleteAuthorEvent);
 }
コード例 #2
0
 @Override
 @Transactional
 public AuthorUpdatedEvent updateAuthor(UpdateAuthorEvent updateAuthorEvent) {
   return authorDAO.updateAuthor(updateAuthorEvent);
 }
コード例 #3
0
 @Override
 @Transactional
 public AuthorEvent requestAuthorWithBooks(RequestAuthorEvent requestAuthorEvent) {
   return authorDAO.getAuthorWithBooks(requestAuthorEvent);
 }
コード例 #4
0
 @Override
 @Transactional
 public AllAuthorsEvent requestAllAuthors(RequestAllAuthorsEvent requestAllAuthorsEvent) {
   return authorDAO.listAuthors(requestAllAuthorsEvent);
 }
コード例 #5
0
 @Override
 @Transactional
 public AuthorCreatedEvent createAuthor(CreateAuthorEvent createAuthorEvent) {
   return authorDAO.addAuthor(createAuthorEvent);
 }