Package cvut.fel.service

# Interface PublisherService

All Known Implementing Classes:
  `PublisherServiceImp`

    public interface PublisherService

- ## Method Summary

  Modifier and Type | Method | Description
  --- | --- | ---
  `boolean` | `createContract​(java.lang.Long authorId, java.lang.Long publisherId)` |
  `Publisher` | `findById​(java.lang.Long id)` |
  `java.lang.Long` | `publishNewBook​(java.lang.Long publisherId, BookCreate bookCreate)` |

- ## Method Details

  - ### findById

    Publisher findById​(java.lang.Long id)

  - ### createContract

    boolean createContract​(java.lang.Long authorId, java.lang.Long publisherId)

  - ### publishNewBook

    java.lang.Long publishNewBook​(java.lang.Long publisherId, BookCreate bookCreate)