public enum LazyCountType extends Enum<LazyCountType>
Enum Constant and Description |
---|
ALWAYS
Always count data (Execute count even in paging event, but only when filters change).It's the default value on LazyDataModelImpl
|
NONE
Don't count data.
|
ONLY_ONCE
Only count data once.
|
Modifier and Type | Method and Description |
---|---|
static LazyCountType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LazyCountType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LazyCountType ALWAYS
public static final LazyCountType NONE
public static final LazyCountType ONLY_ONCE
public static LazyCountType[] values()
for (LazyCountType c : LazyCountType.values()) System.out.println(c);
public static LazyCountType 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 nullCopyright © 2015. All rights reserved.