wiki:S2S_CORE_MODEL_R0

Version 2 (modified by meddle, 16 years ago) (diff)

--

Error: Macro BackLinksMenu(None) failed
compressed data is corrupt

Error: Macro TicketQuery(summary=S2S_CORE_MODEL_R0, format=table, col=summary|owner|status|type|component|priority|effort|importance, rows=description|analysis_owners|analysis_reviewers|analysis_score|design_owners|design_reviewers|design_score|implementation_owners|implementation_reviewers|implementation_score|test_owners|test_reviewers|test_score|) failed
current transaction is aborted, commands ignored until end of transaction block

Analysis

Overview

The core should be able to provide functionality to add, edit, comment, and etc books. The permission rules of these actions should be implemented. It should also be able to provide logic for listing and searching for books and comments by given criteria. In Revision 0 will should have basic logic for managing books.

Task requirements

  • Design the model of the server core for basic management of books.
  • We should be able to list and search for books to add, edit and delete books.
  • May be in this revision is not necessary to have defined permissions of the users on the books and comments. So the core model should be really simple for now.

Task result

The result of this task will be source code.

Implementation idea

All that is needed for now is just a class that provides methods such as:

List<Book> getAllBooks();
boolean addBook(Book book);
boolean saveBook(Book editedBook);

and etc...

That task will use the new logic from S2S_PERSIST_MODEL_R0
and will be used by S2S_WEB_BOOK_MANIPULATION_R0 and S2S_WEB_BOOK_MANAGEMENT_R0

How to demo

  • Add a book.
  • Edit a book.
  • Retrieve all the books.
  • Delete a book.

Design

Implementation

(Implementation results should be described and linked here (from the wiki or the repository))

Testing

Comments

(Write comments for this or later revisions here.)