| 44 | * The core security logic is implemented in [wiki:S2S_CORE_SECURITY_R0]. You can look at the design to see security class diagrams. |
| 45 | |
| 46 | * The Book Service: |
| 47 | * Will have method for adding a book. The method will check if the Book exists in the database. In the other cases the logger should warn that there is already such book. |
| 48 | * Will have method for saving a book. The method will receive as parameter an edited Book object. |
| 49 | * Will have method for deleting a book. |
| 50 | * Will have method that provides all the books an user is created. It returns list with the books. |
| 51 | * Will have method that provides all the books. It returns list with all the books. |
| 52 | * Will have a method that search book by a given author. |
| 53 | * Will have a method that search a book by its title. |
| 54 | |
| 55 | * Here is the class diagram representing the core book model: |
| 56 | |
| 57 | [[Image(source:/trunk/sophie2-platform/modules/org.sophie2.server/doc/S2SCoreBookModel.png)]] |