public class TransactionForm extends LibraryForm
libraryManager| Constructor and Description | 
|---|
TransactionForm()  | 
| Modifier and Type | Method and Description | 
|---|---|
long | 
getBook()  | 
String | 
getClassName()  | 
String | 
getDeskPhone()
Obsolete: to be removed
 Getter for property deskPhone. 
 | 
long | 
getLocation()  | 
ArrayList<Location> | 
getLocations()  | 
long | 
getReader()
Getter for property reader. 
 | 
ArrayList<Reader> | 
getReaders()
Getter for property readers. 
 | 
String | 
getTransaction()  | 
String | 
getUid()  | 
void | 
setBook(long book)  | 
void | 
setDeskPhone(String deskPhone)
Obsolete: to be removed
 Setter for property deskPhone. 
 | 
void | 
setLocation(long id)
Sets the location for a check-in transaction 
 | 
void | 
setLocations(ArrayList<Location> locations)
Sets the locations property. 
 | 
void | 
setReader(long reader)
Setter for property reader. 
 | 
void | 
setReaders(ArrayList<Reader> readers)
Setter for property readers. 
 | 
void | 
setTransaction(String transaction)  | 
void | 
setUid(String uid)
Sets the uid of the user making the transaction 
 | 
org.apache.struts.action.ActionErrors | 
validate(org.apache.struts.action.ActionMapping mapping,
        javax.servlet.http.HttpServletRequest request)
For all CHECKIN transactions and CHECKOUT transactions that have a
 uid, looks up the reader by uid and sets the  
reader
 property to the returned id. | 
setLibraryManagerpublic String getClassName()
getClassName in class LibraryFormpublic long getBook()
public void setBook(long book)
public String getTransaction()
public void setTransaction(String transaction)
public long getReader()
public void setReader(long reader)
reader - New value of property reader.public String getDeskPhone()
public void setDeskPhone(String deskPhone)
deskPhone - New value of property deskPhone.public void setUid(String uid)
uid - the user ID value to setpublic String getUid()
public void setLocation(long id)
id - ID of the locationpublic long getLocation()
public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
                                                      javax.servlet.http.HttpServletRequest request)
reader
 property to the returned id.validate in class org.apache.struts.action.ActionFormpublic ArrayList<Reader> getReaders()
public void setReaders(ArrayList<Reader> readers)
readers - New value of property readers.Copyright © 2003-2017 The Virtual Library Team. All Rights Reserved.