The classic client API will be removed in a future release.
@Deprecated public enum PageOption extends Enum<PageOption>
Enum Constant and Description |
---|
FIRST
Deprecated.
Move to first page.
|
LAST
Deprecated.
Move to last page
|
NEXT
Deprecated.
Move to next page.
|
PRIOR
Deprecated.
Move to prior page.
|
REFRESH
Deprecated.
Refresh the current page
|
Modifier and Type | Method and Description |
---|---|
String |
getCode()
Deprecated.
Returns single character code for paging options.
|
static PageOption |
parse(String option)
Deprecated.
Returns the option associated with a given type code.
|
static PageOption |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static PageOption[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PageOption REFRESH
public static final PageOption NEXT
If no next page then this has the same effect as REFRESH
.
public static final PageOption PRIOR
If no prior page then this has the same effect as REFRESH
.
public static final PageOption FIRST
public static final PageOption LAST
public static PageOption[] values()
for (PageOption c : PageOption.values()) System.out.println(c);
public static PageOption valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getCode()
public static PageOption parse(String option)
option
- type code (case insensitive).Copyright © 2016 Push Technology Ltd. All Rights Reserved.