Interface CMTaxonomy
- All Superinterfaces:
com.coremedia.objectserver.dataviews.AssumesIdentity
,BelowRootNavigation
,CMHasContexts
,CMLinkable
,CMLocalized
,CMObject
,CMTeasable
,com.coremedia.objectserver.beans.ContentBean
,HasViewTypeName
,Linkable
,com.coremedia.blueprint.common.datevalidation.ValidityPeriod
- All Known Subinterfaces:
CMLocTaxonomy
CMTaxonomy beans allow for a categorization of contents.
Represents document type CMTaxonomy
.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Name of the document property 'children'.static final String
Name of the document property 'externalReference'.static final String
Name of the ContentType
'CMTaxonomy'.static final String
Name of the document property 'value'.Fields inherited from interface com.coremedia.blueprint.common.contentbeans.CMHasContexts
CONTEXTS
Fields inherited from interface com.coremedia.blueprint.common.contentbeans.CMLinkable
EXTERNALLY_DISPLAYED_DATE, HTML_DESCRIPTION, HTML_TITLE, KEYWORDS, LINKED_SETTINGS, LOCAL_SETTINGS, LOCATION_TAXONOMY, RESOURCE_BUNDLES2, SEGMENT, SUBJECT_TAXONOMY, TITLE, VALID_FROM, VALID_TO, VIEWTYPE
Fields inherited from interface com.coremedia.blueprint.common.contentbeans.CMLocalized
LOCALE, MASTER, MASTER_VERSION
Fields inherited from interface com.coremedia.blueprint.common.contentbeans.CMTeasable
AUTHORS, DETAIL_TEXT, NOT_SEARCHABLE, PICTURES, RELATED, TEASER_OVERLAY_SETTINGS_STRUCT_NAME, TEASER_OVERLAY_SETTINGS_STYLE_SUB_STRUCT_NAME, TEASER_SETTINGS_STRUCT_NAME, TEASER_TEXT, TEASER_TITLE
Fields inherited from interface com.coremedia.objectserver.beans.ContentBean
METADATA_PROPERTIES_PREFIX
-
Method Summary
Modifier and TypeMethodDescriptionList<? extends CMTaxonomy>
Returns the value of the document propertyCHILDREN
.Returns the value of the document propertyEXTERNAL_REFERENCE
.Returns the parent taxonomy ornull
if this taxonomy has no parent taxonomy.List<? extends CMTaxonomy>
Returns the list ofCMTaxonomy
items from the root taxonomy item to this item including this item.getValue()
Returns the value of the document propertyVALUE
.Methods inherited from interface com.coremedia.objectserver.dataviews.AssumesIdentity
assumeIdentity
Methods inherited from interface com.coremedia.blueprint.common.contentbeans.BelowRootNavigation
getRootNavigations
Methods inherited from interface com.coremedia.blueprint.common.contentbeans.CMLinkable
getContexts, getExternallyDisplayedDate, getHtmlDescription, getHtmlTitle, getKeywords, getLinkedSettings, getLocalSettings, getLocationTaxonomy, getResourceBundles2, getSubjectTaxonomy, getTitle, getValidFrom, getValidTo, getViewtype, isOpenInNewTab
Methods inherited from interface com.coremedia.blueprint.common.contentbeans.CMLocalized
getCountry, getLang, getLocale, getMasterVersion
Methods inherited from interface com.coremedia.blueprint.common.contentbeans.CMObject
getAspectsProvider, getContentId, getUuid
Methods inherited from interface com.coremedia.blueprint.common.contentbeans.CMTeasable
fetchMediaWithRecursionDetection, getAspectByName, getAspects, getAuthors, getCallToActionSettings, getDetailText, getFirstMedia, getLocalizations, getMaster, getMedia, getPicture, getPictures, getRelated, getRelatedAll, getRelatedAllByType, getRelatedByReferrers, getRelatedBySimilarTaxonomies, getRelatedImplicitly, getRelatedImplicitlyByType, getTarget, getTeaserOverlaySettings, getTeaserOverlayStyle, getTeaserSettings, getTeaserText, getTeaserTitle, getTextAsParagraphs, getVariantsByLocale, isNotSearchable
Methods inherited from interface com.coremedia.objectserver.beans.ContentBean
getContent, getContentBeanFactory
Methods inherited from interface com.coremedia.blueprint.common.navigation.HasViewTypeName
getViewTypeName
Methods inherited from interface com.coremedia.blueprint.common.navigation.Linkable
getLocale, getSegment
-
Field Details
-
NAME
Name of the ContentType
'CMTaxonomy'.- See Also:
-
VALUE
Name of the document property 'value'.- See Also:
-
CHILDREN
Name of the document property 'children'.- See Also:
-
EXTERNAL_REFERENCE
Name of the document property 'externalReference'.- See Also:
-
-
Method Details
-
getValue
String getValue()Returns the value of the document propertyVALUE
.- Returns:
- the value of the document property
VALUE
-
getParent
CMTaxonomy getParent()Returns the parent taxonomy ornull
if this taxonomy has no parent taxonomy.- Returns:
- parent taxonomy or
null
for the root taxonomy node.
-
getChildren
List<? extends CMTaxonomy> getChildren()Returns the value of the document propertyCHILDREN
.- Returns:
- the value of the document property
CHILDREN
-
getExternalReference
String getExternalReference()Returns the value of the document propertyEXTERNAL_REFERENCE
.- Returns:
- the value of the document property
EXTERNAL_REFERENCE
-
getTaxonomyPathList
List<? extends CMTaxonomy> getTaxonomyPathList()Returns the list ofCMTaxonomy
items from the root taxonomy item to this item including this item.- Returns:
- a list of
CMTaxonomy
items
-