wt.clients.prodmgmt
Class WTProductConfigurationCollationKeyFactory

java.lang.Object
  extended bywt.util.CollationKeyFactory
      extended bywt.clients.prodmgmt.WTProductConfigurationCollationKeyFactory

public final class WTProductConfigurationCollationKeyFactory
extends CollationKeyFactory

A collation key factory for WTProductConfiguration

Supported API: true
Extendable: false


Field Summary
 
Fields inherited from class wt.util.CollationKeyFactory
 
Constructor Summary
WTProductConfigurationCollationKeyFactory()
          Construct a collation key factory for the current WTContext's locale.
WTProductConfigurationCollationKeyFactory(Locale locale)
          Construct a collation key factory for the given locale.
 
Method Summary
 String getCollationString(Object obj)
          Get a collation string for the given object.
 
Methods inherited from class wt.util.CollationKeyFactory
getKey, getLocale
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WTProductConfigurationCollationKeyFactory

public WTProductConfigurationCollationKeyFactory()
Construct a collation key factory for the current WTContext's locale.

Supported API: false
Extendable: false


WTProductConfigurationCollationKeyFactory

public WTProductConfigurationCollationKeyFactory(Locale locale)
Construct a collation key factory for the given locale.

Parameters:
locale - desired locale

Supported API: true
Extendable: false
Method Detail

getCollationString

public String getCollationString(Object obj)
Get a collation string for the given object. WTProductConfiguration will be sorted by name.

Overrides:
getCollationString in class CollationKeyFactory
Parameters:
obj - the object that will be part of the sorted results

Supported API: true
Extendable: false
Returns:
string collation key source string