public class PropertyComparatorDeletedItems extends Object implements IResourcePropertyComparator
Constructor and Description |
---|
PropertyComparatorDeletedItems() |
Modifier and Type | Method and Description |
---|---|
int |
compare(Object o1,
Object o2) |
int |
getSortMode()
Current sort mode for sorting resource properties.
|
IMetaName |
getSortPropertyName()
Name of the property that is used for sorting.
|
void |
setSortMode(int sortMode)
Determines the sort mode of the resource properties.
|
void |
setSortParameters(IMetaName sortPropertyName,
int sortMode)
Name of the property that is used for sorting and the default sort mode.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public int compare(Object o1, Object o2)
compare
in interface Comparator
Comparator
public void setSortMode(int sortMode) throws PropertyConfigurationServiceException
IMetaName.SORTMODE_ASCENDING
and IMetaName.SORTMODE_DESCENDING
.
Default is defined in the meta data of the property.setSortMode
in interface IResourcePropertyComparator
sortMode
- order of sorting for property valuesPropertyConfigurationServiceException
public int getSortMode()
IMetaName.SORTMODE_ASCENDING
and IMetaName.SORTMODE_DESCENDING
getSortMode
in interface IResourcePropertyComparator
public IMetaName getSortPropertyName()
getSortPropertyName
in interface IResourcePropertyComparator
public void setSortParameters(IMetaName sortPropertyName, int sortMode) throws PropertyConfigurationServiceException
setSortParameters
in interface IResourcePropertyComparator
sortPropertyName
- property name for sortingsortMode
- order of sorting for property valuesPropertyConfigurationServiceException
Access Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com]
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice