public interface Pagination
Describe your class here
.Modifier and Type | Method and Description |
---|---|
WorkflowInstancePage |
getFirstPage() |
WorkflowInstancePage |
getLastPage() |
WorkflowInstancePage |
getNextPage(WorkflowInstancePage currentPage) |
WorkflowInstancePage |
getPagedWorkflows(int pageNum)
|
WorkflowInstancePage |
getPagedWorkflows(int pageNum,
String status)
|
WorkflowInstancePage |
getPrevPage(WorkflowInstancePage currentPage) |
WorkflowInstancePage getFirstPage()
ProductType
.WorkflowInstancePage getLastPage()
ProductType
.WorkflowInstancePage getNextPage(WorkflowInstancePage currentPage)
currentPage
- The current page that tells the function what the next page to
obtain is.WorkflowInstancePage getPrevPage(WorkflowInstancePage currentPage)
currentPage
- The currentPage that tells the function what the previous page
to obtain is.WorkflowInstancePage getPagedWorkflows(int pageNum) throws InstanceRepositoryException
pageNum
- The WorkflowInstancePage
number to get.WorkflowInstancePage
with the given status, and page
number.InstanceRepositoryException
- If any error occurs.WorkflowInstancePage getPagedWorkflows(int pageNum, String status) throws InstanceRepositoryException
pageNum
- The WorkflowInstancePage
number to get.status
- Identifies which WorkflowInstance
set to paginate,
e.g., only WorkflowInstance
s with a given status.WorkflowInstancePage
with the given status, and page
number.InstanceRepositoryException
- If any error occurs.Copyright © 1999–2017 Apache OODT. All rights reserved.