public class CatalogResultsDatasetQuery extends AbstractCatalogResultsQuery
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
COUNT_DATASET_ADDED_TO_PROJECT_STMT |
static java.lang.String |
PARAM_DATASET_DISPLAYNAME |
DATASET_RECORDS_STATEMENT, DATASETS_COUNT_STATEMENT_KEY, jacksonMapper, logger, PROJECT_RECORDS_STATEMENT, PROJECTS_COUNT_STATEMENT_KEY, RESULTS_STATEMENT_KEY, STATE_MODEL_PARAMETER, UNIQUE_DATASET_DEFINE_STATEMENT
MOST_POPULAR_PAGE_SIZE, MOST_RECENTLY_CREATED_DATASETS_PAGE_SIZE, MOST_RECENTLY_VIEWED_DATASETS_PAGE_SIZE, MOST_RECENTLY_VIEWED_PROJECTS_PAGE_SIZE, SORT_TYPE_MOST_POPULAR, SORT_TYPE_MOST_RECENTLY_ACCESSED, SORT_TYPE_MOST_RECENTLY_ADDED
Constructor and Description |
---|
CatalogResultsDatasetQuery() |
Modifier and Type | Method and Description |
---|---|
com.endeca.mdex.eql_parser.types.Query |
buildQuery(CatalogDataSetModel viewModel,
java.lang.String collectionKey,
javax.portlet.PortletRequest request) |
com.endeca.mdex.eql_parser.types.Query |
buildQuery(ViewModel viewModel,
java.lang.String collectionKey,
javax.portlet.PortletRequest request,
boolean includeZonesData) |
java.lang.String |
getCollectionKey() |
static CatalogResultsDatasetQuery |
getInstance() |
com.endeca.mdex.eql_parser.types.Query |
getQuickLookInfoQuery(javax.portlet.PortletRequest request,
java.lang.String selectedCollectionKey)
'RELATED DATASETS' QUERY:
DEFINE SELECTED_DATASET AS
SELECT "system-bddDatasetInventory.collectionKey" AS collectionKey
FROM system-bddDatasetInventory
WHERE (collectionKey = '
|
void |
processResults(CatalogDataSetModel viewModel,
java.util.List<com.endeca.mdex.conversation.types.ResultRecords> resultList,
long loggedInUserId,
javax.portlet.PortletRequest request)
Process the results set and update the viewmodel
|
void |
processResults(ViewModel viewModel,
java.util.List<com.endeca.mdex.conversation.types.ResultRecords> resultList,
long loggedInUserId,
javax.portlet.PortletRequest request,
boolean includeZonesData)
Process the results object and update the viewmodel that is passed in
|
DatasetsResultsObject |
queryQuickLookInfo(javax.portlet.PortletRequest request,
java.lang.String selectedCollectionKey) |
java.lang.String |
translateAttributeKey(CatalogDataSetModel viewModel) |
applySorting, getPaging, getQueryState, isStudioSideSorting, isStudioSideSorting, query, query
public static final java.lang.String PARAM_DATASET_DISPLAYNAME
protected static final java.lang.String COUNT_DATASET_ADDED_TO_PROJECT_STMT
public static CatalogResultsDatasetQuery getInstance()
public com.endeca.mdex.eql_parser.types.Query buildQuery(CatalogDataSetModel viewModel, java.lang.String collectionKey, javax.portlet.PortletRequest request) throws java.lang.Exception
java.lang.Exception
public com.endeca.mdex.eql_parser.types.Query buildQuery(ViewModel viewModel, java.lang.String collectionKey, javax.portlet.PortletRequest request, boolean includeZonesData) throws java.lang.Exception
java.lang.Exception
public void processResults(CatalogDataSetModel viewModel, java.util.List<com.endeca.mdex.conversation.types.ResultRecords> resultList, long loggedInUserId, javax.portlet.PortletRequest request) throws ModelException, java.text.ParseException, com.liferay.portal.SystemException
com.liferay.portal.SystemException
ModelException
java.text.ParseException
public void processResults(ViewModel viewModel, java.util.List<com.endeca.mdex.conversation.types.ResultRecords> resultList, long loggedInUserId, javax.portlet.PortletRequest request, boolean includeZonesData) throws ModelException, java.text.ParseException, Formatter.FormatParseException, com.liferay.portal.SystemException
java.text.ParseException
ModelException
Formatter.FormatParseException
com.liferay.portal.SystemException
public java.lang.String getCollectionKey()
public java.lang.String translateAttributeKey(CatalogDataSetModel viewModel)
translateAttributeKey
in interface CatalogResultsQuery
translateAttributeKey
in class AbstractCatalogResultsQuery
public DatasetsResultsObject queryQuickLookInfo(javax.portlet.PortletRequest request, java.lang.String selectedCollectionKey) throws DataSourceException, KeyNotFoundException, ModelException, java.text.ParseException, Formatter.FormatParseException, com.liferay.portal.SystemException, com.liferay.portal.PortalException
DataSourceException
KeyNotFoundException
ModelException
java.text.ParseException
Formatter.FormatParseException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
public com.endeca.mdex.eql_parser.types.Query getQuickLookInfoQuery(javax.portlet.PortletRequest request, java.lang.String selectedCollectionKey) throws DataSourceException, KeyNotFoundException, com.liferay.portal.PortalException
com.liferay.portal.PortalException
DataSourceException
KeyNotFoundException
Copyright 2003, 2014, Oracle and/or its affiliates. All rights reserved.