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.UseRichTextAttributeDefinition
insteadRichText definition (with its list of allowed semAnnotations)
-
-
Field Summary
Fields Modifier and Type Field Description private List<SemanticAnnotation>
_semAnnotations
Deprecated.
-
Constructor Summary
Constructors Constructor Description RichTextMetadataDefinition()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description List<SemanticAnnotation>
getSemanticAnnotations()
Deprecated.Get the allowed semAnnotations for this rich textvoid
setSemanticAnnotations(List<SemanticAnnotation> semAnnotations)
Deprecated.Set the allowed semAnnotations for this rich text-
Methods 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
-
-
-
-
Field Detail
-
_semAnnotations
private List<SemanticAnnotation> _semAnnotations
Deprecated.
-
-
Constructor Detail
-
RichTextMetadataDefinition
public RichTextMetadataDefinition()
Deprecated.
-
-
Method Detail
-
getSemanticAnnotations
public List<SemanticAnnotation> 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
public void setSemanticAnnotations(List<SemanticAnnotation> semAnnotations)
Deprecated.Set the allowed semAnnotations for this rich text- Specified by:
setSemanticAnnotations
in interfaceDefaultContentType.AnnotableDefinition
- Parameters:
semAnnotations
- the allowed semAnnotations for that rich text
-
-