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
SearchUIColumn s. |
protected List<String> |
_searchColumnRoles
The search column roles.
|
protected ThreadSafeComponentManager<SearchUICriterion> |
_searchCriterionManager
ComponentManager for
SearchUICriterion s. |
_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, setResultFields
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
allowSortOnMultipleJoin, getAdvancedCriterion, getCriterion, getFacetedCriterion, getResultField
protected ContentTypesHelper _cTypeHelper
protected ThreadSafeComponentManager<SearchUICriterion> _searchCriterionManager
SearchUICriterion
s.protected ThreadSafeComponentManager<SearchUIColumn> _searchColumnManager
SearchUIColumn
s.protected List<String> _searchColumnRoles
private AmetysObjectResolver _resolver
public ReferencingContentsWithSameValuesSearchUIModel()
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
service
in class AbstractSearchUIModel
ServiceException
public Set<String> getContentTypes(Map<String,Object> contextualParameters)
SearchModel
getContentTypes
in interface SearchModel
getContentTypes
in class AbstractSearchUIModel
contextualParameters
- the contextual parameters.public Set<String> getExcludedContentTypes(Map<String,Object> contextualParameters)
SearchModel
getExcludedContentTypes
in interface SearchModel
getExcludedContentTypes
in class AbstractSearchUIModel
contextualParameters
- the contextual parameterspublic Map<String,SearchUICriterion> getCriteria(Map<String,Object> contextualParameters)
SearchModel
getCriteria
in interface SearchModel
getCriteria
in interface SearchUIModel
getCriteria
in class AbstractSearchUIModel
contextualParameters
- the contextual parameterspublic Map<String,SearchUICriterion> getAdvancedCriteria(Map<String,Object> contextualParameters)
SearchUIModel
getAdvancedCriteria
in interface SearchUIModel
getAdvancedCriteria
in class AbstractSearchUIModel
contextualParameters
- the contextual parameterspublic Map<String,SearchUICriterion> getFacetedCriteria(Map<String,Object> contextualParameters)
SearchModel
getFacetedCriteria
in interface SearchModel
getFacetedCriteria
in interface SearchUIModel
getFacetedCriteria
in class AbstractSearchUIModel
contextualParameters
- the contextual parameterspublic Map<String,SearchUIColumn> getResultFields(Map<String,Object> contextualParameters)
SearchModel
getResultFields
in interface SearchModel
getResultFields
in interface SearchUIModel
getResultFields
in class AbstractSearchUIModel
contextualParameters
- 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.