A B C D E G L M P R S T 
All Classes All Packages

A

addBookToAssortment(BookDetailsImpl) - Method in interface eu.kartoffelquadrat.bookstoreinternals.Assortment
Indexes a new book.
addBookToAssortment(BookDetailsImpl) - Method in class eu.kartoffelquadrat.bookstoreinternals.AssortmentImpl
Indexes a new book.
addComment(long, String) - Method in interface eu.kartoffelquadrat.bookstoreinternals.Comments
Add a comment to an existing book.
addComment(long, String) - Method in class eu.kartoffelquadrat.bookstoreinternals.CommentsImpl
Add a comment to an existing book.
Assortment - Interface in eu.kartoffelquadrat.bookstoreinternals
Represents the catalogue of all indexed books.
AssortmentImpl - Class in eu.kartoffelquadrat.bookstoreinternals
Implementation of the Assortment interface.

B

BookDetailsImpl - Class in eu.kartoffelquadrat.bookstoreinternals
Bean representing a single book with public read access to all fields.
BookDetailsImpl() - Constructor for class eu.kartoffelquadrat.bookstoreinternals.BookDetailsImpl
Default constructor.
BookDetailsImpl(long, String, String, int, String) - Constructor for class eu.kartoffelquadrat.bookstoreinternals.BookDetailsImpl
Fully parameterized constructor.

C

Comments - Interface in eu.kartoffelquadrat.bookstoreinternals
Offers access to all Comments of all Books.
CommentsImpl - Class in eu.kartoffelquadrat.bookstoreinternals
Full implementation Implementation of the Comments interface.

D

deleteComment(long, long) - Method in interface eu.kartoffelquadrat.bookstoreinternals.Comments
Removes a previously stored comment for a specific book.
deleteComment(long, long) - Method in class eu.kartoffelquadrat.bookstoreinternals.CommentsImpl
Removes a previously stored comment for a specific book.
DesktopLauncher - Class in eu.kartoffelquadrat.bookstoreinternals
Legacy launcher class to demonstrate access and functionality of the bookstore.
DesktopLauncher() - Constructor for class eu.kartoffelquadrat.bookstoreinternals.DesktopLauncher
 

E

editComment(long, long, String) - Method in interface eu.kartoffelquadrat.bookstoreinternals.Comments
Overwrites an already existing specific comment for a specific book.
editComment(long, long, String) - Method in class eu.kartoffelquadrat.bookstoreinternals.CommentsImpl
Overwrites an already existing specific comment for a specific book.
eu.kartoffelquadrat.bookstoreinternals - package eu.kartoffelquadrat.bookstoreinternals
 

G

