PageRenderTime 19ms CodeModel.GetById 16ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/testing/library/src/com/google/appengine/library/BookDataService.java

http://datanucleus-appengine.googlecode.com/
Java | 26 lines | 9 code | 9 blank | 8 comment | 0 complexity | 66da47b9c2684f480661ebd5216e8342 MD5 | raw file
 1// Copyright 2008 Google Inc. All Rights Reserved.
 2
 3package com.google.appengine.library;
 4
 5/**
 6 * @author kjin@google.com (Kevin Jin)
 7 * 
 8 */
 9public interface BookDataService {
10
11  void put(Book book);
12
13  int countEntities(String jpqlQuery);
14
15  Iterable<Book> asIterable(String jpqlQuery);
16
17  void delete(Book book);
18
19  Iterable<Book> asIterable(String jpqlQuery, int limit, int offset);
20
21  /**
22   * Closes the BookDataService. No further requests may be made on it.
23   */
24  void close();
25  
26}