cafe.fingerprintauthentication
Interface FingerprintEvent

All Known Implementing Classes:
MainFingerprintHandler

public interface FingerprintEvent

This interface provides methods for the FingerprintAuthentication component to inform the other components of the system of its actions.

Version:
0.2 Parts made by Veli-Pekka Kestilä(vpk) Copyright(C) Veli-Pekka Kestilä And are lisenced under LGPL accordin the agreement between copyright holder and Unversity of Helsinki. Parts made by others Copyright(C) University of Helsinki Following notice currently only concerns parts written by Veli-Pekka Kestilä. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Author:
vpk, Markus Penttila

Method Summary
 boolean authenticatedFingerprint(int id)
          Used to inform the system that a fingerprint has been recognized.
 FPData[] getFingerprintData()
          Used to fetch all fingerprints from the database.
 void unAuthenticatedFingerprint(FPData data)
          Used to inform the system that a fingerprint was read, but not recognized.
 

Method Detail

authenticatedFingerprint

boolean authenticatedFingerprint(int id)
Used to inform the system that a fingerprint has been recognized.

Parameters:
id - the id number of the recognized fingerprint
Returns:
true if the fingerprint should be kept in cache. false if it should be deleted (i.e. has been deleted from the database).

unAuthenticatedFingerprint

void unAuthenticatedFingerprint(FPData data)
Used to inform the system that a fingerprint was read, but not recognized.

Parameters:
data - FPData containing the fingerprint's data

getFingerprintData

FPData[] getFingerprintData()
Used to fetch all fingerprints from the database.

Returns:
a list of FPData instances containing all fingerprint data in the database