com.sapportals.wcm.repository.service.layout.info

Class RenderObjectKey.KeyComparator

java.lang.Object
  extended by com.sapportals.wcm.repository.service.layout.info.RenderObjectKey.KeyComparator
All Implemented Interfaces:
Comparator
Enclosing class:
RenderObjectKey

public static class RenderObjectKey.KeyComparator
extends Object
implements Comparator

compares two RenderObjectKey instances and allows to define the comparation order of the attributes. It also allows to compare two IRenderObjectInfo elements in the same way. However, it does not allow to compare one key with one info instance.

Since:
EP6, SP2_FP

Field Summary
static int CATEGORY
           
static int FLAVOR
           
static int LISTTYPE
           
static int RID
           
 
Constructor Summary
RenderObjectKey.KeyComparator(int firstparameter)
           
 
Method Summary
 int compare(Object o1, Object o2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Field Detail

RID

public static final int RID
See Also:
Constant Field Values

FLAVOR

public static final int FLAVOR
See Also:
Constant Field Values

CATEGORY

public static final int CATEGORY
See Also:
Constant Field Values

LISTTYPE

public static final int LISTTYPE
See Also:
Constant Field Values
Constructor Detail

RenderObjectKey.KeyComparator

public RenderObjectKey.KeyComparator(int firstparameter)
Method Detail

compare

public int compare(Object o1,
                   Object o2)
Specified by:
compare in interface Comparator
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-CM [sap.com] tc/km/frwk api EP-KM-CM
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2011 SAP AG Complete Copyright Notice