getAllCommentsForBook(long) - Method in interface eu.kartoffelquadrat.bookstoreinternals.Comments
Returns all comments stored for a specific book.
getAllCommentsForBook(long) - Method in class eu.kartoffelquadrat.bookstoreinternals.CommentsImpl
Returns all comments stored for a specific book.
getAmount(long) - Method in interface eu.kartoffelquadrat.bookstoreinternals.LocalStock
Tells the amount in stock for a given book id (isbn).
getAmount(long) - Method in class eu.kartoffelquadrat.bookstoreinternals.LocalStockImpl
Tells the amount in stock for a given book id (isbn).
getAuthor() - Method in class eu.kartoffelquadrat.bookstoreinternals.BookDetailsImpl
Getter for the author of the book.
getBookAbstract() - Method in class eu.kartoffelquadrat.bookstoreinternals.BookDetailsImpl
Getter for the book's abstract desription.
getBookDetails(Long) - Method in interface eu.kartoffelquadrat.bookstoreinternals.Assortment
Retrieved book details for a specific book, identified by isbn.
getBookDetails(Long) - Method in class eu.kartoffelquadrat.bookstoreinternals.AssortmentImpl
Retrieved book details for a specific book, identified by isbn.
getEntireAssortment() - Method in interface eu.kartoffelquadrat.bookstoreinternals.Assortment
Retrieves all books that are indexed, no matter if they are in stock somewhere or not.
getEntireAssortment() - Method in class eu.kartoffelquadrat.bookstoreinternals.AssortmentImpl
Retrieves all books that are indexed, no matter if they are in stock somewhere or not.
getEntireStock() - Method in interface eu.kartoffelquadrat.bookstoreinternals.LocalStock
Returns the entire stock of this location, as an immutable map.
getEntireStock() - Method in class eu.kartoffelquadrat.bookstoreinternals.LocalStockImpl
Returns the entire stock of this location, as an immutable map.
getEntireStoreStock(String) - Method in interface eu.kartoffelquadrat.bookstoreinternals.GlobalStock
Returns the entire stock of a local store.
getEntireStoreStock(String) - Method in class eu.kartoffelquadrat.bookstoreinternals.GlobalStockImpl
Returns the entire stock of a local store.
getInstance() - Static method in class eu.kartoffelquadrat.bookstoreinternals.AssortmentImpl
Singleton pattern instance retriever.
getInstance() - Static method in class eu.kartoffelquadrat.bookstoreinternals.CommentsImpl
Singleton access for CommentsImpl.
getInstance() - Static method in class eu.kartoffelquadrat.bookstoreinternals.GlobalStockImpl
Singleton access method.
getIsbn() - Method in class eu.kartoffelquadrat.bookstoreinternals.BookDetailsImpl
Getter for isbn number of book.
getPriceInCents() - Method in class eu.kartoffelquadrat.bookstoreinternals.BookDetailsImpl
Getter for the book's price in canadian cents.
getStock(String, Long) - Method in interface eu.kartoffelquadrat.bookstoreinternals.GlobalStock
Returns the amount in stock of a given book in a given city.
getStock(String, Long) - Method in class eu.kartoffelquadrat.bookstoreinternals.GlobalStockImpl
Returns the amount in stock of a given book in a given city.
getStoreLocations() - Method in interface eu.kartoffelquadrat.bookstoreinternals.GlobalStock
Returns a list of all cities that have a local stock.
getStoreLocations() - Method in class eu.kartoffelquadrat.bookstoreinternals.GlobalStockImpl
Returns a list of all cities that have a local stock.
getTitle() - Method in class eu.kartoffelquadrat.bookstoreinternals.BookDetailsImpl
Getter for the book's title.
GlobalStock - Interface in eu.kartoffelquadrat.bookstoreinternals
Represents the stock levels of all local store branches.
GlobalStockImpl - Class in eu.kartoffelquadrat.bookstoreinternals
Implementation for the GlobalStock interface.

L

LocalStock - Interface in eu.kartoffelquadrat.bookstoreinternals
Represents the stock of a local bookstore.
LocalStockImpl - Class in eu.kartoffelquadrat.bookstoreinternals
Implementation for the LocalStock interface.
LocalStockImpl() - Constructor for class eu.kartoffelquadrat.bookstoreinternals.LocalStockImpl
Default constructor.

M

main(String[]) - Static method in class eu.kartoffelquadrat.bookstoreinternals.DesktopLauncher
Creates a BookStore instance and prints the default data to screen.

P

printData() - Static method in class eu.kartoffelquadrat.bookstoreinternals.DesktopLauncher
Creates a BookStore instance and prints the default data to screen.

R

removeAllCommentsForBook(long) - Method in interface eu.kartoffelquadrat.bookstoreinternals.Comments
Removes all previously stored comments for a specific book.
removeAllCommentsForBook(long) - Method in class eu.kartoffelquadrat.bookstoreinternals.CommentsImpl
Removes all previously stored comments for a specific book.

S

setAmount(long, int) - Method in interface eu.kartoffelquadrat.bookstoreinternals.LocalStock
Update the amount of books in local stock, for a given book.
setAmount(long, int) - Method in class eu.kartoffelquadrat.bookstoreinternals.LocalStockImpl
Update the amount of books in local stock, for a given book.
setStock(String, Long, Integer) - Method in interface eu.kartoffelquadrat.bookstoreinternals.GlobalStock
Updates the stock for a given city.
setStock(String, Long, Integer) - Method in class eu.kartoffelquadrat.bookstoreinternals.GlobalStockImpl
Updates the stock for a given city.

T

toString() - Method in class eu.kartoffelquadrat.bookstoreinternals.AssortmentImpl
Converts the current assortment state to a human readable String.
toString() - Method in class eu.kartoffelquadrat.bookstoreinternals.BookDetailsImpl
Converts the book detail fields to a human readable String.
toString() - Method in class eu.kartoffelquadrat.bookstoreinternals.CommentsImpl
Helper method to convert all stored comments into human readable format.
toString() - Method in class eu.kartoffelquadrat.bookstoreinternals.GlobalStockImpl
Helper method to convert all stored stock information into human readable format.
toString() - Method in class eu.kartoffelquadrat.bookstoreinternals.LocalStockImpl
Overrides default toString method to serialize instances of this class to human readable string.
A B C D E G L M P R S T 
All Classes All Packages