Class ObjectPagingImpl
java.lang.Object
com.evolveum.midpoint.prism.impl.query.ObjectPagingImpl
- All Implemented Interfaces:
- ObjectPaging,- DebugDumpable,- Serializable
- See Also:
- 
Field SummaryFields inherited from interface com.evolveum.midpoint.util.DebugDumpableINDENT_STRING
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddOrderingInstruction(ItemPath orderBy, OrderDirection direction) clone()static ObjectPagingstatic ObjectPagingcreatePaging(ItemPath orderBy, OrderDirection direction) static ObjectPagingcreatePaging(Integer offset, Integer maxSize) static ObjectPagingcreatePaging(Integer offset, Integer maxSize, ItemPath orderBy, OrderDirection direction) static ObjectPagingcreatePaging(Integer offset, Integer maxSize, List<ObjectOrdering> orderings) debugDump(int indent) booleanbooleanReturns the paging cookie.List<? extends ObjectOrdering>booleaninthashCode()booleanvoidSets paging cookie.voidsetMaxSize(Integer maxSize) voidvoidsetOrdering(ItemPath orderBy, OrderDirection direction) voidsetOrdering(ObjectOrdering... orderings) voidsetOrdering(Collection<? extends ObjectOrdering> orderings) toString()Methods inherited from class java.lang.Objectfinalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.util.DebugDumpabledebugDump, debugDumpLazily, debugDumpLazily
- 
Method Details- 
createPaging
- 
createPagingpublic static ObjectPaging createPaging(Integer offset, Integer maxSize, ItemPath orderBy, OrderDirection direction) 
- 
createPagingpublic static ObjectPaging createPaging(Integer offset, Integer maxSize, List<ObjectOrdering> orderings) 
- 
createPaging
- 
createEmptyPaging
- 
getPrimaryOrderingDirection- Specified by:
- getPrimaryOrderingDirectionin interface- ObjectPaging
 
- 
getPrimaryOrderingPath- Specified by:
- getPrimaryOrderingPathin interface- ObjectPaging
 
- 
getPrimaryOrdering- Specified by:
- getPrimaryOrderingin interface- ObjectPaging
 
- 
getOrderingInstructions- Specified by:
- getOrderingInstructionsin interface- ObjectPaging
 
- 
hasOrderingpublic boolean hasOrdering()- Specified by:
- hasOrderingin interface- ObjectPaging
 
- 
setOrdering- Specified by:
- setOrderingin interface- ObjectPaging
 
- 
addOrderingInstruction- Specified by:
- addOrderingInstructionin interface- ObjectPaging
 
- 
setOrdering- Specified by:
- setOrderingin interface- ObjectPaging
 
- 
setOrdering- Specified by:
- setOrderingin interface- ObjectPaging
 
- 
getOffset- Specified by:
- getOffsetin interface- ObjectPaging
 
- 
setOffset- Specified by:
- setOffsetin interface- ObjectPaging
 
- 
getMaxSize- Specified by:
- getMaxSizein interface- ObjectPaging
 
- 
setMaxSize- Specified by:
- setMaxSizein interface- ObjectPaging
 
- 
hasCookiepublic boolean hasCookie()- Specified by:
- hasCookiein interface- ObjectPaging
 
- 
getCookieReturns the paging cookie. The paging cookie is used for optimization of paged searches. The presence of the cookie may allow the data store to correlate queries and associate them with the same server-side context. This may allow the data store to reuse the same pre-computed data. We want this as the sorted and paged searches may be quite expensive. It is expected that the cookie returned from the search will be passed back in the options when the next page of the same search is requested. It is OK to initialize a search without any cookie. If the datastore utilizes a re-usable context it will return a cookie in a search response.- Specified by:
- getCookiein interface- ObjectPaging
 
- 
setCookieSets paging cookie. The paging cookie is used for optimization of paged searches. The presence of the cookie may allow the data store to correlate queries and associate them with the same server-side context. This may allow the data store to reuse the same pre-computed data. We want this as the sorted and paged searches may be quite expensive. It is expected that the cookie returned from the search will be passed back in the options when the next page of the same search is requested. It is OK to initialize a search without any cookie. If the datastore utilizes a re-usable context it will return a cookie in a search response.- Specified by:
- setCookiein interface- ObjectPaging
 
- 
clone- Specified by:
- clonein interface- ObjectPaging
- Overrides:
- clonein class- Object
 
- 
debugDump- Specified by:
- debugDumpin interface- DebugDumpable
 
- 
toString
- 
equals
- 
equals- Specified by:
- equalsin interface- ObjectPaging
 
- 
hashCodepublic int hashCode()
 
-