Serializablepublic class GrouperContext extends AbstractContext
| Modifier and Type | Field | Description |
|---|---|---|
static GrouperContext |
DEFAULT_CONTEXT |
Default converter context with empty name and no user object.
|
| Constructor | Description |
|---|---|
GrouperContext(String name) |
Creates a converter context with a name.
|
GrouperContext(String name,
Object object) |
Creates a converter context with a name and an object.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
isUseOnAutoFilter() |
Checks if the grouper will be used on the auto-filter drop down list.
|
boolean |
isUseOnCustomFilter() |
Checks if the grouper will be used on the custom filter editor.
|
void |
setUseOnAutoFilter(boolean useOnAutoFilter) |
Sets the flag to tell the auto-filter drop down list to use the grouper or not.
|
void |
setUseOnCustomFilter(boolean useOnCustomFilter) |
Sets the flag to tell the custom filter editor to use the grouper or not.
|
equals, getName, getUserObject, hashCode, setName, setUserObject, toStringpublic static GrouperContext DEFAULT_CONTEXT
public GrouperContext(String name)
name - the name of the grouper context.public boolean isUseOnAutoFilter()
public void setUseOnAutoFilter(boolean useOnAutoFilter)
useOnAutoFilter - true or false. Default is true.public boolean isUseOnCustomFilter()
public void setUseOnCustomFilter(boolean useOnCustomFilter)
useOnCustomFilter - true or false. Default is true.