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 StringName of the document property 'children'.static final StringName of the document property 'externalReference'.static final StringName of the ContentType'CMTaxonomy'.static final StringName of the document property 'value'.Fields inherited from interface com.coremedia.blueprint.common.contentbeans.CMHasContexts
CONTEXTSFields 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, VIEWTYPEFields inherited from interface com.coremedia.blueprint.common.contentbeans.CMLocalized
LOCALE, MASTER, MASTER_VERSIONFields 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_TITLEFields 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 ornullif this taxonomy has no parent taxonomy.List<? extends CMTaxonomy>Returns the list ofCMTaxonomyitems 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
assumeIdentityMethods inherited from interface com.coremedia.blueprint.common.contentbeans.BelowRootNavigation
getRootNavigationsMethods inherited from interface com.coremedia.blueprint.common.contentbeans.CMLinkable
getContexts, getExternallyDisplayedDate, getHtmlDescription, getHtmlTitle, getKeywords, getLinkedSettings, getLocalSettings, getLocationTaxonomy, getResourceBundles2, getSubjectTaxonomy, getTitle, getValidFrom, getValidTo, getViewtype, isOpenInNewTabMethods inherited from interface com.coremedia.blueprint.common.contentbeans.CMLocalized
getCountry, getLang, getLocale, getMasterVersionMethods inherited from interface com.coremedia.blueprint.common.contentbeans.CMObject
getAspectsProvider, getContentId, getUuidMethods 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, isNotSearchableMethods inherited from interface com.coremedia.objectserver.beans.ContentBean
getContent, getContentBeanFactoryMethods inherited from interface com.coremedia.blueprint.common.navigation.HasViewTypeName
getViewTypeNameMethods 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 ornullif this taxonomy has no parent taxonomy.- Returns:
- parent taxonomy or
nullfor 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 ofCMTaxonomyitems from the root taxonomy item to this item including this item.- Returns:
- a list of
CMTaxonomyitems
-