TwiNNeR

BookDetailsServiceHelper

Mar 7th, 2017
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.66 KB | None | 0 0
  1. package mk.ukim.finki.emt.service;
  2.  
  3. import mk.ukim.finki.emt.model.jpa.Book;
  4. import mk.ukim.finki.emt.model.jpa.BookDetails;
  5.  
  6. import java.sql.Blob;
  7.  
  8. /**
  9.  * Created by 143035 on 3/7/2017.
  10.  */
  11. public interface BookDetailsServiceHelper {
  12.  
  13.     String getBookDescription();
  14.  
  15.     String getDataSize();
  16.  
  17.     Blob getData();
  18.  
  19.     String getContentType();
  20.  
  21.     String getFileName();
  22.  
  23.     Book getBook();
  24.  
  25.     void addDetailsToBook(BookDetails bookDetails, Book book);
  26.  
  27.     void updateBookDescription(String description);
  28.  
  29.     void updateFileName(String fileName);
  30.  
  31.     void updateData(Blob data);
  32.  
  33.     void setContentType(String contentType);
  34.  
  35.  
  36. }
Advertisement
Add Comment
Please, Sign In to add comment