001/* 002 * (C) Copyright 2016 Nuxeo SA (http://nuxeo.com/) and others. 003 * 004 * Licensed under the Apache License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.apache.org/licenses/LICENSE-2.0 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 * 016 * Contributors: 017 * Gabriel Barata <gbarata@nuxeo.com> 018 */ 019package org.nuxeo.ecm.platform.search.core; 020 021/** 022 * @since 8.3 023 */ 024public class SavedSearchConstants { 025 026 public static final String PARAMETERIZED_SAVED_SEARCH_TYPE_NAME = "SavedSearch"; 027 028 public static final String SAVED_SEARCH_FACET = "SavedSearch"; 029 030 public static final String TITLE_PROPERTY_NAME = "dc:title"; 031 032 public static final String NAMED_PARAMS_PROPERTY_NAME = "saved:namedParams"; 033 034 public static final String QUERY_PARAMS_PROPERTY_NAME = "saved:queryParams"; 035 036 public static final String QUERY_PROPERTY_NAME = "saved:query"; 037 038 public static final String QUERY_LANGUAGE_PROPERTY_NAME = "saved:queryLanguage"; 039 040 public static final String PAGE_PROVIDER_NAME_PROPERTY_NAME = "saved:providerName"; 041 042 public static final String PAGE_SIZE_PROPERTY_NAME = "saved:pageSize"; 043 044 public static final String CURRENT_PAGE_INDEX_PROPERTY_NAME = "saved:currentPageIndex"; 045 046 public static final String MAX_RESULTS_PROPERTY_NAME = "saved:maxResults"; 047 048 public static final String SORT_BY_PROPERTY_NAME = "saved:sortBy"; 049 050 public static final String SORT_ORDER_PROPERTY_NAME = "saved:sortOrder"; 051 052 public static final String CONTENT_VIEW_DATA_PROPERTY_NAME = "saved:contentViewData"; 053 054}