com.ptc.core.command.common.bean.repository
Class PageMode

java.lang.Object
  extended by com.ptc.core.command.common.bean.repository.PageMode
All Implemented Interfaces:
Serializable

public class PageMode
extends Object
implements Serializable

This class defines the modes of paging. Static instances of this class are defined for the various modes.

Supported API: true

Extendable: false

See Also:
Serialized Form

Field Summary
static PageMode DEFAULT
          Use properties settings to determine mode.
static PageMode EXPLICIT_PAGING
          Page if results greater than specified page count and begin at offset.
static PageMode IMPLICIT_PAGING
          Page if results greater than default page count property setting and begin at offset 0.
static PageMode LIMIT
          Do not page; return at most "count" results.
static PageMode LIMIT_NO_RESULTS
          Do not page; return at most "count" - 1 results.
static PageMode NONE
          Never do paging.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT

public static final PageMode DEFAULT
Use properties settings to determine mode.

Supported API: true


NONE

public static final PageMode NONE
Never do paging.

Supported API: true


LIMIT

public static final PageMode LIMIT
Do not page; return at most "count" results.

Supported API: true


IMPLICIT_PAGING

public static final PageMode IMPLICIT_PAGING
Page if results greater than default page count property setting and begin at offset 0.

Supported API: true


EXPLICIT_PAGING

public static final PageMode EXPLICIT_PAGING
Page if results greater than specified page count and begin at offset.

Supported API: true


LIMIT_NO_RESULTS

public static final PageMode LIMIT_NO_RESULTS
Do not page; return at most "count" - 1 results. If the limit is reached, then return no results.

Supported API: true