Package com.day.cq.tagging
Interface TagConstants
public interface TagConstants
Constants for tagging, mainly JCR nodetype and property names.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringName of the special default tag namespace.static final StringTagId for 'default' NAMESPACE.static final StringLegacy tag root path.static final StringA 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 StringString representation of NAMESPACE_DELIMITER_CHR.static final charTags are classified by namespace which is also a tag and define a set/class of a specific type of tags.static final StringJCR node type that defines a tag.static final StringJCR 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 StringName 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 StringName 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 StringName of the JCR multi-value string property on content resources that stores the associated tags.static final StringIt used to represent hierarchy model of the tag framework.static final StringTag root path.static final StringAnother formated version of SEPARATOR.static final StringAnother formated version of NAMESPACE_DELIMITER.
-
Field Details
-
NT_TAG
JCR node type that defines a tag.- See Also:
-
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
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
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:
-
PN_BACKLINKS
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. It is the opposite of the cq:backlinks property. This property is entirely managed by the tagging module- See Also:
-
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_CHRTags 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
String representation of NAMESPACE_DELIMITER_CHR. -
SEPARATOR
It used to represent hierarchy model of the tag framework.- See Also:
-
TITLEPATH_NS_DELIMITER
Another formated version of NAMESPACE_DELIMITER.- See Also:
-
TITLEPATH_DELIMITER
Another formated version of SEPARATOR.- See Also:
-
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
TagId for 'default' NAMESPACE. -
LEGACY_TAG_ROOT_PATH
Legacy tag root path.- See Also:
-
TAG_ROOT_PATH
Tag root path.- See Also:
-