979899100101102103104105106107
public IPage borrow(final IRequestCycle cycle, final Integer bookId) { final Visit visit = getVisit(); final Home home = getHome(); RemoteCallback callback = new RemoteCallback() { public Object remoteCallback() throws RemoteException { try {
140141142143144145146147148149150
List selectedBooks = getSelectedBooks(); final Integer[] keys = (Integer[]) selectedBooks.toArray(new Integer[0]); final Person toUser = getToUser(); RemoteCallback callback = new RemoteCallback() { public Object doRemote() throws RemoteException { try {
171172173174175176177178179180181
return selectPage; } private IPropertySelectionModel buildUserBookModel(final Person user) { RemoteCallback<Book[]> callback = new RemoteCallback() { public Book[] doRemote() throws RemoteException { IBookQuery query = getBookQuerySource().newQuery();
8586878889909192939495
{ final Integer userId = getVisitState().getUserId(); final SortOrdering ordering = new SortOrdering(getSortColumn(), isDescending()); RemoteCallback<Integer> callback = new RemoteCallback() { public Integer doRemote() throws RemoteException {
103104105106107108109110111112113
{ final Integer personId = getPersonId(); final SortOrdering ordering = new SortOrdering(getSortColumn(), isDescending()); RemoteCallback<Integer> callback = new RemoteCallback() { public Integer doRemote() throws RemoteException {
6970717273747576777879
* Hooked up to the yes component, this actually deletes the book. */ public void deleteBook(final Integer bookId) { RemoteCallback<Book> callback = new RemoteCallback() { public Book doRemote() throws RemoteException { try {
128129130131132133134135136137138
{ Visit visit = getVisitState(); Integer userId = visit.getUserId(); RemoteCallback<Person[]> callback = new RemoteCallback() { public Person[] doRemote() throws RemoteException {
183184185186187188189190191192193
return; } final Integer adminId = visit.getUserId(); RemoteCallback callback = new RemoteCallback() { public Object doRemote() throws RemoteException {
93949596979899100101102103
Integer userId = visit.getUserId(); attributes.put("ownerId", userId); attributes.put("holderId", userId); RemoteCallback<Boolean> callback = new RemoteCallback() { public Boolean doRemote() throws RemoteException {
6465666768697071727374
public void beginEdit(final Integer bookId) { setBookId(bookId); RemoteCallback<Map> callback = new RemoteCallback() { public Map doRemote() throws RemoteException {