Package org.ametys.web.tags
Class GroupTagProvider<T extends CMSTag>
- java.lang.Object
-
- org.apache.avalon.framework.logger.AbstractLogEnabled
-
- org.ametys.cms.tag.AbstractTagProvider<CMSTag>
-
- org.ametys.cms.tag.GroupTagProvider<CMSTag>
-
- org.ametys.web.tags.GroupTagProvider<T>
-
- Type Parameters:
T
- the tag class
- All Implemented Interfaces:
TagProvider<CMSTag>
,PluginAware
,Configurable
,Contextualizable
,LogEnabled
,Serviceable
public class GroupTagProvider<T extends CMSTag> extends GroupTagProvider<CMSTag> implements Contextualizable
Class representing a group tag provider.
-
-
Field Summary
Fields Modifier and Type Field Description protected Context
_context
The contextstatic String
ROLE
The Avalon role-
Fields inherited from class org.ametys.cms.tag.GroupTagProvider
_groupDirectoryContextHelper, _groupDirectoryDAO, _groupManager, _targetTypeEP
-
Fields inherited from class org.ametys.cms.tag.AbstractTagProvider
_description, _featureName, _id, _label, _pluginName
-
-
Constructor Summary
Constructors Constructor Description GroupTagProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Set<String>
_getContexts()
Get the set of context to get group directoriesvoid
contextualize(Context context)
-
Methods inherited from class org.ametys.cms.tag.GroupTagProvider
getGroupDirectoryTagId, getGroupTagId, getTag, getTags, getTags, hasTag, service
-
Methods inherited from class org.ametys.cms.tag.AbstractTagProvider
configure, configureDescription, configureLabel, getDescription, getId, getLabel, getPluginName, setPluginInfo
-
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
-
-
-
Constructor Detail
-
GroupTagProvider
public GroupTagProvider()
-
-
Method Detail
-
contextualize
public void contextualize(Context context) throws ContextException
- Specified by:
contextualize
in interfaceContextualizable
- Throws:
ContextException
-
_getContexts
protected Set<String> _getContexts()
Description copied from class:GroupTagProvider
Get the set of context to get group directories- Overrides:
_getContexts
in classGroupTagProvider<CMSTag>
- Returns:
- the set of context
-
-