public interface OwPageableView extends OwBaseView
Base interface for the views that intends to use different paging components.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
EMPTY_STRING| Modifier and Type | Method and Description |
|---|---|
boolean |
canPageNext()
Check if there is a next page
|
boolean |
canPagePrev()
Check if there is a previous page
|
OwPageSelectorComponent |
createPageSelector()
Create the paging component, according with the configuration setting.
|
OwAppContext |
getContext()
get the context reference
|
int |
getCount()
Get total number of items.
|
int |
getCurrentPage()
Get the current page, will not exceed the
getPageCount(). |
String |
getPageAbsolutEventURL(String aditionalParameters_p)
Get URL for a given page number
|
int |
getPageCount()
Retrieve number of available pages:
pageCount > 0: available pages
pageCount = 0: no pages/elements available
pageCount < 0: unknown amount of pages
|
String |
getPageNextEventURL()
Get the next page URL.
|
String |
getPagePrevEventURL()
Get the previous page URL.
|
boolean |
hasPaging()
Check if the current view must show the paging component.
|
void |
onPageAbsolut(javax.servlet.http.HttpServletRequest request_p)
display absolute page of objects
|
void |
onPageNext(javax.servlet.http.HttpServletRequest request_p)
display next page of objects
|
void |
onPagePrev(javax.servlet.http.HttpServletRequest request_p)
display previous page of objects
|
getBreadcrumbPart, getTitle, isNamedRegion, isRegion, render, renderNamedRegion, renderRegionvoid onPageAbsolut(javax.servlet.http.HttpServletRequest request_p)
throws Exception
Exceptionvoid onPageNext(javax.servlet.http.HttpServletRequest request_p)
throws Exception
Exceptionvoid onPagePrev(javax.servlet.http.HttpServletRequest request_p)
throws Exception
Exceptionint getPageCount()
int getCurrentPage()
throws Exception
getPageCount().
A zero based page representation, which will go up to getPageCount() - 1
ExceptionOwAppContext getContext()
boolean canPagePrev()
boolean canPageNext()
throws Exception
Exceptionint getCount()
String getPagePrevEventURL()
String getPageNextEventURL()
boolean hasPaging()
true if the current view must show the paging component.String getPageAbsolutEventURL(String aditionalParameters_p)
aditionalParameters_p - - query parameters in a http linkOwPageSelectorComponent createPageSelector() throws Exception
ExceptionCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.