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
LibraryException
void update(Reader reader) throws LibraryException
LibraryException
Reader retrieve(Reader rd) throws LibraryException
LibraryException
Reader retrieveById(long id) throws LibraryException
LibraryException
Reader retrieveByPhone(String deskPhone) throws LibraryException
LibraryException
Reader retrieveByUid(String uid) throws LibraryException
LibraryException
boolean uidExists(String uid) throws LibraryException
LibraryException
boolean readerExists(long reader) throws LibraryException
LibraryException
boolean readerExists(String firstName, String lastName) throws LibraryException
LibraryException
boolean deskPhoneExists(String deskPhone) throws LibraryException
LibraryException
ArrayList getReaders() throws LibraryException
LibraryException
long getReaderID(String firstName, String lastName) throws LibraryException
LibraryException
void resetPassword(String user, String newPwd) throws LibraryException
LibraryException
Copyright © 2003-2017 The Virtual Library Team. All Rights Reserved.