com.flexive.shared.content
Class FxPropertySorter

java.lang.Object
  extended by com.flexive.shared.content.FxPropertySorter

public class FxPropertySorter
extends java.lang.Object

Get the order of a GroupData or a tpyeID (recursive) and can apply it to other GroupData

Since:
3.1.1
Author:
Laszlo Hernadi lhernadi@ucs.at

Method Summary
 void applyOrder(FxGroupData groupData)
          Apply the saved order to the current group data
static FxPropertySorter getSorterForType(long typeId)
          Initiates the sorter by a given type id
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSorterForType

public static FxPropertySorter getSorterForType(long typeId)
Initiates the sorter by a given type id

Parameters:
typeId - The type id where to get the order from
Returns:
The created PropertySorter, ready to sort the properties of the type

applyOrder

public void applyOrder(FxGroupData groupData)
Apply the saved order to the current group data

Parameters:
groupData - The group data to apply the order to