Class GovernmentBodyExpenditurePageModContentFactoryImpl
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<List<com.hack23.cia.service.external.esv.api.GovernmentBodyAnnualSummary>>
com.hack23.cia.web.impl.ui.application.views.user.govermentbody.pagemode.GovernmentBodyExpenditurePageModContentFactoryImpl
- All Implemented Interfaces:
PageModeContentFactory
@Component
public final class GovernmentBodyExpenditurePageModContentFactoryImpl
extends AbstractItemPageModContentFactoryImpl<List<com.hack23.cia.service.external.esv.api.GovernmentBodyAnnualSummary>>
The Class GovernmentBodyExpenditurePageModContentFactoryImpl.
-
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 government body expenditure 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 GovernmentBodyMenuItemFactory
Gets the government body menu item factory.protected List<com.hack23.cia.service.external.esv.api.GovernmentBodyAnnualSummary>
Gets the item.boolean
Matches.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
-
GovernmentBodyExpenditurePageModContentFactoryImpl
public GovernmentBodyExpenditurePageModContentFactoryImpl()Instantiates a new government body expenditure 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
-
getGovernmentBodyMenuItemFactory
Gets the government body menu item factory.- Returns:
- the government body menu item factory
-
getItem
protected List<com.hack23.cia.service.external.esv.api.GovernmentBodyAnnualSummary> getItem(String parameters) Description copied from class:AbstractItemPageModContentFactoryImpl
Gets the item.- Specified by:
getItem
in classAbstractItemPageModContentFactoryImpl<List<com.hack23.cia.service.external.esv.api.GovernmentBodyAnnualSummary>>
- Parameters:
parameters
- the parameters- Returns:
- the item
-