Class DonationNotLoggedInController

java.lang.Object
ui.controller.donation.DonationNotLoggedInController
All Implemented Interfaces:
NavigationAware, DonationSessionAware

public class DonationNotLoggedInController extends Object implements NavigationAware, DonationSessionAware
Controller for the "not logged in" page in the donation flow. Shown when a user tries to donate without being signed in.
  • Constructor Details

    • DonationNotLoggedInController

      public DonationNotLoggedInController()
  • Method Details

    • setOnNavigate

      public void setOnNavigate(Consumer<Page> onNavigate)
      Sets the navigation callback.
      Specified by:
      setOnNavigate in interface NavigationAware
      Parameters:
      onNavigate - the callback for navigating to a page
    • setDonationSession

      public void setDonationSession(DonationSession session)
      Sets the donation session and updates the organization label.
      Specified by:
      setDonationSession in interface DonationSessionAware
      Parameters:
      session - the active donation session
    • goToSignIn

      public void goToSignIn()
    • goToRegister

      public void goToRegister()
    • handleBack

      public void handleBack()