@Component public final class AdminLanguageContentPageModContentFactoryImpl extends AbstractPageModContentFactoryImpl
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_RESULTS_PER_PAGE
The Constant DEFAULT_RESULTS_PER_PAGE.
|
static String |
NAME
The Constant NAME.
|
CURRENT_PAGE_VISIT_HISTORY, GENERAL_PAGE_MODE_PAGE_VISIT
Constructor and Description |
---|
AdminLanguageContentPageModContentFactoryImpl()
Instantiates a new admin language content page mod content factory impl.
|
Modifier and Type | Method and Description |
---|---|
com.vaadin.ui.Layout |
createContent(String parameters,
com.vaadin.ui.MenuBar menuBar,
com.vaadin.ui.Panel panel)
Creates a new PageModeContent object.
|
protected void |
createPagingControls(com.vaadin.ui.AbstractOrderedLayout content,
String name,
String pageId,
Long size,
int pageNr,
int resultPerPage)
Creates the paging controls.
|
boolean |
matches(String page,
String parameters)
Matches.
|
createPageVisitHistory, createPanelContent, getApplicationManager, getFormFactory, getGridFactory, getMenuItemFactory, getPageActionEventHelper, getPageId, getPageLinkFactory, getPageNr
public static final String NAME
public static final int DEFAULT_RESULTS_PER_PAGE
public AdminLanguageContentPageModContentFactoryImpl()
public boolean matches(String page, String parameters)
PageModeContentFactory
page
- the pageparameters
- the parameters@Secured(value="ROLE_ADMIN") public com.vaadin.ui.Layout createContent(String parameters, com.vaadin.ui.MenuBar menuBar, com.vaadin.ui.Panel panel)
PageModeContentFactory
parameters
- the parametersmenuBar
- the menu barpanel
- the panelprotected final void createPagingControls(com.vaadin.ui.AbstractOrderedLayout content, String name, String pageId, Long size, int pageNr, int resultPerPage)
content
- the contentname
- the namepageId
- the page idsize
- the sizepageNr
- the page nrresultPerPage
- the result per pageCopyright © 2008–2017 www.hack23.com. All rights reserved.