public class CfgSortMode
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected boolean |
ascending
Specifies a sort order ("true" - ascending, "false" - descending).
|
private static long |
serialVersionUID |
protected 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() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object that) |
int |
getSortMode()
Gets the value of the sortMode property.
|
int |
hashCode() |
boolean |
isAscending()
Gets the value of the ascending property.
|
void |
setAscending(boolean value)
Sets the value of the ascending property.
|
void |
setSortMode(int value)
Sets the value of the sortMode property.
|
java.lang.String |
toString() |
CfgSortMode |
withAscending(boolean value) |
CfgSortMode |
withSortMode(int value) |
private static final long serialVersionUID
protected 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)protected boolean ascending
public int getSortMode()
public void setSortMode(int value)
public boolean isAscending()
public void setAscending(boolean value)
public CfgSortMode withSortMode(int value)
public CfgSortMode withAscending(boolean value)
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright © 2005-2016 Genesys Telecommunications Labs, Inc. All Rights Reserved.