public class LoginPresenter extends com.gwtplatform.mvp.client.Presenter<LoginPresenter.MyView,LoginPresenter.MyProxy> implements LoginUiHandlers
| Modifier and Type | Class and Description |
|---|---|
static interface |
LoginPresenter.MyProxy
The presenter's proxy.
|
static interface |
LoginPresenter.MyView
The presenter's view.
|
| Modifier and Type | Field and Description |
|---|---|
private AdminServiceAsync |
adm
Admin service reference
|
private Alarm |
alarm
Alarm service
|
private AuthServiceAsync |
authService
Authentication service reference
|
private static java.util.logging.Logger |
logger
Logger
|
private com.gwtplatform.mvp.client.proxy.PlaceManager |
placeManager
Place manager reference
|
| Constructor and Description |
|---|
LoginPresenter(com.google.web.bindery.event.shared.EventBus eventBus,
LoginPresenter.MyView view,
LoginPresenter.MyProxy proxy,
com.gwtplatform.mvp.client.proxy.PlaceManager placeManager,
AuthServiceAsync authService,
AdminServiceAsync adm,
Alarm alarm)
Ctor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
onSubmitLoginInfo(java.lang.String userid,
java.lang.String pwd)
Called when the user submits the authentication information.
|
bind, forceReveal, getProxy, getRevealType, getSlot, prepareFromRequest, revealInParent, setRevealType, setSlot, unbind, useManualRevealaddHandler, addRegisteredHandler, addToPopupSlot, addToPopupSlot, addToSlot, addToSlot, addVisibleHandler, asWidget, clearSlot, clearSlot, equals, fireEvent, fireEvent, getChild, getChildren, getChildren, getEventBus, getView, hashCode, isVisible, onHide, onReset, onReveal, registerVisibleHandler, removeFromParentSlot, removeFromPopupSlot, removeFromSlot, removeFromSlot, setInSlot, setInSlot, setInSlot, setInSlotprivate static java.util.logging.Logger logger
private final com.gwtplatform.mvp.client.proxy.PlaceManager placeManager
private final AuthServiceAsync authService
private final AdminServiceAsync adm
private final Alarm alarm
@Inject
LoginPresenter(com.google.web.bindery.event.shared.EventBus eventBus,
LoginPresenter.MyView view,
LoginPresenter.MyProxy proxy,
com.gwtplatform.mvp.client.proxy.PlaceManager placeManager,
AuthServiceAsync authService,
AdminServiceAsync adm,
Alarm alarm)
eventBus - Event bus reference.view - Presenter's view.proxy - Presenter's proxy.placeManager - Place manager reference.authService - Authentication service reference.adm - Admin service reference.alarm - Alarm UI service reference.public void onSubmitLoginInfo(java.lang.String userid,
java.lang.String pwd)
onSubmitLoginInfo in interface LoginUiHandlersuserid - User id.pwd - Password.