Class PaginatorMenuBean<T extends PersistenceEntity>
- java.lang.Object
-
- com.znize.platform.model.bean.Component
-
- com.znize.platform.model.bean.BackingBean
-
- com.znize.platform.model.menu.MenuBean
-
- com.znize.platform.model.pagination.PaginatorMenuBean<T>
-
- Type Parameters:
T- entity type
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable
public class PaginatorMenuBean<T extends PersistenceEntity> extends MenuBean
PaginatorMenuBean: entity list paginator MenuBean- Since:
- 3.5
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.znize.platform.model.bean.BackingBean
BackingBean.MessageLocation
-
Nested classes/interfaces inherited from class com.znize.platform.model.bean.Component
Component.ComponentVisitor
-
-
Field Summary
-
Fields inherited from class com.znize.platform.model.menu.MenuBean
contextMenuAsChildren, locked, rootMenuNode
-
Fields inherited from class com.znize.platform.model.bean.BackingBean
containerBean, hidden, messages, styleClass, title, viewConfig
-
Fields inherited from class com.znize.platform.model.bean.Component
parentComponent, uiView
-
-
Constructor Summary
Constructors Constructor Description PaginatorMenuBean(ParameterizedMessage title, EntityListBackingBean<T> entityListBackingBean, MenuViewConfig viewConfig)PaginatorMenuBean constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EntityListBackingBean<T>getEntityListBackingBean()Get the EntityListBackingBean to which this paginator menu belongsvoidrefresh()Refresh paginator menu bean by recreating menu nodes.-
Methods inherited from class com.znize.platform.model.menu.MenuBean
add, addExportMenuNode, addToTop, addToTop, addToTopBeforeCommand, canAddMenuNode, canAddMenuNode, canAddMenuNodeToMenuBean, findMenuNode, findMenuNode, findMenuNode, findMenuNode, findMenuNode, findMenuNodeByCommandOrNodeId, findMenuNodeRecursive, findMenuNodeWithOutputLink, findNodeRecursive, findNodeRecursive, findTopMenuNode, getContainerBean, getImpliedStyleClass, getRootMenuNode, getTopMenuNodeCount, getTopMenuNodes, getTopTypedMenuNode, getTopTypedMenuNodes, getViewConfig, indexOf, isContextMenuAsChildren, isEmpty, isHidden, isLocked, isRootVisible, orderTopMenuNodes, removeMenuNode, setContainerBean, setContextMenuAsChildren, setLocked, setRootMenuNode, updateMenuNodeCountValue, walkComponentTree
-
Methods inherited from class com.znize.platform.model.bean.BackingBean
addAsRenderTarget, addMessage, addMessage, addMessages, asVisitTarget, buildComponentDisplayTitle, clearCache, getAccessControlAccessor, getBackingBeanContext, getBeanLocation, getCalendar, getContainerDialogBean, getCurrentDate, getDisplayMessage, getDisplayTitle, getEnclosingBean, getEnclosingEntityProperty, getErrorSupplementalMessages, getFormEnctype, getLocale, getMessage, getName, getOnFormSubmitJS, getProgressProperty, getRenewableSubscriptionsQueryCriteria, getRequestHelper, getRequestResult, getRootEnclosingBean, getSelfRenderRegions, getStyleClass, getStyleClass, getTimeZone, getTimeZoneId, getTitle, handleError, hasMessages, isContainerDialogBean, isManageMode, isMobile, isPanelVisible, isProgressDialogOpened, isRenderable, removeFromPageContent, setEnclosingPropertyEditEnabled, setHidden, setManageMode, setMessage, setMessage, setMessage, setName, setStyleClass, setTitle, setViewConfig
-
Methods inherited from class com.znize.platform.model.bean.Component
existPathToAncestorType, getAuthenticatedUser, getCalcContext, getChildOfClosestAncestor, getClientId, getClosestAncestor, getComponentsOnPathTo, getCountryFromCurrentLocale, getCurrencyCode, getCurrentLocalDateTime, getDataAccessUnit, getDataAccessUnit, getDataConverter, getDisplayValue, getInstanceUser, getParameters, getParameters, getParentComponent, getPathTo, getPersistenceEntityManager, getPersistenceEntityManager, getPersistenceEntityManager, getPersistenceEntityManager, getQueryHints, getResourceBundle, getRootComponent, getString, getUiView, getUiView, getYearStartDate, isAncestorComponentOf, isEntityI18NEnabled, isInPageContent, setClientId, setParentComponent, setUiView
-
-
-
-
Constructor Detail
-
PaginatorMenuBean
public PaginatorMenuBean(ParameterizedMessage title, EntityListBackingBean<T> entityListBackingBean, MenuViewConfig viewConfig) throws BackingBeanException, SystemException
PaginatorMenuBean constructor- Parameters:
title- menu bean titleentityListBackingBean- entity list backing bean that is the parent componentviewConfig- menu ViewConfig- Throws:
BackingBeanException- throw if an error occurs in creating paginator menuSystemException- throw if any other error occurs
-
-
Method Detail
-
refresh
public void refresh() throws SystemExceptionRefresh paginator menu bean by recreating menu nodes.- Throws:
SystemException- throw if an error occurs in creating paginator menu
-
getEntityListBackingBean
public EntityListBackingBean<T> getEntityListBackingBean()
Get the EntityListBackingBean to which this paginator menu belongs- Returns:
- EntityListBackingBean instance
-
-