Class UserHomeOverviewPageModContentFactoryImpl

All Implemented Interfaces:
PageModeContentFactory

@Component public final class UserHomeOverviewPageModContentFactoryImpl extends AbstractBasicPageModContentFactoryImpl
The Class UserHomeOverviewPageModContentFactoryImpl.
  • Field Details

  • Constructor Details

    • UserHomeOverviewPageModContentFactoryImpl

      public UserHomeOverviewPageModContentFactoryImpl()
      Instantiates a new user home overview page mod content factory impl.
  • Method Details

    • createContent

      @Secured({"ROLE_USER","ROLE_ADMIN"}) public com.vaadin.ui.Layout createContent(String parameters, com.vaadin.ui.MenuBar menuBar, com.vaadin.ui.Panel panel)
      Description copied from interface: PageModeContentFactory
      Creates a new PageModeContent object.
      Parameters:
      parameters - the parameters
      menuBar - the menu bar
      panel - the panel
      Returns:
      the layout
    • matches

      public boolean matches(String page, String parameters)
      Description copied from interface: PageModeContentFactory
      Matches.
      Parameters:
      page - the page
      parameters - the parameters
      Returns:
      true, if successful
    • getActiveUserAccount

      protected final Optional<com.hack23.cia.model.internal.application.user.impl.UserAccount> getActiveUserAccount()
      Gets the active user account.
      Returns:
      the active user account