|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.endeca.portal.cascade.CascadeUtil
public class CascadeUtil
Constructor Summary | |
---|---|
CascadeUtil()
|
Method Summary | |
---|---|
static CascadeResult |
findCascadeResult(java.util.Map<java.lang.String,DimensionState> dimensionStates,
java.util.List<QueryFunction> queryFunctions,
java.util.List<CascadeKey> cascadeAttributes,
SemanticView view,
boolean cascadeEnabled)
Find cascade result |
static java.util.List<CascadeKey> |
getCascadeKeys(java.util.List<java.lang.String> attrKeys)
|
static java.util.Map<java.lang.String,DimensionState> |
getCurrentDimensionStates(DataSource dataSource,
java.util.Locale locale,
SemanticView view,
java.util.List<CascadeKey> dimKeys,
java.util.Set<java.lang.String> hierarchicalAttributes,
boolean isCascadeEnabled)
Executes a query that fetches the dimension counts and/or hierarchy level |
static java.util.Set<java.lang.String> |
getHierarchicalAttributes(javax.portlet.PortletRequest request,
DataSource dataSource,
SemanticView view,
java.util.List<CascadeKey> dimKeys)
Checks required dimensions from current semantic view map. |
static java.util.Set<java.lang.String> |
getManagedAttributes(javax.portlet.PortletRequest request,
DataSource dataSource,
SemanticView view,
java.util.List<CascadeKey> dimKeys)
Returns the list of cascade attributes with an indication of which is a managed attribute |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CascadeUtil()
Method Detail |
---|
public static java.util.List<CascadeKey> getCascadeKeys(java.util.List<java.lang.String> attrKeys)
public static java.util.Set<java.lang.String> getManagedAttributes(javax.portlet.PortletRequest request, DataSource dataSource, SemanticView view, java.util.List<CascadeKey> dimKeys) throws DataSourceException
dataSource
- viewKey
- dimensions
- viewModel
-
DataSourceException
public static java.util.Set<java.lang.String> getHierarchicalAttributes(javax.portlet.PortletRequest request, DataSource dataSource, SemanticView view, java.util.List<CascadeKey> dimKeys) throws DataSourceException
dataSource
- viewKey
- dimensions
- viewModel
-
DataSourceException
public static java.util.Map<java.lang.String,DimensionState> getCurrentDimensionStates(DataSource dataSource, java.util.Locale locale, SemanticView view, java.util.List<CascadeKey> dimKeys, java.util.Set<java.lang.String> hierarchicalAttributes, boolean isCascadeEnabled) throws DataSourceException, KeyNotFoundException
dataSource
- viewKey
- dimKeys
- hierarchies
-
DataSourceException
KeyNotFoundException
public static CascadeResult findCascadeResult(java.util.Map<java.lang.String,DimensionState> dimensionStates, java.util.List<QueryFunction> queryFunctions, java.util.List<CascadeKey> cascadeAttributes, SemanticView view, boolean cascadeEnabled) throws DataSourceException, KeyNotFoundException
navigationMenu
- queryFunctions
- cascadeAttributes
- dataSource
- viewKey
- cascadeEnabled
-
DataSourceException
KeyNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |