Class PartyWonDailySummaryChartPageModContentFactoryImpl
java.lang.Object
com.hack23.cia.web.impl.ui.application.views.common.pagemode.AbstractPageModContentFactoryImpl
com.hack23.cia.web.impl.ui.application.views.common.pagemode.AbstractItemPageModContentFactoryImpl<com.hack23.cia.model.internal.application.data.party.impl.ViewRiksdagenParty>
com.hack23.cia.web.impl.ui.application.views.user.party.pagemode.PartyWonDailySummaryChartPageModContentFactoryImpl
- All Implemented Interfaces:
PageModeContentFactory
@Component
public final class PartyWonDailySummaryChartPageModContentFactoryImpl
extends AbstractItemPageModContentFactoryImpl<com.hack23.cia.model.internal.application.data.party.impl.ViewRiksdagenParty>
The Class PartyWonDailySummaryChartPageModContentFactoryImpl.
-
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 party won daily summary chart 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 com.hack23.cia.model.internal.application.data.party.impl.ViewRiksdagenParty
Gets the item.protected final PartyMenuItemFactory
Gets the party menu item factory.boolean
Matches.protected final void
pageCompleted
(String parameters, com.vaadin.ui.Component panel, String pageId, com.hack23.cia.model.internal.application.data.party.impl.ViewRiksdagenParty viewRiksdagenParty) Page completed.Methods inherited from class com.hack23.cia.web.impl.ui.application.views.common.pagemode.AbstractItemPageModContentFactoryImpl
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
-
PartyWonDailySummaryChartPageModContentFactoryImpl
public PartyWonDailySummaryChartPageModContentFactoryImpl()Instantiates a new party won daily summary chart page mod content factory impl.
-
-
Method Details
-
createContent
@Secured({"ROLE_ANONYMOUS","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
-
getItem
protected com.hack23.cia.model.internal.application.data.party.impl.ViewRiksdagenParty getItem(String parameters) Description copied from class:AbstractItemPageModContentFactoryImpl
Gets the item.- Specified by:
getItem
in classAbstractItemPageModContentFactoryImpl<com.hack23.cia.model.internal.application.data.party.impl.ViewRiksdagenParty>
- Parameters:
parameters
- the parameters- Returns:
- the item
-
getPartyMenuItemFactory
Gets the party menu item factory.- Returns:
- the party menu item factory
-
pageCompleted
protected final void pageCompleted(String parameters, com.vaadin.ui.Component panel, String pageId, com.hack23.cia.model.internal.application.data.party.impl.ViewRiksdagenParty viewRiksdagenParty) Page completed.- Parameters:
parameters
- the parameterspanel
- the panelpageId
- the page idviewRiksdagenParty
- the view riksdagen party
-