com.liferay.portal.odata.sort.SortField
@Deprecated
public class SortField
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
SortField(EntityField entityField,
boolean asc)
Deprecated.
Creates a new sort field.
|
SortField(java.lang.String fieldName,
boolean asc)
Deprecated.
As of Judson (7.1.x), replaced by
SortField(EntityField, boolean) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFieldName()
Deprecated.
As of Judson (7.1.x), replaced by
getSortableFieldName(java.util.Locale) |
java.lang.String |
getSortableFieldName(java.util.Locale locale)
Deprecated.
Returns the field's name.
|
boolean |
isAscending()
Deprecated.
Returns
true if the sort field is ascending. |
public SortField(EntityField entityField, boolean asc)
entityField
- the entity fieldasc
- whether the sort should be ascending@Deprecated public SortField(java.lang.String fieldName, boolean asc)
SortField(EntityField, boolean)
@Deprecated public java.lang.String getFieldName()
getSortableFieldName(java.util.Locale)
public java.lang.String getSortableFieldName(java.util.Locale locale)
locale
- the localepublic boolean isAscending()
true
if the sort field is ascending.true
if the sort field is ascending; false
otherwise