Package org.ametys.cms.contenttype
Class MetadataSet
java.lang.Object
org.ametys.cms.contenttype.AbstractMetadataSetElement
org.ametys.cms.contenttype.MetadataSet
Deprecated.
Set of metadata.
Can be recursive if there is any composite metadata.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Retrieves the description.Deprecated.Retrieves the CSS class to use for decorator above the main iconDeprecated.Retrieves the CSS class to use for glyph icongetLabel()
Deprecated.Retrieves the label.Deprecated.Retrieves the URL of the small icon without the context path.Deprecated.Retrieves the URL of the small icon without the context path.getName()
Deprecated.Retrieves the name.Deprecated.Retrieves the URL of the small icon without the context path.boolean
Deprecated.Tests if this is an edition metadata set.boolean
Deprecated.Returns true if this metadataSet is for internal use only.void
setDescription
(I18nizableText description) Deprecated.Set the description.void
setEdition
(boolean edition) Deprecated.Set the edition metadata set status.void
setIconDecorator
(String iconDecorator) Deprecated.Set the CSS class to use for decorator above the main iconvoid
setIconGlyph
(String iconGlyph) Deprecated.Set the CSS class to use for glyph iconvoid
setInternal
(boolean isInternal) Deprecated.Set the internal status.void
setLabel
(I18nizableText label) Deprecated.Set the label.void
setLargeIcon
(String largeIcon) Deprecated.Set the URL of the large icon.void
setMediumIcon
(String mediumIcon) Deprecated.Set the URL of the medium icon.void
Deprecated.Set the name.void
setSmallIcon
(String smallIcon) Deprecated.Set the URL of the small icon.toString()
Deprecated.Methods inherited from class org.ametys.cms.contenttype.AbstractMetadataSetElement
addElement, getElements, getMetadataDefinitionReference, hasMetadataDefinitionReference, setElements
-
Constructor Details
-
MetadataSet
public MetadataSet()Deprecated.
-
-
Method Details
-
getName
Deprecated.Retrieves the name.- Returns:
- the name.
-
setName
Deprecated.Set the name.- Parameters:
name
- the name.
-
getLabel
Deprecated.Retrieves the label.- Returns:
- the label.
-
setLabel
Deprecated.Set the label.- Parameters:
label
- the label.
-
getDescription
Deprecated.Retrieves the description.- Returns:
- the description.
-
setDescription
Deprecated.Set the description.- Parameters:
description
- the description.
-
getIconGlyph
Deprecated.Retrieves the CSS class to use for glyph icon- Returns:
- the glyph name.
-
setIconGlyph
Deprecated.Set the CSS class to use for glyph icon- Parameters:
iconGlyph
- the glyph name.
-
getIconDecorator
Deprecated.Retrieves the CSS class to use for decorator above the main icon- Returns:
- the glyph name.
-
setIconDecorator
Deprecated.Set the CSS class to use for decorator above the main icon- Parameters:
iconDecorator
- the glyph name.
-
getSmallIcon
Deprecated.Retrieves the URL of the small icon without the context path.- Returns:
- the icon URL for the small image 16x16.
-
setSmallIcon
Deprecated.Set the URL of the small icon.- Parameters:
smallIcon
- the URL of the small icon, without the context path.
-
getMediumIcon
Deprecated.Retrieves the URL of the small icon without the context path.- Returns:
- the icon URL for the medium sized image 32x32.
-
setMediumIcon
Deprecated.Set the URL of the medium icon.- Parameters:
mediumIcon
- the URL of the medium icon, without the context path.
-
getLargeIcon
Deprecated.Retrieves the URL of the small icon without the context path.- Returns:
- the icon URL for the large image 48x48.
-
setLargeIcon
Deprecated.Set the URL of the large icon.- Parameters:
largeIcon
- the URL of the large icon, without the context path.
-
isEdition
Deprecated.Tests if this is an edition metadata set.- Returns:
true
if this is an edition metadata set,false
otherwise.
-
setEdition
Deprecated.Set the edition metadata set status.- Parameters:
edition
-true
if this is an edition metadata set,false
otherwise.
-
isInternal
Deprecated.Returns true if this metadataSet is for internal use only.- Returns:
- true if this metadataSet is for internal use only.
-
setInternal
Deprecated.Set the internal status.- Parameters:
isInternal
- true if this metadataSet is for internal use only, false otherwise.
-
toString
Deprecated.
-
View
instead