Class DefaultUnnumberedPageable
java.lang.Object
com.broadleafcommerce.data.tracking.core.filtering.DefaultUnnumberedPageable
- All Implemented Interfaces:
UnnumberedPageable
,Serializable
,org.springframework.data.domain.Pageable
- Direct Known Subclasses:
DefaultNarrowedPageable
- Author:
- Jeff Fischer
- See Also:
-
Constructor Summary
ModifierConstructorDescriptionprotected
DefaultUnnumberedPageable
(long offset, int size, org.springframework.data.domain.Sort sort) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.data.domain.Pageable
first()
long
int
org.springframework.data.domain.Sort
getSort()
boolean
org.springframework.data.domain.Pageable
next()
static DefaultUnnumberedPageable
of
(long offset, int size) static DefaultUnnumberedPageable
of
(long offset, int size, org.springframework.data.domain.Sort sort) static DefaultUnnumberedPageable
of
(long offset, int size, org.springframework.data.domain.Sort.Direction direction, String... properties) org.springframework.data.domain.Pageable
org.springframework.data.domain.Pageable
withPage
(int pageNumber) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.data.domain.Pageable
getSortOr, isPaged, isUnpaged, toOptional, toScrollPosition
Methods inherited from interface com.broadleafcommerce.data.tracking.core.filtering.UnnumberedPageable
getPageNumber
-
Constructor Details
-
DefaultUnnumberedPageable
protected DefaultUnnumberedPageable(long offset, int size, org.springframework.data.domain.Sort sort)
-
-
Method Details
-
of
-
of
public static DefaultUnnumberedPageable of(long offset, int size, org.springframework.data.domain.Sort sort) -
of
public static DefaultUnnumberedPageable of(long offset, int size, org.springframework.data.domain.Sort.Direction direction, String... properties) -
getPageSize
public int getPageSize()- Specified by:
getPageSize
in interfaceorg.springframework.data.domain.Pageable
-
getOffset
public long getOffset()- Specified by:
getOffset
in interfaceorg.springframework.data.domain.Pageable
-
getSort
public org.springframework.data.domain.Sort getSort()- Specified by:
getSort
in interfaceorg.springframework.data.domain.Pageable
-
next
public org.springframework.data.domain.Pageable next()- Specified by:
next
in interfaceorg.springframework.data.domain.Pageable
-
previousOrFirst
public org.springframework.data.domain.Pageable previousOrFirst()- Specified by:
previousOrFirst
in interfaceorg.springframework.data.domain.Pageable
-
first
public org.springframework.data.domain.Pageable first()- Specified by:
first
in interfaceorg.springframework.data.domain.Pageable
-
hasPrevious
public boolean hasPrevious()- Specified by:
hasPrevious
in interfaceorg.springframework.data.domain.Pageable
-
withPage
public org.springframework.data.domain.Pageable withPage(int pageNumber) - Specified by:
withPage
in interfaceorg.springframework.data.domain.Pageable
-