mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-14 12:58:37 +00:00
change long with BigIntger and replace getBook()
This commit is contained in:
@@ -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();
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user