167168169170171172173174175176177
{ public Book[] doRemote() throws RemoteException { IBookQuery query = getBookQuerySource().newQuery(); int count = query.ownerQuery(userPK, null); return count == 0 ? null : query.get(0, count); } };
9596979899100101102103104105
setOwnedQuery(query); } try { return query.ownerQuery(userId, ordering); } catch (RemoteException ex) { setOwnedQuery(null); throw ex;
114115116117118119120121122123124
setQuery(query); } try { return query.ownerQuery(personId, ordering); } catch (RemoteException ex) { setQuery(null); throw ex;
181182183184185186187188189190191
try { IBookQuery query = vengine.createNewQuery(); int count = query.ownerQuery(user.getId(), null); if (count > 0) books = query.get(0, count); break;
182183184185186187188189190191192
try { IBookQuery query = vengine.createNewQuery(); int count = query.ownerQuery(userPK, null); if (count > 0) books = query.get(0, count); break;