Class ReferencingContentsWithSameValuesSearchUIModel
java.lang.Object
org.ametys.cms.search.model.DefaultSearchModel
org.ametys.cms.search.ui.model.impl.DefaultSearchUIModel
org.ametys.cms.content.referencetable.search.ReferencingContentsWithSameValuesSearchUIModel
- All Implemented Interfaces:
SearchModel,SearchUIModel,Model,ModelItemAccessor,ModelItemContainer,Serviceable
public class ReferencingContentsWithSameValuesSearchUIModel
extends DefaultSearchUIModel
implements Serviceable
Implementation of
SearchUIModel for contents referencing the same content's values for a given attribute.-
Field Summary
Fields inherited from class org.ametys.cms.search.ui.model.impl.DefaultSearchUIModel
__DEFAULT_EXPORT_CSV_URL, __DEFAULT_EXPORT_DOC_URL, __DEFAULT_EXPORT_PDF_URL, __DEFAULT_EXPORT_XML_URL, __DEFAULT_PRINT_URL, __DEFAULT_SEARCH_URL, __DEFAULT_URL_PLUGIN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAdvancedCriteria(Map<String, Object> contextualParameters) Retrieves the criteria in advanced modegetContentTypes(Map<String, Object> contextualParameters) Get the list of content types.getCriteria(Map<String, Object> contextualParameters) Retrieves the criteria in simple modegetExcludedContentTypes(Map<String, Object> contextualParameters) Get the list of excluded content types.getFacetedCriteria(Map<String, Object> contextualParameters) Retrieves the faceted criteria.getResultItems(Map<String, Object> contextualParameters) Retrieves the search result itemsvoidservice(ServiceManager manager) Methods inherited from class org.ametys.cms.search.ui.model.impl.DefaultSearchUIModel
_getAdvancedCriteriaListInfo, addAdvancedCriteria, allowSortOnMultipleJoin, getExportCSVUrl, getExportCSVUrlPlugin, getExportDOCUrl, getExportDOCUrlPlugin, getExportPDFUrl, getExportPDFUrlPlugin, getExportXMLUrl, getExportXMLUrlPlugin, getPageSize, getPrintUrl, getPrintUrlPlugin, getSearchUrl, getSearchUrlPlugin, getSummaryView, setAdvancedCriteria, setAllowSortOnMultipleJoin, setExportCSVUrl, setExportCSVUrlPlugin, setExportDOCUrl, setExportDOCUrlPlugin, setExportPDFUrl, setExportPDFUrlPlugin, setExportXMLUrl, setExportXMLUrlPlugin, setPageSize, setPrintUrl, setPrintUrlPlugin, setSearchUrl, setSearchUrlPlugin, setSummaryView, toJSONMethods inherited from class org.ametys.cms.search.model.DefaultSearchModel
_resultItemsToJSON, addCriteria, addFacetedCriteria, getWorkspace, resultItemsToJSON, setContentTypes, setCriteria, setExcludedContentTypes, setFacetedCriteria, setResultItems, setWorkspaceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.ametys.runtime.model.ModelItemAccessor
getChild, getModelItem, hasModelItemMethods inherited from interface org.ametys.cms.search.model.SearchModel
getCriterion, getFacetedCriterion, getFamilyId, getId, getModelItems, getResultItem, getWorkspace, resultItemsToJSONMethods inherited from interface org.ametys.cms.search.ui.model.SearchUIModel
addAdvancedCriterion, addAdvancedCriterion, addCriterion, addCriterion, addFacetedCriterion, addFacetedCriterion, getAdvancedCriterion
-
Constructor Details
-
ReferencingContentsWithSameValuesSearchUIModel
-
-
Method Details
-
service
- Specified by:
servicein interfaceServiceable- Throws:
ServiceException
-
getContentTypes
Description copied from interface:SearchModelGet the list of content types.- Specified by:
getContentTypesin interfaceSearchModel- Overrides:
getContentTypesin classDefaultSearchModel- Parameters:
contextualParameters- the contextual parameters.- Returns:
- The list of content types.
-
getExcludedContentTypes
Description copied from interface:SearchModelGet the list of excluded content types.- Specified by:
getExcludedContentTypesin interfaceSearchModel- Overrides:
getExcludedContentTypesin classDefaultSearchModel- Parameters:
contextualParameters- the contextual parameters- Returns:
- The list of excluded content types.
-
getCriteria
Description copied from interface:SearchModelRetrieves the criteria in simple mode- Specified by:
getCriteriain interfaceSearchModel- Overrides:
getCriteriain classDefaultSearchModel- Parameters:
contextualParameters- the contextual parameters- Returns:
- the criteria in simple mode
-
getAdvancedCriteria
Description copied from interface:SearchUIModelRetrieves the criteria in advanced mode- Specified by:
getAdvancedCriteriain interfaceSearchUIModel- Overrides:
getAdvancedCriteriain classDefaultSearchUIModel- Parameters:
contextualParameters- the contextual parameters- Returns:
- the criteria in advanced mode
-
getFacetedCriteria
Description copied from interface:SearchModelRetrieves the faceted criteria.- Specified by:
getFacetedCriteriain interfaceSearchModel- Overrides:
getFacetedCriteriain classDefaultSearchModel- Parameters:
contextualParameters- the contextual parameters- Returns:
- the faceted criteria.
-
getResultItems
Description copied from interface:SearchModelRetrieves the search result items- Specified by:
getResultItemsin interfaceSearchModel- Overrides:
getResultItemsin classDefaultSearchModel- Parameters:
contextualParameters- the contextual parameters- Returns:
- the search result items
-