com.businessobjects.jsf.sdk.properties
Class SortProps

java.lang.Object
  |
  +--com.businessobjects.jsf.sdk.properties.SortProps
All Implemented Interfaces:
java.io.Serializable

public class SortProps
extends java.lang.Object
implements java.io.Serializable

Contains properties that specify the field to sort items by and the direction in which to sort them.

See Also:
Serialized Form

Constructor Summary
SortProps()
           
 
Method Summary
 int getSortDirection()
           Gets the direction of the sort.
 java.lang.String getSortField()
           Gets the field (column) of the ItemsGrid component to sort by.
 void setSortDirection(int sortDirection)
           Sets the direction of the sort.
 void setSortField(java.lang.String sortField)
           Sets the field (column) of the ItemsGrid component to sort by.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SortProps

public SortProps()
Method Detail

getSortField

public java.lang.String getSortField()

Gets the field (column) of the ItemsGrid component to sort by.

Returns:
A String representing the field to sort by.

setSortField

public void setSortField(java.lang.String sortField)

Sets the field (column) of the ItemsGrid component to sort by.

Parameters:
sortField - A String representing the field to sort by.

getSortDirection

public int getSortDirection()

Gets the direction of the sort. Can be ascending or descending.

Returns:
An int representing the direction of the sort.

setSortDirection

public void setSortDirection(int sortDirection)

Sets the direction of the sort. Can be ascending or descending.

Parameters:
sortDirection - An int representing the direction of the sort. Set to SortDirection.Ascending or SortDirection.Descending.