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.form.sort.ISortModelRO
GetSortDirection, GetSortedHeader
 
Methods inherited from interface com.plumtree.uiinfrastructure.activityspace.IMVCObject
GetName
 
Methods inherited from interface com.plumtree.uiinfrastructure.activityspace.IModel
CleanupAllData, CleanupTempData, Init
 
Methods inherited from interface com.plumtree.uiinfrastructure.activityspace.IMVCObject
GetName
 
Methods inherited from interface com.plumtree.uiinfrastructure.activityspace.IManagedObject
Create
 

Method Detail

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



Copyright © 2002,2003,2004,2005 Plumtree Software, Inc., All Rights Reserved.