Class CategoryCMSTag
- java.lang.Object
-
- org.ametys.cms.tag.CMSTag
-
- org.ametys.plugins.workspaces.categories.CategoryCMSTag
-
- All Implemented Interfaces:
Tag
public class CategoryCMSTag extends CMSTag
This class represent a project category 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 Category
_category
static String
TAG_PREFIX
The prefix for all tags issue from categories-
Fields inherited from interface org.ametys.cms.tag.Tag
NAME_PATTERN
-
-
Constructor Summary
Constructors Constructor Description CategoryCMSTag(Category category, 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 categories- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CategoryCMSTag
public CategoryCMSTag(Category category, CMSTag parent, TagTargetType targetType)
Constructor- Parameters:
category
- the categoryparent
- the parent CMS tagtargetType
- the target type
-
-