Skip to content

Commit 8e25ec5

Browse files
committed
change long with BigIntger and replace getBook()
1 parent 8881950 commit 8e25ec5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package com.iluwatar.cqrs.queries;
22

3+
import java.math.BigInteger;
34
import java.util.List;
45

56
import com.iluwatar.cqrs.dto.AuthorDTO;
@@ -9,12 +10,12 @@ public interface IQueryService {
910

1011
public abstract AuthorDTO getAuthorByUsername(String username);
1112

12-
public abstract Double getBookPrice(String title);
13+
public abstract BookDTO getBook(String title);
1314

1415
public abstract List<BookDTO> getAuthorBooks(String username);
1516

16-
public abstract long getAuthorBooksCount(String username);
17+
public abstract BigInteger getAuthorBooksCount(String username);
1718

18-
public abstract long getAuthorsCount();
19+
public abstract BigInteger getAuthorsCount();
1920

2021
}

0 commit comments

Comments
 (0)