Class SyncopePage<T>
java.lang.Object
org.springframework.data.domain.PageImpl<T>
org.apache.syncope.core.persistence.api.search.SyncopePage<T>
- All Implemented Interfaces:
Serializable
,Iterable<T>
,Supplier<Stream<T>>
,org.springframework.data.domain.Page<T>
,org.springframework.data.domain.Slice<T>
,org.springframework.data.util.Streamable<T>
public class SyncopePage<T>
extends org.springframework.data.domain.PageImpl<T>
- See Also:
-
Constructor Summary
ConstructorDescriptionSyncopePage
(List<T> content, org.springframework.data.domain.Pageable pageable, long total) -
Method Summary
Modifier and TypeMethodDescriptionboolean
protected <U> List
<U> getConvertedContent
(Function<? super T, ? extends U> arg0) int
int
org.springframework.data.domain.Pageable
int
getSize()
org.springframework.data.domain.Sort
getSort()
long
int
boolean
int
hashCode()
boolean
boolean
isFirst()
iterator()
org.springframework.data.domain.Pageable
org.springframework.data.domain.Pageable
Methods inherited from class org.springframework.data.domain.PageImpl
hasNext, isLast, map, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
Methods inherited from interface org.springframework.data.domain.Slice
getContent, getNumber, getNumberOfElements, getPageable, getSize, getSort, hasContent, hasPrevious, isFirst, nextOrLastPageable, nextPageable, previousOrFirstPageable, previousPageable
Methods inherited from interface org.springframework.data.util.Streamable
and, and, and, and, filter, flatMap, get, isEmpty, stream, toList, toSet
-
Constructor Details
-
SyncopePage
-
-
Method Details
-
getTotalElements
public long getTotalElements() -
getTotalPages
public int getTotalPages() -
equals
- Overrides:
equals
in classorg.springframework.data.domain.PageImpl<T>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classorg.springframework.data.domain.PageImpl<T>
-
getNumber
public int getNumber()- Specified by:
getNumber
in interfaceorg.springframework.data.domain.Slice<T>
-
getSize
public int getSize()- Specified by:
getSize
in interfaceorg.springframework.data.domain.Slice<T>
-
getNumberOfElements
public int getNumberOfElements()- Specified by:
getNumberOfElements
in interfaceorg.springframework.data.domain.Slice<T>
-
hasPrevious
public boolean hasPrevious()- Specified by:
hasPrevious
in interfaceorg.springframework.data.domain.Slice<T>
-
isFirst
public boolean isFirst()- Specified by:
isFirst
in interfaceorg.springframework.data.domain.Slice<T>
-
nextPageable
public org.springframework.data.domain.Pageable nextPageable()- Specified by:
nextPageable
in interfaceorg.springframework.data.domain.Slice<T>
-
previousPageable
public org.springframework.data.domain.Pageable previousPageable()- Specified by:
previousPageable
in interfaceorg.springframework.data.domain.Slice<T>
-
hasContent
public boolean hasContent()- Specified by:
hasContent
in interfaceorg.springframework.data.domain.Slice<T>
-
getContent
- Specified by:
getContent
in interfaceorg.springframework.data.domain.Slice<T>
-
getPageable
public org.springframework.data.domain.Pageable getPageable()- Specified by:
getPageable
in interfaceorg.springframework.data.domain.Slice<T>
-
getSort
public org.springframework.data.domain.Sort getSort()- Specified by:
getSort
in interfaceorg.springframework.data.domain.Slice<T>
-
iterator
-
getConvertedContent
-