public class CfgSortMode
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private boolean |
ascending
Specifies a sort order ("true" - ascending, "false" - descending).
|
private int |
sortMode
Specifies a sort mode applicable for requested object (
ECfgSortMode )
Note that you can specify up to 3 secondary sort modes by shifting them into
higher-bytes of sortMode. |
Constructor and Description |
---|
CfgSortMode() |
CfgSortMode(int sortMode,
boolean ascending) |
Modifier and Type | Method and Description |
---|---|
int |
getSortMode()
Gets the sortMode value for this CfgSortMode.
|
boolean |
isAscending()
Gets the ascending value for this CfgSortMode.
|
void |
setAscending(boolean ascending)
Sets the ascending value for this CfgSortMode.
|
void |
setSortMode(int sortMode)
Sets the sortMode value for this CfgSortMode.
|
private int sortMode
ECfgSortMode
)
Note that you can specify up to 3 secondary sort modes by shifting them into
higher-bytes of sortMode. For example, you can specify sort mode to sort Agents
by Team name and have Agent's first name as a secondary sort mode:
sortMode = CFG_AGENT_SORT_TEAM + (CFG_AGENT_SORT_FIRST_NAME << 8)private boolean ascending
public CfgSortMode()
public CfgSortMode(int sortMode, boolean ascending)
public int getSortMode()
public void setSortMode(int sortMode)
sortMode
- public boolean isAscending()
public void setAscending(boolean ascending)
ascending
- Copyright © 2005-2016 Genesys Telecommunications Labs, Inc. All Rights Reserved.