Class ChangePasswordPresenter<V extends ChangePasswordView>

    • Constructor Detail

      • ChangePasswordPresenter

        public ChangePasswordPresenter()
    • Method Detail

      • getChangePasswordListener

        protected ListenerModel<BaseModel<java.lang.Object>,​java.lang.Object> getChangePasswordListener()
        The callback that will catch result from API
        Returns:
        response formatted in BaseModel
      • onChangePasswordFailed

        protected void onChangePasswordFailed​(java.lang.String error)
        Called after a failed password request
        Parameters:
        error - contains the detail of the error
      • onChangePasswordSuccess

        protected void onChangePasswordSuccess​(java.lang.Object data)
        Called after a successful password request
        Parameters:
        data - response received from a success request
      • submitPassword

        public void submitPassword​(AuthenticationQueryParams queryParams,
                                   AuthenticationFieldParams fieldParams)
        Call this to change password
        Parameters:
        queryParams - contains all the query parameters to use
        fieldParams - contains all the field params to use