public class CommentsSystemProperty extends AbstractSystemProperty
SystemProperty which represents the comments of a content.SystemProperty.EnumeratorDefinition_description, _i18nUtils, _id, _label, _pluginName| Constructor and Description |
|---|
CommentsSystemProperty() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getColumnWidth()
Get the column width.
|
SystemProperty.EnumeratorDefinition |
getEnumeratorDefinition(Collection<String> contentTypes,
Configuration configuration)
Get the definition of an enumerator.
|
Object |
getFullValue(Content content)
Get the value represented by this field in the given result content.
|
Query |
getQuery(Object value,
Query.Operator operator,
String language,
Map<String,Object> contextualParameters)
Get the
Query associated to the given value. |
String |
getRenderer()
Get the renderer.
|
Collection<SchemaDefinition> |
getSchemaDefinitions()
Get the schema definitions brought by this property.
|
SearchField |
getSearchField()
Get the
SearchField representing this system property. |
MetadataType |
getType()
Get the property type.
|
Object |
getValue(Content content)
Get the value represented by this field in the given result content.
|
String |
getWidget()
Get the default widget to use when rendering this property as a criterion.
|
void |
index(Content content,
SolrInputDocument document)
Index the system property in a solr document.
|
boolean |
isMultiple()
Get the multiple status of the property.
|
boolean |
isSortable()
Get if the property can be sorted on.
|
_parseI18nizableText, configure, getContentTypeId, getConverter, getDescription, getId, getLabel, getSortValue, getWidgetParameters, isDisplayable, isSearchable, parseBoolean, parseDate, parseDouble, parseLong, parseString, parseStringArray, parseUserArray, service, setPluginInfogetLogger, setLoggerpublic CommentsSystemProperty()
public MetadataType getType()
SystemPropertypublic boolean isMultiple()
SystemPropertytrue if the property can have multiple values, false otherwise.public boolean isSortable()
SystemPropertytrue if the property can be sorted on, false otherwise.public Query getQuery(Object value, Query.Operator operator, String language, Map<String,Object> contextualParameters)
SystemPropertyQuery associated to the given value.value - the user-submitted value for this property.operator - In advanced search mode, the operator chosen by the user. null to use the criterion-defined operator (simple search mode).language - The current search language.contextualParameters - the search contextual parameters.Query associated to the given value.public String getWidget()
SystemPropertygetWidget in interface SystemPropertygetWidget in class AbstractSystemPropertynull if no specific widget is necessary.public String getRenderer()
SystemPropertygetRenderer in interface SystemPropertygetRenderer in class AbstractSystemPropertypublic Integer getColumnWidth()
SystemPropertygetColumnWidth in interface SystemPropertygetColumnWidth in class AbstractSystemPropertypublic SearchField getSearchField()
SystemPropertySearchField representing this system property.public Collection<SchemaDefinition> getSchemaDefinitions()
SystemPropertygetSchemaDefinitions in interface SystemPropertygetSchemaDefinitions in class AbstractSystemPropertypublic void index(Content content, SolrInputDocument document)
SystemPropertyindex in interface SystemPropertyindex in class AbstractSystemPropertycontent - The content to index.document - The solr document to index into.public Object getValue(Content content)
SystemPropertycontent - the result content.public Object getFullValue(Content content)
SystemPropertygetFullValue in interface SystemPropertygetFullValue in class AbstractSystemPropertycontent - the result content.public SystemProperty.EnumeratorDefinition getEnumeratorDefinition(Collection<String> contentTypes, Configuration configuration)
SystemPropertygetEnumeratorDefinition in interface SystemPropertygetEnumeratorDefinition in class AbstractSystemPropertycontentTypes - The model's content types.configuration - The enumerator configuration.