com.plumtree.uiinfrastructure.form.sort
Interface ISortModel
- All Superinterfaces:
- IManagedObject, IModel, IModelRO, IMVCObject, ISortModelRO
- All Known Implementing Classes:
- ObjMgrModel, SiteMapModel
public interface ISortModel
- extends ISortModelRO, IModel
This model interface needs to be implemented to use
the sort framework.
- Author:
- Don Hayler
Method Summary |
void |
SetSort(int nSortID,
int nSortHeader,
int nSortDirection)
Set the sort to use. |
Methods inherited from interface com.plumtree.uiinfrastructure.activityspace.IMVCObject |
GetName |
Methods inherited from interface com.plumtree.uiinfrastructure.activityspace.IMVCObject |
GetName |
SetSort
void SetSort(int nSortID,
int nSortHeader,
int nSortDirection)
- Set the sort to use.
- Parameters:
nSortID
- the ID of the objects to sort on.nSortHeader
- the index of the header to sort (starting with 0).nSortDirection
- PTSortedArrayWrapper.PTSAW_SORT_ASCENDING or
PTSortedArrayWrapper.PTSAW_SORT_DESCENDING.- See Also:
PTSortedArrayWrapper