change long with BigIntger and replace getBook()
This commit is contained in:
parent
8881950e6d
commit
8e25ec55bf
@ -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();
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user