Package org.ametys.web.search.systemprop
Class ProfiledGroupsTagsSystemProperty
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.cms.search.systemprop.AbstractSystemProperty
org.ametys.cms.search.systemprop.TagsSystemProperty
org.ametys.web.search.systemprop.TagsSystemProperty
org.ametys.web.search.systemprop.ProfiledGroupsTagsSystemProperty
- All Implemented Interfaces:
SystemProperty
,LogEnabled
,PluginAware
,Configurable
,Serviceable
SystemProperty
which represents the profiled groups tags of a Content.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ametys.cms.search.model.SystemProperty
SystemProperty.EnumeratorDefinition
-
Field Summary
Modifier and TypeFieldDescriptionprotected CurrentUserProvider
The current user providerprotected GroupManager
The group managerFields inherited from class org.ametys.web.search.systemprop.TagsSystemProperty
_siteConfEP
Fields inherited from class org.ametys.cms.search.systemprop.TagsSystemProperty
_jsonUtils, _tagProviderEP
Fields inherited from class org.ametys.cms.search.systemprop.AbstractSystemProperty
_description, _i18nUtils, _id, _label, _pluginName, _resolver, _userHelper, _userManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetQuery
(Object value, Query.Operator operator, String language, Map<String, Object> contextualParameters) Get theQuery
associated to the given value.Get the schema definitions brought by this property.void
service
(ServiceManager manager) Methods inherited from class org.ametys.web.search.systemprop.TagsSystemProperty
getSite, getSiteName, getTagContextualParameters, getWidgetParameters, isAutopostingEnabled
Methods inherited from class org.ametys.cms.search.systemprop.TagsSystemProperty
getConverter, getJsonValue, getRenderer, getSearchField, getType, getValue, getWidget, index, isMultiple, isSortable, saxValue
Methods inherited from class org.ametys.cms.search.systemprop.AbstractSystemProperty
_indexBooleanValue, _indexBooleanValues, _indexDateValue, _indexDateValues, _indexDoubleValue, _indexDoubleValues, _indexGeocodeValue, _indexLongValue, _indexLongValues, _indexStringValue, _indexStringValues, _indexUserValue, _indexUserValues, _parseI18nizableText, configure, getDescription, getId, getLabel, getSortValue, parseBoolean, parseDate, parseDouble, parseLong, parseString, parseStringArray, parseUserArray, setPluginInfo
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.ametys.cms.search.model.SystemProperty
getColumnWidth, getContentTypeId, getEnumeratorDefinition, isDisplayable, isFacetable, isSearchable
-
Field Details
-
_currentUserProvider
The current user provider -
_groupManager
The group manager
-
-
Constructor Details
-
ProfiledGroupsTagsSystemProperty
public ProfiledGroupsTagsSystemProperty()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classTagsSystemProperty
- Throws:
ServiceException
-
getQuery
public Query getQuery(Object value, Query.Operator operator, String language, Map<String, Object> contextualParameters) Description copied from interface:SystemProperty
Get theQuery
associated to the given value.- Specified by:
getQuery
in interfaceSystemProperty
- Overrides:
getQuery
in classTagsSystemProperty
- Parameters:
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.- Returns:
- The
Query
associated to the given value.
-
getSchemaDefinitions
Description copied from interface:SystemProperty
Get the schema definitions brought by this property.- Specified by:
getSchemaDefinitions
in interfaceSystemProperty
- Overrides:
getSchemaDefinitions
in classTagsSystemProperty
- Returns:
- The schema definitions used by this property.
-