Class ecm.model.SearchContentClasses


Extends ecm.model._HasAttributesMixin.
Represents a set of classes that can be defined in a search to search for items of the classes. Either an instance of SearchContentClasses or ContentClass can be set to SearchTemplate.setSearchContentClass().
Defined in: <ecm\model\SearchContentClasses.js>.

Constructor Summary

Constructor Attributes Constructor Name and Description
 
Constructor

Field Summary

Field Attributes Field Name and Description
 
An array of ecm.model.AttributeDefinition objects
 
An array of ecm.model.ContentClass objects

Method Summary

Method Attributes Method Name and Description
 
Returns a boolean value indicating whether the content class supports text based searching.
Methods borrowed from class ecm.model._HasAttributesMixin:
hasDependentAttributes, isPseudoClass, retrieveAttributeDefinitions, retrieveAttributeDefinitionsForSearches, retrieveDependentAttrDefs, retrieveDependentAttributeDefinitions, setAttributeDefinitions, unloadAttributeDefinitions

Constructor Detail

ecm.model.SearchContentClasses(properties)

Constructor
Parameters:
properties
The properties for the model object. The properties can be any of the public fields as defined below and on ecm.model._HasAttributesMixin.

Field Detail

attributeDefinitions

An array of ecm.model.AttributeDefinition objects

contentClasses

An array of ecm.model.ContentClass objects

Method Detail

isTextSearchable()

Returns a boolean value indicating whether the content class supports text based searching.