org.mule.example.bookstore
Class BookstoreImpl

java.lang.Object
  extended by org.mule.example.bookstore.BookstoreImpl
All Implemented Interfaces:
Bookstore

public class BookstoreImpl
extends Object
implements Bookstore


Constructor Summary
BookstoreImpl()
           
 
Method Summary
 long addBook(Book book)
           
 Collection<Long> addBooks(Collection<Book> books)
           
 Collection<Book> getBooks()
           
 void orderBook(long bookId, String address, String email)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BookstoreImpl

public BookstoreImpl()
Method Detail

addBook

public long addBook(Book book)
Specified by:
addBook in interface Bookstore

addBooks

public Collection<Long> addBooks(Collection<Book> books)
Specified by:
addBooks in interface Bookstore

getBooks

public Collection<Book> getBooks()
Specified by:
getBooks in interface Bookstore

orderBook

public void orderBook(long bookId,
                      String address,
                      String email)
Specified by:
orderBook in interface Bookstore


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.