|
Decision Center API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ilog.rules.teamserver.model.reporting.impl.IlrDefaultReportSorter
public class IlrDefaultReportSorter
An implementation of IlrReportSorter
used by Decision Center.
This implementation first sorts elements by their type, and then by alphabetical order. The order for the type is:
Constructor Summary | |
---|---|
IlrDefaultReportSorter()
|
Method Summary | |
---|---|
int |
compare(IlrReportContext reportContext,
IlrElementDetails element1,
IlrElementDetails element2)
Returns a negative, zero, or positive number depending on whether the first element is less than, equal to, or greater than the second element. |
int |
compare(IlrReportContext reportContext,
IlrElementDetails element,
Object property1,
Object property2)
Returns a negative, zero, or positive number depending on whether the first property is less than, equal to, or greater than the second property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IlrDefaultReportSorter()
Method Detail |
---|
public int compare(IlrReportContext reportContext, IlrElementDetails element1, IlrElementDetails element2)
IlrReportSorter
compare
in interface IlrReportSorter
reportContext
- The context in which the report is executed.element1
- The first element.element2
- The second element.
public int compare(IlrReportContext reportContext, IlrElementDetails element, Object property1, Object property2)
IlrReportSorter
compare
in interface IlrReportSorter
reportContext
- The context in which the report is executed.element
- The element from which the properties come from.property1
- The first property.property2
- The second property.
|
Decision Center API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |