public interface ReaderDAO
| Modifier and Type | Method and Description |
|---|---|
boolean |
deskPhoneExists(String deskPhone) |
long |
getReaderID(String firstName,
String lastName) |
ArrayList |
getReaders() |
void |
insert(Reader reader)
Inserts *this* into the database.
|
boolean |
readerExists(long reader) |
boolean |
readerExists(String firstName,
String lastName) |
void |
resetPassword(String user,
String newPwd) |
Reader |
retrieve(Reader rd) |
Reader |
retrieveById(long id) |
Reader |
retrieveByPhone(String deskPhone) |
Reader |
retrieveByUid(String uid) |
boolean |
uidExists(String uid) |
void |
update(Reader reader) |
void insert(Reader reader) throws LibraryException
LibraryExceptionvoid update(Reader reader) throws LibraryException
LibraryExceptionReader retrieve(Reader rd) throws LibraryException
LibraryExceptionReader retrieveById(long id) throws LibraryException
LibraryExceptionReader retrieveByPhone(String deskPhone) throws LibraryException
LibraryExceptionReader retrieveByUid(String uid) throws LibraryException
LibraryExceptionboolean uidExists(String uid) throws LibraryException
LibraryExceptionboolean readerExists(long reader)
throws LibraryException
LibraryExceptionboolean readerExists(String firstName, String lastName) throws LibraryException
LibraryExceptionboolean deskPhoneExists(String deskPhone) throws LibraryException
LibraryExceptionArrayList getReaders() throws LibraryException
LibraryExceptionlong getReaderID(String firstName, String lastName) throws LibraryException
LibraryExceptionvoid resetPassword(String user, String newPwd) throws LibraryException
LibraryExceptionCopyright © 2003-2017 The Virtual Library Team. All Rights Reserved.