public List<String> call() throws RemoteException { return myInterface.deletedBookmarkUids(); } });
public List<String> call() throws RemoteException { return myInterface.firstTitleLetters(); } });
public List<Bookmark> call() throws RemoteException { return SerializerUtil.deserializeBookmarkList( myInterface.bookmarks(SerializerUtil.serialize(query)) ); } });
public List<Book> call() throws RemoteException { return SerializerUtil.deserializeBookList( myInterface.books(SerializerUtil.serialize(query)), BookCollectionShadow.this ); } });
public synchronized Book getBookByFile(String path) { if (myInterface == null) { return null; } try { return SerializerUtil.deserializeBook(myInterface.getBookByFile(path), this); } catch (RemoteException e) { return null; } }
public synchronized void addToRecentlyOpened(Book book) { if (myInterface != null) { try { myInterface.addToRecentlyOpened(SerializerUtil.serialize(book)); } catch (RemoteException e) { } } }
public synchronized boolean canRemoveBook(Book book, boolean deleteFromDisk) { if (myInterface == null) { return false; } try { return myInterface.canRemoveBook(SerializerUtil.serialize(book), deleteFromDisk); } catch (RemoteException e) { return false; } }
public List<FormatDescriptor> call() throws RemoteException { final List<String> serialized = myInterface.formats(); final List<FormatDescriptor> formats = new ArrayList<FormatDescriptor>(serialized.size()); for (String s : serialized) { formats.add(Util.stringToFormatDescriptor(s)); } return formats; } });
public List<Author> call() throws RemoteException { final List<String> strings = myInterface.authors(); final List<Author> authors = new ArrayList<Author>(strings.size()); for (String s : strings) { authors.add(Util.stringToAuthor(s)); } return authors; } });
public synchronized void deleteBookmark(Bookmark bookmark) { if (myInterface != null) { try { myInterface.deleteBookmark(SerializerUtil.serialize(bookmark)); } catch (RemoteException e) { } } }
public List<Bookmark> call() throws RemoteException { return SerializerUtil.deserializeBookmarkList( myInterface.bookmarks(SerializerUtil.serialize(query)) ); } });
public List<Book> call() throws RemoteException { return SerializerUtil.deserializeBookList( myInterface.books(SerializerUtil.serialize(query)), BookCollectionShadow.this ); } });
public synchronized Book getBookByFile(String path) { if (myInterface == null) { return null; } try { return SerializerUtil.deserializeBook(myInterface.getBookByFile(path), this); } catch (RemoteException e) { return null; } }
public synchronized void addToRecentlyOpened(Book book) { if (myInterface != null) { try { myInterface.addToRecentlyOpened(SerializerUtil.serialize(book)); } catch (RemoteException e) { } } }
public synchronized boolean canRemoveBook(Book book, boolean deleteFromDisk) { if (myInterface == null) { return false; } try { return myInterface.canRemoveBook(SerializerUtil.serialize(book), deleteFromDisk); } catch (RemoteException e) { return false; } }
public List<FormatDescriptor> call() throws RemoteException { final List<String> serialized = myInterface.formats(); final List<FormatDescriptor> formats = new ArrayList<FormatDescriptor>(serialized.size()); for (String s : serialized) { formats.add(Util.stringToFormatDescriptor(s)); } return formats; } });
public List<Author> call() throws RemoteException { final List<String> strings = myInterface.authors(); final List<Author> authors = new ArrayList<Author>(strings.size()); for (String s : strings) { authors.add(Util.stringToAuthor(s)); } return authors; } });
public synchronized void deleteBookmark(Bookmark bookmark) { if (myInterface != null) { try { myInterface.deleteBookmark(SerializerUtil.serialize(bookmark)); } catch (RemoteException e) { } } }
public List<String> call() throws RemoteException { return myInterface.deletedBookmarkUids(); } });
public List<String> call() throws RemoteException { return myInterface.firstTitleLetters(); } });