Codota Logo
BookCollectionShadow.listCall
Code IndexAdd Codota to your IDE (free)

How to use
listCall
method
in
com.koolearn.android.kooreader.libraryService.BookCollectionShadow

Best Java code snippets using com.koolearn.android.kooreader.libraryService.BookCollectionShadow.listCall (Showing top 20 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Connection c =
  • Codota IconDataSource dataSource;dataSource.getConnection()
  • Codota IconString url;DriverManager.getConnection(url)
  • Codota IconIdentityDatabaseUtil.getDBConnection()
  • Smart code suggestions by Codota
}
origin: ydcx/KooReader

public synchronized List<String> deletedBookmarkUids() {
  return listCall(new ListCallable<String>() {
    public List<String> call() throws RemoteException {
      return myInterface.deletedBookmarkUids();
    }
  });
}
origin: ydcx/KooReader

public List<Book> recentlyOpenedBooks(final int count) {
  return listCall(new ListCallable<Book>() {
    public List<Book> call() throws RemoteException {
      // 继续前一步得到的序列化集合List<String>序列化为List<Book>
      // Book String DbBook String
      return SerializerUtil.deserializeBookList(
        myInterface.recentlyOpenedBooks(count), BookCollectionShadow.this);  // 调用远程服务中的方法
    }
  });
}
origin: Jiangzqts/EpubRead

public List<HighlightingStyle> highlightingStyles() {
  return listCall(new ListCallable<HighlightingStyle>() {
    public List<HighlightingStyle> call() throws RemoteException {
      return SerializerUtil.deserializeStyleList(myInterface.highlightingStyles());
    }
  });
}
origin: Jiangzqts/EpubRead

public List<Book> recentlyAddedBooks(final int count) {
  return listCall(new ListCallable<Book>() {
    public List<Book> call() throws RemoteException {
      return SerializerUtil.deserializeBookList(
        myInterface.recentlyAddedBooks(count), BookCollectionShadow.this
      );
    }
  });
}
origin: ydcx/KooReader

public List<HighlightingStyle> highlightingStyles() {
  return listCall(new ListCallable<HighlightingStyle>() {
    public List<HighlightingStyle> call() throws RemoteException {
      return SerializerUtil.deserializeStyleList(myInterface.highlightingStyles());
    }
  });
}
origin: Jiangzqts/EpubRead

public List<String> series() {
  return listCall(new ListCallable<String>() {
    public List<String> call() throws RemoteException {
      return myInterface.series();
    }
  });
}
origin: Jiangzqts/EpubRead

public List<String> labels() {
  return listCall(new ListCallable<String>() {
    public List<String> call() throws RemoteException {
      return myInterface.labels();
    }
  });
}
origin: Jiangzqts/EpubRead

public List<String> titles(final BookQuery query) {
  return listCall(new ListCallable<String>() {
    public List<String> call() throws RemoteException {
      return myInterface.titles(SerializerUtil.serialize(query));
    }
  });
}
origin: Jiangzqts/EpubRead

@Override
public List<Bookmark> bookmarks(final BookmarkQuery query) {
  return listCall(new ListCallable<Bookmark>() {
    public List<Bookmark> call() throws RemoteException {
      return SerializerUtil.deserializeBookmarkList(
        myInterface.bookmarks(SerializerUtil.serialize(query))
      );
    }
  });
}
origin: ydcx/KooReader

public List<Book> books(final BookQuery query) {
  return listCall(new ListCallable<Book>() {
    public List<Book> call() throws RemoteException {
      return SerializerUtil.deserializeBookList(
        myInterface.books(SerializerUtil.serialize(query)), BookCollectionShadow.this
      );
    }
  });
}
origin: ydcx/KooReader

public List<String> series() {
  return listCall(new ListCallable<String>() {
    public List<String> call() throws RemoteException {
      return myInterface.series();
    }
  });
}
origin: ydcx/KooReader

@Override
public List<Bookmark> bookmarks(final BookmarkQuery query) {
  return listCall(new ListCallable<Bookmark>() {
    public List<Bookmark> call() throws RemoteException {
      return SerializerUtil.deserializeBookmarkList(
        myInterface.bookmarks(SerializerUtil.serialize(query))
      );
    }
  });
}
origin: ydcx/KooReader

public List<String> labels() {
  return listCall(new ListCallable<String>() {
    public List<String> call() throws RemoteException {
      return myInterface.labels();
    }
  });
}
origin: Jiangzqts/EpubRead

public synchronized List<String> deletedBookmarkUids() {
  return listCall(new ListCallable<String>() {
    public List<String> call() throws RemoteException {
      return myInterface.deletedBookmarkUids();
    }
  });
}
origin: ydcx/KooReader

public List<String> firstTitleLetters() {
  return listCall(new ListCallable<String>() {
    public List<String> call() throws RemoteException {
      return myInterface.firstTitleLetters();
    }
  });
}
origin: ydcx/KooReader

public List<String> titles(final BookQuery query) {
  return listCall(new ListCallable<String>() {
    public List<String> call() throws RemoteException {
      return myInterface.titles(SerializerUtil.serialize(query));
    }
  });
}
origin: ydcx/KooReader

public List<Book> recentlyAddedBooks(final int count) {
  return listCall(new ListCallable<Book>() {
    public List<Book> call() throws RemoteException {
      return SerializerUtil.deserializeBookList(
        myInterface.recentlyAddedBooks(count), BookCollectionShadow.this
      );
    }
  });
}
origin: ydcx/KooReader

public List<Tag> tags() {
  return listCall(new ListCallable<Tag>() {
    public List<Tag> call() throws RemoteException {
      final List<String> strings = myInterface.tags();
      final List<Tag> tags = new ArrayList<Tag>(strings.size());
      for (String s : strings) {
        tags.add(Util.stringToTag(s));
      }
      return tags;
    }
  });
}
origin: Jiangzqts/EpubRead

public List<Tag> tags() {
  return listCall(new ListCallable<Tag>() {
    public List<Tag> call() throws RemoteException {
      final List<String> strings = myInterface.tags();
      final List<Tag> tags = new ArrayList<Tag>(strings.size());
      for (String s : strings) {
        tags.add(Util.stringToTag(s));
      }
      return tags;
    }
  });
}
origin: ydcx/KooReader

public List<Author> authors() {
  return listCall(new ListCallable<Author>() {
    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;
    }
  });
}
com.koolearn.android.kooreader.libraryServiceBookCollectionShadowlistCall

Popular methods of BookCollectionShadow

  • bindToService
  • unbind
  • <init>
  • addListener
  • bookmarks
  • deleteBookmark
  • getBookById
  • getHighlightingStyle
  • hasListeners
  • highlightingStyles
  • removeListener
  • saveBookmark
  • removeListener,
  • saveBookmark,
  • saveHighlightingStyle,
  • setDefaultHighlightingStyleId,
  • status,
  • addToRecentlyOpened,
  • getBookByFile,
  • recentlyOpenedBooks,
  • saveBook

Popular in Java

  • Start an intent from android
  • getSharedPreferences (Context)
  • getExternalFilesDir (Context)
  • getApplicationContext (Context)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • DataSource (javax.sql)
    A factory for connections to the physical data source that this DataSource object represents. An alt
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now