Interface CompositeMetadata

All Known Subinterfaces:
CommentableCompositeMetadata, ModifiableCompositeMetadata
All Known Implementing Classes:
JCRCompositeMetadata

Deprecated.
Use RepositoryData instead
Metadata container for an AmetysObject.
Note that this can be recursive so that a CompositeMetadata can handle other CompositeMetadata.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
    Deprecated.
    Enumeration for metadata types.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated.
    Copy the current CompositeMetadata to the given composite metadata.
    getBinaryMetadata(String metadataName)
    Deprecated.
    Returns the named metadata's value as BinaryMetadata.
    If the metadata does not exist, an UnknownMetadataException is thrown.
    boolean
    getBoolean(String metadataName)
    Deprecated.
    Returns the named metadata's value as boolean.
    If the metadata is multi-valued, one of the value is returned.
    If the metadata does not exist, an UnknownMetadataException is thrown.
    boolean
    getBoolean(String metadataName, boolean defaultValue)
    Deprecated.
    Returns the named metadata's value as boolean.
    If the metadata is multi-valued, one of the value is returned.
    If the metadata does not exist, the default value is returned.
    boolean[]
    getBooleanArray(String metadataName)
    Deprecated.
    Returns the named metadata's value as boolean array.
    boolean[]
    getBooleanArray(String metadataName, boolean[] defaultValues)
    Deprecated.
    Returns the named metadata's value as boolean array.
    If the metadata does not exist, the default values are returned.
    Deprecated.
    Returns the named metadata's value as CompositeMetadata.
    If the metadata is multi-valued, one of the value is returned.
    If the metadata does not exist an UnknownMetadataException is thrown.
    getDate(String metadataName)
    Deprecated.
    Returns the named metadata's value as Date.
    If the metadata is multi-valued, one of the value is returned.
    If the metadata does not exist, an UnknownMetadataException is thrown.
    getDate(String metadataName, Date defaultValue)
    Deprecated.
    Returns the named metadata's value as Date.
    If the metadata is multi-valued, one of the value is returned.
    If the metadata does not exist, the default value is returned.
    getDateArray(String metadataName)
    Deprecated.
    Returns the named metadata's value as Date array.
    getDateArray(String metadataName, Date[] defaultValues)
    Deprecated.
    Returns the named metadata's value as Date array.
    If the metadata does not exist, the default values are returned.
    double
    getDouble(String metadataName)
    Deprecated.
    Returns the named metadata's value as double.
    If the metadata is multi-valued, one of the value is returned.
    If the metadata does not exist, an UnknownMetadataException is thrown.
    double
    getDouble(String metadataName, double defaultValue)
    Deprecated.
    Returns the named metadata's value as double.
    If the metadata is multi-valued, one of the value is returned.
    If the metadata does not exist, the default value is returned.
    double[]
    getDoubleArray(String metadataName)
    Deprecated.
    Returns the named metadata's value as double array.
    double[]
    getDoubleArray(String metadataName, double[] defaultValues)
    Deprecated.
    Returns the named metadata's value as double array.
    If the metadata does not exist, the default values are returned.
    getLocalizedString(String metadataName, Locale locale)
    Deprecated.
    Returns the named metadata's value of a multilingual metadata as String.
    getLocalizedString(String metadataName, Locale locale, String defaultValue)
    Deprecated.
    Returns the named metadata's value of a multilingual metadata as String.
    If the metadata does not exist, the default value is returned.
    long
    getLong(String metadataName)
    Deprecated.
    Returns the named metadata's value as long.
    If the metadata is multi-valued, one of the value is returned.
    If the metadata does not exist, an UnknownMetadataException is thrown.
    long
    getLong(String metadataName, long defaultValue)
    Deprecated.
    Returns the named metadata's value as long.
    If the metadata is multi-valued, one of the value is returned.
    If the metadata does not exist, the default value is returned.
    long[]
    getLongArray(String metadataName)
    Deprecated.
    Returns the named metadata's value as long array.
    long[]
    getLongArray(String metadataName, long[] defaultValues)
    Deprecated.
    Returns the named metadata's value as long array.
    If the metadata does not exist, the default values are returned.
    Deprecated.
    Returns an array containing metadata names.
    Deprecated.
    Returns the named metadata's values of a multilingual metadata.
    Deprecated.
    Returns an object collection metadata as a TraversableAmetysObject
    .
    getRichText(String metadataName)
    Deprecated.
    Returns the named metadata's value as RichText.
    If the metadata does not exist, an UnknownMetadataException is thrown.
    getString(String metadataName)
    Deprecated.
    Returns the named metadata's value as String.
    If the metadata is multi-valued, one of the value is returned.
    If the metadata does not exist, an UnknownMetadataException is thrown.
    getString(String metadataName, String defaultValue)
    Deprecated.
    Returns the named metadata's value as String.
    If the metadata is multi-valued, one of the value is returned.
    If the metadata does not exist, the default value is returned.
    getStringArray(String metadataName)
    Deprecated.
    Returns the named metadata's value as String array.
    getStringArray(String metadataName, String[] defaultValues)
    Deprecated.
    Returns the named metadata's value as String array.
    If the metadata does not exist, the default values are returned.
    getType(String metadataName)
    Deprecated.
    Returns the type of the given metadata.
    getUser(String metadataName)
    Deprecated.
    Returns the named metadata's value as UserIdentity.
    If the metadata does not exist, an UnknownMetadataException is thrown.
    getUser(String metadataName, UserIdentity defaultValue)
    Deprecated.
    Returns the named metadata's value as UserIdentity.
    If the metadata does not exist, the default value is returned.
    getUserArray(String metadataName)
    Deprecated.
    Returns the named metadata's value as UserIdentity array.
    getUserArray(String metadataName, UserIdentity[] defaultValues)
    Deprecated.
    Returns the named metadata's value as UserIdentity array.
    If the metadata does not exist, the default values are returned.
    boolean
    hasMetadata(String metadataName)
    Deprecated.
    Tests if a metadata with a given name exists.
    boolean
    isMultiple(String metadataName)
    Deprecated.
    Test if the given metadata is multiple.