Package com.day.cq.tagging
Interface TagConstants
-
public interface TagConstants
Constants for tagging, mainly JCR nodetype and property names.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DEFAULT_NAMESPACE
Name of the special default tag namespace.static java.lang.String
DEFAULT_NAMESPACE_ID
TagId for 'default' NAMESPACE.static java.lang.String
LEGACY_TAG_ROOT_PATH
Legacy tag root path.static java.lang.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.static java.lang.String
NAMESPACE_DELIMITER
String representation of NAMESPACE_DELIMITER_CHR.static 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.static java.lang.String
NT_TAG
JCR node type that defines a tag.static java.lang.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.static java.lang.String
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.static java.lang.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).static java.lang.String
PN_TAGS
Name of the JCR multi-value string property on content resources that stores the associated tags.static java.lang.String
SEPARATOR
It used to represent hierarchy model of the tag framework.static java.lang.String
TAG_ROOT_PATH
Tag root path.static java.lang.String
TITLEPATH_DELIMITER
Another formated version of SEPARATOR.static java.lang.String
TITLEPATH_NS_DELIMITER
Another formated version of NAMESPACE_DELIMITER.
-
-
-
Field Detail
-
NT_TAG
static final java.lang.String NT_TAG
JCR node type that defines a tag.- See Also:
- Constant Field Values
-
NT_TAGGABLE
static final java.lang.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:
- Constant Field Values
-
PN_TAGS
static final java.lang.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:
- Constant Field Values
-
PN_MOVED_TO
static final java.lang.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:
- Constant Field Values
-
PN_BACKLINKS
static final java.lang.String 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:
- Constant Field Values
-
MARKED_AS_DELETED
static final java.lang.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:
- Constant Field Values
-
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:
- Constant Field Values
-
NAMESPACE_DELIMITER
static final java.lang.String NAMESPACE_DELIMITER
String representation of NAMESPACE_DELIMITER_CHR.
-
SEPARATOR
static final java.lang.String SEPARATOR
It used to represent hierarchy model of the tag framework.- See Also:
- Constant Field Values
-
TITLEPATH_NS_DELIMITER
static final java.lang.String TITLEPATH_NS_DELIMITER
Another formated version of NAMESPACE_DELIMITER.- See Also:
- Constant Field Values
-
TITLEPATH_DELIMITER
static final java.lang.String TITLEPATH_DELIMITER
Another formated version of SEPARATOR.- See Also:
- Constant Field Values
-
DEFAULT_NAMESPACE
static final java.lang.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:
- Constant Field Values
-
DEFAULT_NAMESPACE_ID
static final java.lang.String DEFAULT_NAMESPACE_ID
TagId for 'default' NAMESPACE.
-
LEGACY_TAG_ROOT_PATH
static final java.lang.String LEGACY_TAG_ROOT_PATH
Legacy tag root path.- See Also:
- Constant Field Values
-
TAG_ROOT_PATH
static final java.lang.String TAG_ROOT_PATH
Tag root path.- See Also:
- Constant Field Values
-
-