Interface MediaMetaDataProvider
- All Known Implementing Classes:
AbstractMediaMetaDataProvider,ImageMediaMetaDataProvider
public interface MediaMetaDataProvider
Pluggable strategy to extract metadata from a given
MediaModel.
All spring beans implementing this interface will be called to extract and store the metadata they are responsible for. These bean will be called either by a cron job, task, or action automatically.
-
Method Summary
Modifier and TypeMethodDescriptionvoidextractMetaData(MediaModel media) Extracts and stores metadata from the givenMediaModel.Accesses all groups of metadata provided by thisMediaMetaDataProvider.
-
Method Details
-
extractMetaData
Extracts and stores metadata from the givenMediaModel. TheMediaMetaDataModelcreated must have theirMediaMetaDataModel.MEDIAattribute set to the specifiedMediaModeland theMediaMetaDataModel.GROUPNAMEaccordingly.- Parameters:
media- theMediaModelto extract the metadata for.
-
getGroupNames
Accesses all groups of metadata provided by thisMediaMetaDataProvider.- Returns:
- all groups of metadata managed by this
MediaMetaDataProvider. - See Also:
-