TopicsSortOrder value object

Previous Topic

Next Topic

Book Contents

TopicsSortOrder value object

Set the fieldName field to the name of the topic, topic template, or work team to sort on. Set the sorting order field to SORT_ASC or SORT_DESC. Set the fieldType to STRING for a case insensitive sort of string values. This method applies to only the getFieldValues method.

class TopicsSortOrder {

String fieldName;

FieldType fieldType = FieldType.STRING;

Order order = Order.SORT_ASC;

}

The field types are defined in an enumeration as follows:

enum FieldType {

STRING, DATE, INTEGER, LONG, FLOAT, PROJECT, STATE

}

enum Order {

SORT_ASC, SORT_DESC

}

Send Feedback