change long with BigIntger and replace getBook()

This commit is contained in:
Sabiq Ihab 2017-06-21 23:35:53 +00:00
parent 8881950e6d
commit 8e25ec55bf

View File

@ -1,5 +1,6 @@
package com.iluwatar.cqrs.queries;
import java.math.BigInteger;
import java.util.List;
import com.iluwatar.cqrs.dto.AuthorDTO;
@ -9,12 +10,12 @@ public interface IQueryService {
public abstract AuthorDTO getAuthorByUsername(String username);
public abstract Double getBookPrice(String title);
public abstract BookDTO getBook(String title);
public abstract List<BookDTO> getAuthorBooks(String username);
public abstract long getAuthorBooksCount(String username);
public abstract BigInteger getAuthorBooksCount(String username);
public abstract long getAuthorsCount();
public abstract BigInteger getAuthorsCount();
}