Class PageMode
java.lang.Object
com.ptc.core.command.common.bean.repository.PageMode
- All Implemented Interfaces:
Serializable
This class defines the modes of paging. Static instances of this class
are defined for the various modes.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PageModeUse properties settings to determine mode.static final PageModePage if results greater than specified page count and begin at offset.static final PageModePage if results greater than default page count property setting and begin at offset 0.static final PageModeDo not page; return at most "count" results.static final PageModeDo not page; return at most "count" - 1 results.static final PageModeNever do paging. -
Method Summary
-
Field Details
-
DEFAULT
Use properties settings to determine mode.
Supported API: true -
NONE
Never do paging.
Supported API: true -
LIMIT
Do not page; return at most "count" results.
Supported API: true -
IMPLICIT_PAGING
Page if results greater than default page count property setting and begin at offset 0.
Supported API: true -
EXPLICIT_PAGING
Page if results greater than specified page count and begin at offset.
Supported API: true -
LIMIT_NO_RESULTS
Do not page; return at most "count" - 1 results. If the limit is reached, then return no results.
Supported API: true
-