Package org.ametys.cms.contenttype
Class RepeaterDefinition
- java.lang.Object
-
- org.ametys.runtime.parameter.Parameter<MetadataType>
-
- org.ametys.cms.contenttype.MetadataDefinition
-
- org.ametys.cms.contenttype.RepeaterDefinition
-
- All Implemented Interfaces:
MetadataDefinitionHolder
- Direct Known Subclasses:
DefaultContentType.RestrictedRepeaterDefinition
@Deprecated public class RepeaterDefinition extends MetadataDefinition
Deprecated.UseContentRestrictedRepeaterDefinition
insteadRepeater definition.
-
-
Field Summary
Fields Modifier and Type Field Description private I18nizableText
_addLabel
Deprecated.private I18nizableText
_delLabel
Deprecated.private String
_headerLabel
Deprecated.private int
_initializeSize
Deprecated.private int
_maxSize
Deprecated.private int
_minSize
Deprecated.
-
Constructor Summary
Constructors Constructor Description RepeaterDefinition()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description I18nizableText
getAddLabel()
Deprecated.Retrieves the add label.I18nizableText
getDeleteLabel()
Deprecated.Retrieves the delete label.String
getHeaderLabel()
Deprecated.Get the header label.int
getInitialSize()
Deprecated.Retrieves the initial size.int
getMaxSize()
Deprecated.Retrieves the maximum size.int
getMinSize()
Deprecated.Retrieves the minimum size.void
setAddLabel(I18nizableText label)
Deprecated.Set the add label.void
setDeleteLabel(I18nizableText label)
Deprecated.Set the delete label.void
setHeaderLabel(String label)
Deprecated.Set the header label.void
setInitialSize(int size)
Deprecated.Set the initial size.void
setMaxSize(int size)
Deprecated.Set the maximum size.void
setMinSize(int size)
Deprecated.Set the minimum size.String
toString()
Deprecated.-
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
-
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
-
_initializeSize
private int _initializeSize
Deprecated.
-
_minSize
private int _minSize
Deprecated.
-
_maxSize
private int _maxSize
Deprecated.
-
_addLabel
private I18nizableText _addLabel
Deprecated.
-
_delLabel
private I18nizableText _delLabel
Deprecated.
-
_headerLabel
private String _headerLabel
Deprecated.
-
-
Constructor Detail
-
RepeaterDefinition
public RepeaterDefinition()
Deprecated.
-
-
Method Detail
-
getInitialSize
public int getInitialSize()
Deprecated.Retrieves the initial size.- Returns:
- the initial size.
-
setInitialSize
public void setInitialSize(int size)
Deprecated.Set the initial size.- Parameters:
size
- the initial size.
-
getMinSize
public int getMinSize()
Deprecated.Retrieves the minimum size.- Returns:
- the minimum size.
-
setMinSize
public void setMinSize(int size)
Deprecated.Set the minimum size.- Parameters:
size
- the minimum size.
-
getMaxSize
public int getMaxSize()
Deprecated.Retrieves the maximum size.- Returns:
- the maximum size or
-1
if unbounded.
-
setMaxSize
public void setMaxSize(int size)
Deprecated.Set the maximum size.- Parameters:
size
- the maximum size or-1
if unbounded.
-
getAddLabel
public I18nizableText getAddLabel()
Deprecated.Retrieves the add label.- Returns:
- the add label or
null
if none.
-
setAddLabel
public void setAddLabel(I18nizableText label)
Deprecated.Set the add label.- Parameters:
label
- the add label ornull
if none.
-
getDeleteLabel
public I18nizableText getDeleteLabel()
Deprecated.Retrieves the delete label.- Returns:
- the delete label or
null
if none.
-
setDeleteLabel
public void setDeleteLabel(I18nizableText label)
Deprecated.Set the delete label.- Parameters:
label
- the delete label ornull
if none.
-
getHeaderLabel
public String getHeaderLabel()
Deprecated.Get the header label.- Returns:
- the header label or
null
if none.
-
setHeaderLabel
public void setHeaderLabel(String label)
Deprecated.Set the header label.- Parameters:
label
- the header label ornull
if none.
-
toString
public String toString()
Deprecated.- Overrides:
toString
in classMetadataDefinition
-
-