public class PagingDelegateController extends Object implements CollectionBrowserDelegateController
| Modifier and Type | Field and Description |
|---|---|
static String |
MODEL_SINGLE_PAGE |
static String |
OPERATION_DONE_EVENT |
static String |
SETTING_ASYNC_LOADING |
| Constructor and Description |
|---|
PagingDelegateController() |
PagingDelegateController(CollectionBrowserController controller)
Deprecated.
since 6.7 - not used anymore, please use @link{
PagingDelegateController()} |
| Modifier and Type | Method and Description |
|---|---|
protected void |
adjustPageSize(int currentPageSize,
int definedPageSize) |
void |
buildPaging(Pageable<?> pageable)
Builds up the paging control.
|
void |
fetchPage(Pageable<?> pageable,
org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event> operationDoneListener) |
protected CollectionBrowserController |
getController() |
Pageable |
getCurrentPageable() |
SinglePage |
getCurrentSinglePage() |
protected NotificationService |
getNotificationService() |
protected String |
getNotificationSource()
Deprecated.
|
int |
getPageableCurrentPageSize() |
protected void |
handleRuntimeException(RuntimeException re) |
void |
initializeOnPagingListener() |
void |
loadPage(Pageable<?> pageable) |
<E> void |
loadPage(Pageable<E> pageable,
Consumer<Pageable<E>> callback) |
protected void |
notifyPaging(Pageable<?> pageable) |
void |
onPagingHandler(org.zkoss.zul.event.PagingEvent event) |
protected void |
onTypeChanged() |
void |
process(Pageable<?> pageable) |
<E> void |
process(Pageable<E> pageable,
Consumer<Pageable<E>> callback) |
void |
refreshBrowser(Pageable<?> pageable) |
<E> void |
refreshBrowser(Pageable<E> pageable,
Consumer<Pageable<E>> callback) |
void |
renderAndProcessCurrentPageable() |
protected void |
resetActionSlot() |
protected void |
resetPaging() |
void |
restorePageNumberIfNecessary(Pageable pageable) |
void |
setController(CollectionBrowserController controller)
Sets Collection Browser controller
|
void |
setNotificationService(NotificationService notificationService) |
public static final String MODEL_SINGLE_PAGE
public static final String SETTING_ASYNC_LOADING
public static final String OPERATION_DONE_EVENT
public PagingDelegateController()
@Deprecated public PagingDelegateController(CollectionBrowserController controller)
PagingDelegateController()}public void initializeOnPagingListener()
public void onPagingHandler(org.zkoss.zul.event.PagingEvent event)
public void loadPage(Pageable<?> pageable)
protected void resetActionSlot()
public int getPageableCurrentPageSize()
public void fetchPage(Pageable<?> pageable, org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event> operationDoneListener)
public SinglePage getCurrentSinglePage()
public void buildPaging(Pageable<?> pageable)
pageable - the pageable object containing paging infoprotected void resetPaging()
protected void notifyPaging(Pageable<?> pageable)
public void refreshBrowser(Pageable<?> pageable)
public void renderAndProcessCurrentPageable()
public void process(Pageable<?> pageable)
protected void handleRuntimeException(RuntimeException re)
@Deprecated protected String getNotificationSource()
NotificationService.getWidgetNotificationSource(com.hybris.cockpitng.engine.WidgetInstanceManager)
instead.protected void onTypeChanged()
public void restorePageNumberIfNecessary(Pageable pageable)
protected void adjustPageSize(int currentPageSize,
int definedPageSize)
public Pageable getCurrentPageable()
protected CollectionBrowserController getController()
public void setController(CollectionBrowserController controller)
CollectionBrowserDelegateControllersetController in interface CollectionBrowserDelegateControllercontroller - Collection Browser controller used in delegateprotected NotificationService getNotificationService()
public void setNotificationService(NotificationService notificationService)
Copyright © 2018. All rights reserved.