object Page extends Serializable
- Alphabetic
- By Inheritance
- Page
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val DefaultPageSize: Int
- val FirstPage: Int
- def apply[T](pageNumber: Int, ts: Iterable[T], totalResults: Int): Page
-
def
apply[T](pageNumber: Int, pageSize: Int, totalResults: Int): Page
Creates a Page where the pageNumber, pageSize and totalResults are specified, and the numberOfResults is assumed to be a full page.
- def apply[T](ts: Iterable[T], totalResults: Int, pageSize: Int): Page
-
def
apply[T](ts: Iterable[T], totalResults: Int): Page
Creates a Page that uses the given Iterable to determine the page size.
Creates a Page that uses the given Iterable to determine the page size. The total results is taken from the other parameter.
- ts
collection used to determine page size.
- totalResults
total number of underlying objects in the resultset
-
def
apply[T](ts: Iterable[T]): Page
Creates a one page resultset, assuming the collection of Ts given is the entire set of objects in a single page.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
first(pageSize: Int, totalResults: Int): Page
Creates a new Page where the pageNumber is set as the first page, the numberOfResults is taken from the pageSize, and the pageSize and totalResults are specified.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
last(pageSize: Int, totalResults: Int): Page
Creates a new Page where the pageNumber is calcuated from the specified parameters, the numberOfResults is taken from the pageSize, and the pageSize and totalResults are specified.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )