Class UserHomeApplicationEventsPageModContentFactoryImpl
java.lang.Object
com.hack23.cia.web.impl.ui.application.views.common.pagemode.AbstractPageModContentFactoryImpl
com.hack23.cia.web.impl.ui.application.views.common.pagemode.AbstractBasicPageModContentFactoryImpl
com.hack23.cia.web.impl.ui.application.views.user.home.pagemode.UserHomeApplicationEventsPageModContentFactoryImpl
- All Implemented Interfaces:
PageModeContentFactory
@Component
public final class UserHomeApplicationEventsPageModContentFactoryImpl
extends AbstractBasicPageModContentFactoryImpl
The Class UserHomeApplicationEventsPageModContentFactoryImpl.
-
Field Summary
Fields inherited from class com.hack23.cia.web.impl.ui.application.views.common.pagemode.AbstractPageModContentFactoryImpl
CURRENT_PAGE_VISIT_HISTORY, DEFAULT_RESULTS_PER_PAGE, GENERAL_PAGE_MODE_PAGE_VISIT
-
Constructor Summary
ConstructorDescriptionInstantiates a new user home security settings page mod content factory impl. -
Method Summary
Modifier and TypeMethodDescriptioncom.vaadin.ui.Layout
createContent
(String parameters, com.vaadin.ui.MenuBar menuBar, com.vaadin.ui.Panel panel) Creates a new PageModeContent object.protected final Optional<com.hack23.cia.model.internal.application.user.impl.UserAccount>
Gets the active user account.boolean
Matches.Methods inherited from class com.hack23.cia.web.impl.ui.application.views.common.pagemode.AbstractBasicPageModContentFactoryImpl
validReference
Methods inherited from class com.hack23.cia.web.impl.ui.application.views.common.pagemode.AbstractPageModContentFactoryImpl
createPageVisitHistory, createPanelContent, getAdminChartDataManager, getApplicationManager, getFormFactory, getGridFactory, getMenuItemFactory, getPageActionEventHelper, getPageId, getPageLinkFactory, getPageNr
-
Field Details
-
NAME
The Constant NAME.- See Also:
-
-
Constructor Details
-
UserHomeApplicationEventsPageModContentFactoryImpl
public UserHomeApplicationEventsPageModContentFactoryImpl()Instantiates a new user home security settings 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 parametersmenuBar
- the menu barpanel
- the panel- Returns:
- the layout
-
matches
Description copied from interface:PageModeContentFactory
Matches.- Parameters:
page
- the pageparameters
- 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
-