public class ReferencingContentsWithSameValuesSearchUIModel extends AbstractSearchUIModel
SearchUIModel for contents referencing the same content's values for a given metadata.| Modifier and Type | Field and Description |
|---|---|
protected ContentTypesHelper |
_cTypeHelper
The content type helper.
|
private AmetysObjectResolver |
_resolver |
protected ThreadSafeComponentManager<SearchUIColumn> |
_searchColumnManager
ComponentManager for
SearchUIColumns. |
protected List<String> |
_searchColumnRoles
The search column roles.
|
protected ThreadSafeComponentManager<SearchUICriterion> |
_searchCriterionManager
ComponentManager for
SearchUICriterions. |
_advancedSearchCriteria, _columns, _context, _cTypeEP, _cTypes, _excludedCTypes, _facetedCriteria, _logger, _manager, _searchCriteria, _searchModelHelper| Constructor and Description |
|---|
ReferencingContentsWithSameValuesSearchUIModel() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addSystemColumnComponent(String property)
Add a system column component to the manager.
|
Map<String,SearchUICriterion> |
getAdvancedCriteria(Map<String,Object> contextualParameters)
Get the list of search criteria in advanced mode
|
Set<String> |
getContentTypes(Map<String,Object> contextualParameters)
Get the list of content types.
|
Map<String,SearchUICriterion> |
getCriteria(Map<String,Object> contextualParameters)
Get the list of search criteria in simple mode
|
Set<String> |
getExcludedContentTypes(Map<String,Object> contextualParameters)
Get the list of excluded content types.
|
Map<String,SearchUICriterion> |
getFacetedCriteria(Map<String,Object> contextualParameters)
Get the list of faceted search criteria.
|
Map<String,SearchUIColumn> |
getResultFields(Map<String,Object> contextualParameters)
Get the column for results
|
void |
service(ServiceManager manager) |
addContentTypesConfiguration, contextualize, getCustomCriteriaConfiguration, getExportCSVUrl, getExportCSVUrlPlugin, getExportDOCUrl, getExportDOCUrlPlugin, getExportXMLUrl, getExportXMLUrlPlugin, getIndexingFieldCriteriaConfiguration, getIndexingFieldCriteriaConfiguration, getIndexingFieldCriteriaConfiguration, getLogger, getMetadataColumnConfiguration, getMetadataColumnConfiguration, getPageSize, getPrintUrl, getPrintUrlPlugin, getSearchUrl, getSearchUrlPlugin, getSummaryView, getSystemColumnConfiguration, getSystemColumnConfiguration, getSystemCriteriaConfiguration, getSystemCriteriaConfiguration, getSystemCriteriaConfiguration, getWorkspace, setAdvancedCriteria, setContentTypes, setCriteria, setExcludedContentTypes, setFacetedCriteria, setLogger, setResultFieldsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitallowSortOnMultipleJoin, getAdvancedCriterion, getCriterion, getFacetedCriterion, getResultFieldprotected ContentTypesHelper _cTypeHelper
protected ThreadSafeComponentManager<SearchUICriterion> _searchCriterionManager
SearchUICriterions.protected ThreadSafeComponentManager<SearchUIColumn> _searchColumnManager
SearchUIColumns.protected List<String> _searchColumnRoles
private AmetysObjectResolver _resolver
public ReferencingContentsWithSameValuesSearchUIModel()
public void service(ServiceManager manager) throws ServiceException
service in interface Serviceableservice in class AbstractSearchUIModelServiceExceptionpublic Set<String> getContentTypes(Map<String,Object> contextualParameters)
SearchModelgetContentTypes in interface SearchModelgetContentTypes in class AbstractSearchUIModelcontextualParameters - the contextual parameters.public Set<String> getExcludedContentTypes(Map<String,Object> contextualParameters)
SearchModelgetExcludedContentTypes in interface SearchModelgetExcludedContentTypes in class AbstractSearchUIModelcontextualParameters - the contextual parameterspublic Map<String,SearchUICriterion> getCriteria(Map<String,Object> contextualParameters)
SearchModelgetCriteria in interface SearchModelgetCriteria in interface SearchUIModelgetCriteria in class AbstractSearchUIModelcontextualParameters - the contextual parameterspublic Map<String,SearchUICriterion> getAdvancedCriteria(Map<String,Object> contextualParameters)
SearchUIModelgetAdvancedCriteria in interface SearchUIModelgetAdvancedCriteria in class AbstractSearchUIModelcontextualParameters - the contextual parameterspublic Map<String,SearchUICriterion> getFacetedCriteria(Map<String,Object> contextualParameters)
SearchModelgetFacetedCriteria in interface SearchModelgetFacetedCriteria in interface SearchUIModelgetFacetedCriteria in class AbstractSearchUIModelcontextualParameters - the contextual parameterspublic Map<String,SearchUIColumn> getResultFields(Map<String,Object> contextualParameters)
SearchModelgetResultFields in interface SearchModelgetResultFields in interface SearchUIModelgetResultFields in class AbstractSearchUIModelcontextualParameters - the contextual parameters. Can be null.protected void addSystemColumnComponent(String property) throws ConfigurationException, ComponentException
property - the system property.ConfigurationException - if a configuration error occurs.ComponentException - if a component cannot be initialized.