A B C D E F G I L M N O P R S T U V W

R

read() - Method in class cafe.authentication.Base64.InputStream
Reads enough of the input stream to convert to/from Base64 and returns the next byte.
read(byte[], int, int) - Method in class cafe.authentication.Base64.InputStream
Calls Base64.InputStream.read() repeatedly until the end of stream is reached or len bytes are read.
ReaderListener - Class in cafe.fingerprintauthentication
Purpose of this class is to listen IImageEventListener and when new image is aquired to forward it to rest of the program.
ReaderListener(FingerprintData, String) - Constructor for class cafe.fingerprintauthentication.ReaderListener
Creates a new ReaderListener object which has FingerprintData-interface implementin object and name of the reader we are listening as a parameter.
reconnectDatabase() - Method in interface cafe.database.Database
Method tries to reconnect to database if connection is lost for some reason
reconnectDatabase() - Method in class cafe.database.DBCommunication
Method tries to reconnect to database if connection is lost for some reason
register() - Method in interface cafe.gui.startView.RegisterEvent
Tells to the implementing class that the register button was pressed.
register() - Method in class cafe.gui.startView.StartPanel
When user wants to register as a new user, ViewEventInterface is told to change view to RegisterView.
RegisterEvent - Interface in cafe.gui.registerView
Provides methods for processing data from text fields in register view.
RegisterEvent - Interface in cafe.gui.startView
Interface is used by the register a new user button.
RegisterPanel - Class in cafe.gui.registerView
Creates the view for registering as a new user or logging in with CS Department username & password (if user has a problem with fingerprint authentication).
RegisterPanel(ViewEventInterface) - Constructor for class cafe.gui.registerView.RegisterPanel
Constructs the base panel for this view, sets the layout and gets texts from the interface
registerView() - Method in class cafe.gui.general.NPanel
Used to make this panel show the correct buttons when in register as a new user view.
RegisterViewInterface - Interface in cafe.gui.interfaces
This interface provides method for informing register view that the user has inputted username and password, and something should be done.
removeAlert(ImportProduct) - Method in interface cafe.database.Database
Removes alert from a product
removeAlert(ImportProduct) - Method in class cafe.database.DBCommunication
Removes alert from a product if productId in db, updates that row, if no product found, does not update any rows
removeAlert(ImportProduct) - Method in class cafe.gui.GuiMain
Removes product alert from the product given as parameter
removeAlert(ImportProduct) - Method in interface cafe.gui.UserInterfaceEvent
Removes the alert from the given product.
removeAlert(ImportProduct) - Method in interface cafe.gui.ViewEventInterface
Removes product alert from the product given as parameter
removeAlert(ImportProduct) - Method in class cafe.main.MainGuiHandler
Removes the alert from the given product by calling Database interface's removeAlert method.
removeAlertPackage(ImportProduct) - Method in interface cafe.gui.startView.AlertEvent
Removes alert inside package.
removeAlertPackage(ImportProduct) - Method in class cafe.gui.startView.StartPanel
When user wants to remove alert, he presses a button that calls this method.
RemoveButton - Class in cafe.gui.startView
Creates a button for acknowledging / removing alerts in StartView
RemoveButton(String, ImportProduct, AlertEvent) - Constructor for class cafe.gui.startView.RemoveButton
Constructs RemoveButton
resetIterator() - Method in class cafe.fingerprintauthentication.FingerprintCache
This method resets cacheiterator back into the beginning when we start to look for a fingerprint.
resumeEncoding() - Method in class cafe.authentication.Base64.OutputStream
Resumes encoding of the stream.

A B C D E F G I L M N O P R S T U V W