Class KeywordCMSTag
- java.lang.Object
-
- org.ametys.cms.tag.CMSTag
-
- org.ametys.plugins.workspaces.keywords.KeywordCMSTag
-
- All Implemented Interfaces:
Tag
public class KeywordCMSTag extends CMSTag
This class represent a project keyword as a CMS Tag
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.ametys.cms.tag.CMSTag
CMSTag.TagVisibility
-
-
Field Summary
Fields Modifier and Type Field Description private DefaultTag
_keyword
static String
TAG_PREFIX
The prefix for all tags issue from keywords-
Fields inherited from interface org.ametys.cms.tag.Tag
NAME_PATTERN
-
-
Constructor Summary
Constructors Constructor Description KeywordCMSTag(DefaultTag keyword, CMSTag parent, TagTargetType targetType)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CMSTag
getTag(String tagId)
Try to get a child tag by its idMap<String,CMSTag>
getTags()
Retrieves the Set of child tags-
Methods inherited from class org.ametys.cms.tag.CMSTag
addTag, getDescription, getId, getName, getParent, getParentName, getTarget, getTitle, getVisibility, hasTag, setTags, setTarget, setVisibility
-
-
-
-
Field Detail
-
TAG_PREFIX
public static final String TAG_PREFIX
The prefix for all tags issue from keywords- See Also:
- Constant Field Values
-
_keyword
private DefaultTag _keyword
-
-
Constructor Detail
-
KeywordCMSTag
public KeywordCMSTag(DefaultTag keyword, CMSTag parent, TagTargetType targetType)
Constructor- Parameters:
keyword
- the keywordparent
- the parent CMS tagtargetType
- the target type
-
-