public class MoveBookAction extends LibraryAction
Action supporting checkin/checkout operations.
This action expects the book
and reader
IDs to
be on the incoming TransactionForm
, along with the
transactionType
. The move transaction is accomplished
by invoking
org.sourceforge.vlibrary.user.logic.LibraryManagerFacade#processExchange(long, long, String)
.
The BookMoveTransaction
returned by this method is
placed in the request with the key, Constants.TRANS
.
libraryManager
Constructor and Description |
---|
MoveBookAction() |
Modifier and Type | Method and Description |
---|---|
org.apache.struts.action.ActionForward |
executeAction(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.apache.struts.util.MessageResources messages)
Process checkin/checkout using data on transaction form.
|
execute, setLibraryManager, standardForward
addErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
public org.apache.struts.action.ActionForward executeAction(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.apache.struts.util.MessageResources messages) throws Exception
executeAction
in class LibraryAction
mapping
- ActionMapping used to select this instanceform
- TransactionForm associated with this requestrequest
- HTTP requestresponse
- HTTP response* @param messages message resourcesmessages
- message resourcesException
Copyright © 2003-2017 The Virtual Library Team. All Rights Reserved.