public class IndexedContentsSearchUIModel extends AbstractSearchUIModel
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 ThreadSafeComponentManager<SearchUICriterion> |
_searchCriterionManager
ComponentManager for
SearchUICriterion s. |
protected SystemPropertyExtensionPoint |
_sysPropEP
The system property extension point.
|
_advancedSearchCriteria, _columns, _context, _cTypeEP, _cTypes, _excludedCTypes, _facetedCriteria, _logger, _manager, _searchCriteria, _searchModelHelper
Constructor and Description |
---|
IndexedContentsSearchUIModel() |
Modifier and Type | Method and Description |
---|---|
Map<String,SearchUICriterion> |
getAdvancedCriteria(Map<String,Object> contextualParameters)
Get the list of search criteria in advanced mode
|
protected Set<String> |
getAllTypes(Content content)
Get all the types and mixins and their ancestors of a Content.
|
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 SystemPropertyExtensionPoint _sysPropEP
protected ThreadSafeComponentManager<SearchUICriterion> _searchCriterionManager
SearchUICriterion
s.protected ThreadSafeComponentManager<SearchUIColumn> _searchColumnManager
SearchUIColumn
s.private AmetysObjectResolver _resolver
public IndexedContentsSearchUIModel()
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 Set<String> getAllTypes(Content content)
content
- The content.