cafe.gui.interfaces
Interface RegisterViewInterface

All Known Implementing Classes:
RegisterPanel

public interface RegisterViewInterface

This interface provides method for informing register view that the user has inputted username and password, and something should be done.

Author:
Markus Penttila

Method Summary
 void showAskName(boolean authOK)
          If the user is a new user (i.e. not previously stored in database), this method gets called.
 

Method Detail

showAskName

void showAskName(boolean authOK)
If the user is a new user (i.e. not previously stored in database), this method gets called. Then a form asking for user's name should be shown, or alternativily an error message if authOK is false.

Parameters:
authOK - if user's username and password were correct or not