Package | Description |
---|---|
openbook.domain | |
openbook.server |
Modifier and Type | Method and Description |
---|---|
Book |
LineItem.getBook()
Gets the Book for this line item.
|
Book |
Inventory.getBook()
Gets the Book that this inventory represents.
|
Modifier and Type | Method and Description |
---|---|
Set<Book> |
Author.getBooks() |
Map<Book,Integer> |
ShoppingCart.getItems()
Gets the books with their corresponding quantity in this cart.
|
Modifier and Type | Method and Description |
---|---|
void |
Author.addBook(Book book) |
void |
ShoppingCart.addItem(Book book,
int quantity)
Add the given book with the given quantity in the cart.
|
void |
ShoppingCart.changeQuantity(Book book,
int delta)
Change the quantity of the given book by the given delta.
|
void |
ShoppingCart.remove(Book book)
Removes the given book from this cart.
|
Modifier and Type | Method and Description |
---|---|
Book |
OpenBookService.supply(Book b,
int quantity)
Add inventory of the given Book by the given quantity.
|
Modifier and Type | Method and Description |
---|---|
List<Book> |
OpenBookService.select(String title,
Double min,
Double max,
String author,
QueryDecorator... decorators)
Selects a list of Books matching the given conditions.
|
Modifier and Type | Method and Description |
---|---|
Book |
OpenBookService.supply(Book b,
int quantity)
Add inventory of the given Book by the given quantity.
|
Copyright © 2006–2018 Apache Software Foundation. All rights reserved.