atg.commerce.search
Class IndexUtils

java.lang.Object
  extended by atg.commerce.search.IndexUtils

public class IndexUtils
extends java.lang.Object

Utilities methods for implementing with PropertyAccessor VariantProducer and IterationProducer


Field Summary
static java.lang.String CLASS_VERSION
           
 
Method Summary
static RepositoryItemDescriptor getBaseDescriptor(RepositoryItem pItem)
          Gets the base item descriptor for a given repository item.
static RepositoryItemDescriptor getBaseDescriptor(RepositoryItemDescriptor pItemDescriptor)
          Gets the base item descriptor for a given repository item descriptor.
static java.util.Map maskMap(java.util.Map pMap, java.lang.Object pKey)
          Returns an immutable Map object that only exposes a single key from the input map.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Method Detail

getBaseDescriptor

public static RepositoryItemDescriptor getBaseDescriptor(RepositoryItem pItem)
Gets the base item descriptor for a given repository item.


getBaseDescriptor

public static RepositoryItemDescriptor getBaseDescriptor(RepositoryItemDescriptor pItemDescriptor)
Gets the base item descriptor for a given repository item descriptor.


maskMap

public static java.util.Map maskMap(java.util.Map pMap,
                                    java.lang.Object pKey)
Returns an immutable Map object that only exposes a single key from the input map.