|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.endeca.portal.data.SemanticViewUtils
public class SemanticViewUtils
| Constructor Summary | |
|---|---|
SemanticViewUtils()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
getAttributeDisplayName(SemanticView view,
java.lang.String attributeKey,
java.util.Locale locale)
Null safe method to get an attribute display name from the view or return the key if there is none. |
static java.lang.String |
getPredefinedMetricDisplayName(SemanticView view,
java.lang.String metricKey,
java.util.Locale locale)
Null safe method to get a predefined metric display name from the view or return the key if there is none. |
static boolean |
isBaseAttribute(SemanticView view,
java.lang.String attributeKey)
Determines if an attribute key exists in a base collection. |
static boolean |
isRefineable(SemanticView view,
java.lang.String attributeKey)
Determines if the attribute having the specified keys is a refineable attribute. |
static boolean |
isSingleAssign(SemanticView view,
java.lang.String attributeKey)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SemanticViewUtils()
| Method Detail |
|---|
public static boolean isSingleAssign(SemanticView view,
java.lang.String attributeKey)
public static java.lang.String getAttributeDisplayName(SemanticView view,
java.lang.String attributeKey,
java.util.Locale locale)
attributesMap - attributeKey - locale -
public static java.lang.String getPredefinedMetricDisplayName(SemanticView view,
java.lang.String metricKey,
java.util.Locale locale)
attributesMap - metricKey - locale -
public static boolean isBaseAttribute(SemanticView view,
java.lang.String attributeKey)
throws DataSourceException,
KeyNotFoundException
isRefineable for that purpose instead.
view - attributeKey -
DataSourceException
KeyNotFoundException
public static boolean isRefineable(SemanticView view,
java.lang.String attributeKey)
view - attributeKey -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||