Package org.primefaces.model
Class SortMeta
- java.lang.Object
-
- org.primefaces.model.SortMeta
-
- All Implemented Interfaces:
Serializable
,Comparable<SortMeta>
public class SortMeta extends Object implements Serializable, Comparable<SortMeta>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SortMeta.Builder
-
Field Summary
Fields Modifier and Type Field Description static Integer
MAX_PRIORITY
static Integer
MIN_PRIORITY
-
Constructor Summary
Constructors Constructor Description SortMeta()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SortMeta.Builder
builder()
int
compareTo(SortMeta o)
boolean
equals(Object o)
String
getColumnKey()
String
getField()
javax.el.MethodExpression
getFunction()
int
getNullSortOrder()
SortOrder
getOrder()
int
getPriority()
javax.el.ValueExpression
getSortBy()
int
hashCode()
boolean
isActive()
boolean
isCaseSensitiveSort()
boolean
isHeaderRow()
static SortMeta
of(javax.faces.context.FacesContext context, String var, UIColumn column)
static SortMeta
of(javax.faces.context.FacesContext context, String var, HeaderRow headerRow)
void
setFunction(javax.el.MethodExpression function)
void
setOrder(SortOrder order)
void
setPriority(int priority)
void
setSortBy(javax.el.ValueExpression sortBy)
String
toString()
-
-
-
Method Detail
-
of
public static SortMeta of(javax.faces.context.FacesContext context, String var, UIColumn column)
-
of
public static SortMeta of(javax.faces.context.FacesContext context, String var, HeaderRow headerRow)
-
compareTo
public int compareTo(SortMeta o)
- Specified by:
compareTo
in interfaceComparable<SortMeta>
-
getField
public String getField()
-
getOrder
public SortOrder getOrder()
-
getFunction
public javax.el.MethodExpression getFunction()
-
setFunction
public void setFunction(javax.el.MethodExpression function)
-
getSortBy
public javax.el.ValueExpression getSortBy()
-
setSortBy
public void setSortBy(javax.el.ValueExpression sortBy)
-
isActive
public boolean isActive()
-
setOrder
public void setOrder(SortOrder order)
-
getPriority
public int getPriority()
-
setPriority
public void setPriority(int priority)
-
isHeaderRow
public boolean isHeaderRow()
-
getColumnKey
public String getColumnKey()
-
getNullSortOrder
public int getNullSortOrder()
-
isCaseSensitiveSort
public boolean isCaseSensitiveSort()
-
builder
public static SortMeta.Builder builder()
-
-