Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal
11g Release 1 (11.1.1.7.0)
E15995-06


oracle.wcps.property
Class PagedList<T>

java.lang.Object
  extended by oracle.wcps.property.PagedList<T>

All Implemented Interfaces:
IPagedList<T>

public class PagedList<T>
extends java.lang.Object
implements IPagedList<T>

An implementation of the IPagedList interface. It provides a builder builder() to create instances of this class.


Nested Class Summary
static class PagedList.Builder<T>
          The builder for creating an instance of IPagedList.

 

Method Summary
static
<T> PagedList.Builder<T>
builder()
          Returns a builder instance for building an instance of IPagedList.
static
<T> IPagedList<T>
emptyList()
          Returns an empty paged list.
 PaginationContext getCurrentPaginationContext()
          Returns the current pagination context.
 java.util.List<T> getList()
          The list of entities of type <T> for the current page.
 PaginationContext getNextPaginationContext()
          Returns the next pagination context.
 PaginationContext getPrevPaginationContext()
          Returns the previous pagination context.
 int getTotalCount()
          The total number of entities found in the system based on a filterContext.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

getPrevPaginationContext

public PaginationContext getPrevPaginationContext()
Description copied from interface: IPagedList
Returns the previous pagination context. Returns null if this is the first page.
Specified by:
getPrevPaginationContext in interface IPagedList<T>
Returns:
the previous paginationContext.

getCurrentPaginationContext

public PaginationContext getCurrentPaginationContext()
Description copied from interface: IPagedList
Returns the current pagination context.
Specified by:
getCurrentPaginationContext in interface IPagedList<T>
Returns:
the current paginationContext.

getNextPaginationContext

public PaginationContext getNextPaginationContext()
Description copied from interface: IPagedList
Returns the next pagination context. Returns null if this is the last page.
Specified by:
getNextPaginationContext in interface IPagedList<T>
Returns:
the next pagination context.

getTotalCount

public int getTotalCount()
Description copied from interface: IPagedList
The total number of entities found in the system based on a filterContext.
Specified by:
getTotalCount in interface IPagedList<T>
Returns:
the total number of entities.

getList

public java.util.List<T> getList()
Description copied from interface: IPagedList
The list of entities of type <T> for the current page.
Specified by:
getList in interface IPagedList<T>
Returns:
a list of the property service entities.

emptyList

public static <T> IPagedList<T> emptyList()
Returns an empty paged list.
Returns:
an empty paged list.

builder

public static <T> PagedList.Builder<T> builder()
Returns a builder instance for building an instance of IPagedList.
Returns:
a builder instance.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal
11g Release 1 (11.1.1.7.0)
E15995-06


Copyright © 2009, 2013, Oracle and/or its affiliates. All rights reserved.