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 itemsvoid
service
(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, toJSON
Methods inherited from class org.ametys.cms.search.model.DefaultSearchModel
_resultItemsToJSON, addCriteria, addFacetedCriteria, getWorkspace, resultItemsToJSON, setContentTypes, setCriteria, setExcludedContentTypes, setFacetedCriteria, setResultItems, setWorkspace
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.ametys.runtime.model.ModelItemAccessor
getChild, getModelItem, hasModelItem
Methods inherited from interface org.ametys.cms.search.model.SearchModel
getCriterion, getFacetedCriterion, getFamilyId, getId, getModelItems, getResultItem, getWorkspace, resultItemsToJSON
Methods 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:
service
in interfaceServiceable
- Throws:
ServiceException
-
getContentTypes
Description copied from interface:SearchModel
Get the list of content types.- Specified by:
getContentTypes
in interfaceSearchModel
- Overrides:
getContentTypes
in classDefaultSearchModel
- Parameters:
contextualParameters
- the contextual parameters.- Returns:
- The list of content types.
-
getExcludedContentTypes
Description copied from interface:SearchModel
Get the list of excluded content types.- Specified by:
getExcludedContentTypes
in interfaceSearchModel
- Overrides:
getExcludedContentTypes
in classDefaultSearchModel
- Parameters:
contextualParameters
- the contextual parameters- Returns:
- The list of excluded content types.
-
getCriteria
Description copied from interface:SearchModel
Retrieves the criteria in simple mode- Specified by:
getCriteria
in interfaceSearchModel
- Overrides:
getCriteria
in classDefaultSearchModel
- Parameters:
contextualParameters
- the contextual parameters- Returns:
- the criteria in simple mode
-
getAdvancedCriteria
Description copied from interface:SearchUIModel
Retrieves the criteria in advanced mode- Specified by:
getAdvancedCriteria
in interfaceSearchUIModel
- Overrides:
getAdvancedCriteria
in classDefaultSearchUIModel
- Parameters:
contextualParameters
- the contextual parameters- Returns:
- the criteria in advanced mode
-
getFacetedCriteria
Description copied from interface:SearchModel
Retrieves the faceted criteria.- Specified by:
getFacetedCriteria
in interfaceSearchModel
- Overrides:
getFacetedCriteria
in classDefaultSearchModel
- Parameters:
contextualParameters
- the contextual parameters- Returns:
- the faceted criteria.
-
getResultItems
Description copied from interface:SearchModel
Retrieves the search result items- Specified by:
getResultItems
in interfaceSearchModel
- Overrides:
getResultItems
in classDefaultSearchModel
- Parameters:
contextualParameters
- the contextual parameters- Returns:
- the search result items
-