Package org.ametys.cms.contenttype
Class RichTextMetadataDefinition
java.lang.Object
org.ametys.runtime.parameter.Parameter<MetadataType>
org.ametys.cms.contenttype.MetadataDefinition
org.ametys.cms.contenttype.RichTextMetadataDefinition
- All Implemented Interfaces:
DefaultContentType.AnnotableDefinition
,MetadataDefinitionHolder
- Direct Known Subclasses:
DefaultContentType.RestrictedRichTextDefinition
@Deprecated
public class RichTextMetadataDefinition
extends MetadataDefinition
implements DefaultContentType.AnnotableDefinition
Deprecated.
RichText definition (with its list of allowed semAnnotations)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Get the allowed semAnnotations for this rich textvoid
setSemanticAnnotations
(List<SemanticAnnotation> semAnnotations) Deprecated.Set the allowed semAnnotations for this rich textMethods inherited from class org.ametys.cms.contenttype.MetadataDefinition
addMetadata, equals, getContentType, getCustomEnumerator, getCustomValidator, getEnumeratorConfiguration, getForceInvert, getInvertRelationPath, getMetadataComponentsName, getMetadataDefinition, getMetadataNames, getName, getReferenceContentType, getRichTextOutgoingReferencesExtractor, getRichTextTransformer, getValidatorConfiguration, hashCode, isMultiple, setContentType, setCustomEnumerator, setCustomValidator, setEnumeratorConfiguration, setForceInvert, setInvertRelationPath, setMultiple, setName, setReferenceContentType, setRichTextOutgoingReferencesExtractor, setRichTextTransformer, setValidatorConfiguration, toString
Methods inherited from class org.ametys.runtime.parameter.Parameter
getDefaultValue, getDescription, getEnumerator, getId, getLabel, getPluginName, getType, getValidator, getWidget, getWidgetParameters, setDefaultValue, setDescription, setEnumerator, setId, setLabel, setPluginName, setType, setValidator, setWidget, setWidgetParameters
-
Constructor Details
-
RichTextMetadataDefinition
public RichTextMetadataDefinition()Deprecated.
-
-
Method Details
-
getSemanticAnnotations
Deprecated.Get the allowed semAnnotations for this rich text- Specified by:
getSemanticAnnotations
in interfaceDefaultContentType.AnnotableDefinition
- Returns:
- the allowed semAnnotations for that rich text
-
setSemanticAnnotations
Deprecated.Set the allowed semAnnotations for this rich text- Specified by:
setSemanticAnnotations
in interfaceDefaultContentType.AnnotableDefinition
- Parameters:
semAnnotations
- the allowed semAnnotations for that rich text
-
RichTextAttributeDefinition
instead