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
public class ProfiledGroupsTagsSystemProperty extends TagsSystemProperty
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
Fields Modifier and Type Field Description protected CurrentUserProvider
_currentUserProvider
The current user providerprotected GroupManager
_groupManager
The group manager-
Fields 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
Constructors Constructor Description ProfiledGroupsTagsSystemProperty()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Query
getQuery(Object value, Query.Operator operator, String language, Map<String,Object> contextualParameters)
Get theQuery
associated to the given value.Collection<SchemaDefinition>
getSchemaDefinitions()
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 Detail
-
_currentUserProvider
protected CurrentUserProvider _currentUserProvider
The current user provider
-
_groupManager
protected GroupManager _groupManager
The group manager
-
-
Constructor Detail
-
ProfiledGroupsTagsSystemProperty
public ProfiledGroupsTagsSystemProperty()
-
-
Method Detail
-
service
public void service(ServiceManager manager) throws ServiceException
- 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
public Collection<SchemaDefinition> 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.
-
-