1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-05 10:49:24 +02:00

authors/tags/series methods in BookCollection (with dummy implementation on shadow side)

This commit is contained in:
Nikolay Pultsin 2013-02-02 10:01:33 +00:00
parent 8677a4a97d
commit 7f0adbdb43
4 changed files with 80 additions and 1 deletions

View file

@ -188,6 +188,42 @@ public class BookCollectionShadow extends AbstractBookCollection implements Serv
}
}
public synchronized List<Author> authors() {
if (myInterface == null) {
return Collections.emptyList();
}
//try {
// TODO: implement
return Collections.emptyList();
//} catch (RemoteException e) {
// return Collections.emptyList();
//}
}
public synchronized List<Tag> tags() {
if (myInterface == null) {
return Collections.emptyList();
}
//try {
// TODO: implement
return Collections.emptyList();
//} catch (RemoteException e) {
// return Collections.emptyList();
//}
}
public synchronized List<String> series() {
if (myInterface == null) {
return Collections.emptyList();
}
//try {
// TODO: implement
return Collections.emptyList();
//} catch (RemoteException e) {
// return Collections.emptyList();
//}
}
public synchronized boolean saveBook(Book book, boolean force) {
if (myInterface == null) {
return false;