public abstract class AbstractMediaMetaDataProvider extends Object implements MediaMetaDataProvider
MediaMetaDataProvider for common reuse.| Constructor and Description |
|---|
AbstractMediaMetaDataProvider() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBeanName() |
MediaService |
getMediaService() |
ModelService |
getModelService() |
protected void |
removeAll(MediaModel media)
Removes all
MediaMetaDataModels associated with the given MediaModel and managed by the this
Provider (this.getBeanName().equals(meta.getProvider())). |
protected File |
retrieveFile(MediaModel media)
Locates a local
File for the given MediaModel or throws a IOException if no such file is
accessible. |
void |
setBeanName(String name) |
void |
setMediaService(MediaService mediaService) |
void |
setModelService(ModelService modelService) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitextractMetaData, getGroupNamesprotected void removeAll(MediaModel media)
MediaMetaDataModels associated with the given MediaModel and managed by the this
Provider (this.getBeanName().equals(meta.getProvider())).media - the MediaModel to remove the metadata from.protected File retrieveFile(MediaModel media) throws IOException
File for the given MediaModel or throws a IOException if no such file is
accessible.media - the MediaModel in question.MediaModel.IOException - if no such file is accessible.public String getBeanName()
public void setBeanName(String name)
public ModelService getModelService()
public void setModelService(ModelService modelService)
public MediaService getMediaService()
public void setMediaService(MediaService mediaService)
Copyright © 2017 SAP SE. All Rights Reserved.