View Javadoc
1   /*
2    * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
3    * The software in this package is published under the terms of the CPAL v1.0
4    * license, a copy of which has been included with this distribution in the
5    * LICENSE.txt file.
6    */
7   package org.mule.example.bookstore;
8   
9   import java.util.Collection;
10  
11  /** 
12   * Administration interface for adding new books to the bookstore's catalog 
13   */
14  public interface CatalogAdminService
15  {
16      /** Add a new book to the catalog */
17      long addBook(Book book);
18  
19      /** Add a group of new books to the catalog */
20      Collection <Long> addBooks(Collection <Book> books);
21  }