com.endeca.mobile.abstraction
Class UICLAbstraction

java.lang.Object
  extended by com.endeca.mobile.abstraction.UICLAbstraction

public class UICLAbstraction
extends java.lang.Object


Constructor Summary
UICLAbstraction()
           
 
Method Summary
static java.util.HashMap abstractifyAggregatedRecordComponent(com.endeca.soleng.uiComponentLibrary.components.AggregatedRecordComponent aggrRec, AbstractionContext context)
           
static java.util.HashMap abstractifyAggregatedRecordComponent(com.endeca.soleng.uiComponentLibrary.components.AggregatedRecordComponent aggrRec, AbstractionContext context, java.util.List propsToKeep)
           
static java.util.HashMap abstractifyDimValElement(com.endeca.soleng.uiComponentLibrary.components.elements.DimValElement dimVal, AbstractionContext context)
           
static java.lang.Object abstractifyPropertyElement(com.endeca.soleng.uiComponentLibrary.components.elements.PropertyElement prop, AbstractionContext context)
           
static java.util.HashMap abstractifyRecordComponent(com.endeca.soleng.uiComponentLibrary.components.RecordComponent rec, AbstractionContext context)
           
static java.util.HashMap abstractifyRecordComponent(com.endeca.soleng.uiComponentLibrary.components.RecordComponent rec, AbstractionContext context, java.util.List propsToKeep)
          Utility method to turn a RecordComponent into a generic HashMap, for use in abstractification.
static java.util.ArrayList abstractifyRecordListComponent(com.endeca.soleng.uiComponentLibrary.components.RecordListComponent recList, AbstractionContext context)
           
static java.util.ArrayList abstractifyRecordListComponent(com.endeca.soleng.uiComponentLibrary.components.RecordListComponent recList, AbstractionContext context, java.util.List propsToKeep)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UICLAbstraction

public UICLAbstraction()
Method Detail

abstractifyPropertyElement

public static final java.lang.Object abstractifyPropertyElement(com.endeca.soleng.uiComponentLibrary.components.elements.PropertyElement prop,
                                                                AbstractionContext context)
Parameters:
prop -
context -
Returns:
- A string, a list of strings, an abstractified dimension value, a list of abstractified dimension values, or null.

abstractifyRecordListComponent

public static final java.util.ArrayList abstractifyRecordListComponent(com.endeca.soleng.uiComponentLibrary.components.RecordListComponent recList,
                                                                       AbstractionContext context)

abstractifyRecordListComponent

public static final java.util.ArrayList abstractifyRecordListComponent(com.endeca.soleng.uiComponentLibrary.components.RecordListComponent recList,
                                                                       AbstractionContext context,
                                                                       java.util.List propsToKeep)

abstractifyAggregatedRecordComponent

public static final java.util.HashMap abstractifyAggregatedRecordComponent(com.endeca.soleng.uiComponentLibrary.components.AggregatedRecordComponent aggrRec,
                                                                           AbstractionContext context)

abstractifyAggregatedRecordComponent

public static final java.util.HashMap abstractifyAggregatedRecordComponent(com.endeca.soleng.uiComponentLibrary.components.AggregatedRecordComponent aggrRec,
                                                                           AbstractionContext context,
                                                                           java.util.List propsToKeep)

abstractifyRecordComponent

public static final java.util.HashMap abstractifyRecordComponent(com.endeca.soleng.uiComponentLibrary.components.RecordComponent rec,
                                                                 AbstractionContext context)

abstractifyRecordComponent

public static final java.util.HashMap abstractifyRecordComponent(com.endeca.soleng.uiComponentLibrary.components.RecordComponent rec,
                                                                 AbstractionContext context,
                                                                 java.util.List propsToKeep)
Utility method to turn a RecordComponent into a generic HashMap, for use in abstractification. Used by many of the abstractor classes.

Parameters:
rec - RecordComponent that should be turned into a HashMap
context - Context for this request
propsToKeep - List of property/dimension names that should be abstracted. If null/empty, all properties and dimensions are abstracted.

abstractifyDimValElement

public static final java.util.HashMap abstractifyDimValElement(com.endeca.soleng.uiComponentLibrary.components.elements.DimValElement dimVal,
                                                               AbstractionContext context)