Interface TagConstants


public interface TagConstants
Constants for tagging, mainly JCR nodetype and property names.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Name of the special default tag namespace.
    static final String
    TagId for 'default' NAMESPACE.
    static final String
    Legacy tag root path.
    static final String
    A special value for the cq:movedTo property.It is applied when the tag is deleted but cannot be removed from the repository because there are subtags with a cq:movedTo that must be kept.
    static final String
    String representation of NAMESPACE_DELIMITER_CHR.
    static final char
    Tags are classified by namespace which is also a tag and define a set/class of a specific type of tags.
    static final String
    JCR node type that defines a tag.
    static final String
    JCR mixin type to use on content resources (such as pages or assets) that allows them to be associated with tags ("be tagged") by bringing in the cq:tags property (PN_TAGS), and allow to find content tagged with certain tags.
    static final String
    Name of a JCR multi-value string property on cq:Tag nodes that lists all previous tags that have been moved to or merged with this tag.
    static final String
    Name of a JCR string property on cq:Tag nodes that marks that a tag has been moved to or merged with a different tag (but the tag needs to be present to resolve stale tag id references).
    static final String
    Name of the JCR multi-value string property on content resources that stores the associated tags.
    static final String
    It used to represent hierarchy model of the tag framework.
    static final String
    Tag root path.
    static final String
    Another formated version of SEPARATOR.
    static final String
    Another formated version of NAMESPACE_DELIMITER.
  • Field Details

    • NT_TAG

      static final String NT_TAG
      JCR node type that defines a tag.
      See Also:
    • NT_TAGGABLE

      static final String NT_TAGGABLE
      JCR mixin type to use on content resources (such as pages or assets) that allows them to be associated with tags ("be tagged") by bringing in the cq:tags property (PN_TAGS), and allow to find content tagged with certain tags.
      See Also:
    • PN_TAGS

      static final String PN_TAGS
      Name of the JCR multi-value string property on content resources that stores the associated tags. The values are tag IDs pointing to the tags. This property is normally defined as part of the cq:Taggable mixin. To change the associated tags, do not modify this JCR property directly through the JCR API, but only through the TagManager API instead.
      See Also:
    • PN_MOVED_TO

      static final String PN_MOVED_TO
      Name of a JCR string property on cq:Tag nodes that marks that a tag has been moved to or merged with a different tag (but the tag needs to be present to resolve stale tag id references). The value is the tag id of the new tag. This property is entirely managed by the tagging module.
      See Also:
    • MARKED_AS_DELETED

      static final String MARKED_AS_DELETED
      A special value for the cq:movedTo property.It is applied when the tag is deleted but cannot be removed from the repository because there are subtags with a cq:movedTo that must be kept.
      See Also:
    • NAMESPACE_DELIMITER_CHR

      static final char NAMESPACE_DELIMITER_CHR
      Tags are classified by namespace which is also a tag and define a set/class of a specific type of tags. The colon separates the namespace from 'Local ID'.
      See Also:
    • NAMESPACE_DELIMITER

      static final String NAMESPACE_DELIMITER
      String representation of NAMESPACE_DELIMITER_CHR.
    • SEPARATOR

      static final String SEPARATOR
      It used to represent hierarchy model of the tag framework.
      See Also:
    • TITLEPATH_NS_DELIMITER

      static final String TITLEPATH_NS_DELIMITER
      Another formated version of NAMESPACE_DELIMITER.
      See Also:
    • TITLEPATH_DELIMITER

      static final String TITLEPATH_DELIMITER
      Another formated version of SEPARATOR.
      See Also:
    • DEFAULT_NAMESPACE

      static final String DEFAULT_NAMESPACE
      Name of the special default tag namespace. This is used if a full tag id does not include a namespace. Not related to JCR namespaces.
      See Also:
    • DEFAULT_NAMESPACE_ID

      static final String DEFAULT_NAMESPACE_ID
      TagId for 'default' NAMESPACE.
    • LEGACY_TAG_ROOT_PATH

      static final String LEGACY_TAG_ROOT_PATH
      Legacy tag root path.
      See Also:
    • TAG_ROOT_PATH

      static final String TAG_ROOT_PATH
      Tag root path.
      See Also: