@Override // @Transactional public Integer update(BookView bookView) throws ValidationException, IllegalDatabaseStateException, ForbiddenException, NoSuchEntityException, AuthRequiredException { BookEntity bookEntity = bookCreationService.updateFields(bookView); return bookEntity.getId(); }
@Override public Integer create(BookView bookView) throws ValidationException, IllegalDatabaseStateException, ForbiddenException, KeywordsRequiredException, AuthRequiredException, NoSuchEntityException { return bookCreationService.validateAndCreate(bookView); }