Class ProjectCMSTag

java.lang.Object
org.ametys.cms.tag.CMSTag
org.ametys.plugins.workspaces.tags.ProjectCMSTag
All Implemented Interfaces:
Tag

public class ProjectCMSTag extends CMSTag
This class represent a project tag (used in modules) as a CMS Tag
  • Field Details

  • Constructor Details

    • ProjectCMSTag

      public ProjectCMSTag(DefaultTag projectTag, CMSTag parent, TagTargetType targetType)
      Constructor
      Parameters:
      projectTag - the project tag
      parent - the parent CMS tag
      targetType - the target type
  • Method Details

    • getTag

      public CMSTag getTag(String tagId)
      Description copied from interface: Tag
      Try to get a child tag by its id
      Specified by:
      getTag in interface Tag
      Overrides:
      getTag in class CMSTag
      Parameters:
      tagId - The id of the child tag
      Returns:
      The child tag or null if not existing
    • getTags

      public Map<String,CMSTag> getTags()
      Description copied from interface: Tag
      Retrieves the Set of child tags
      Specified by:
      getTags in interface Tag
      Overrides:
      getTags in class CMSTag
      Returns:
      The child tags in a Map