public abstract class AbstractMediaMetaDataProvider extends java.lang.Object implements MediaMetaDataProvider
MediaMetaDataProvider for common reuse.| Constructor and Description |
|---|
AbstractMediaMetaDataProvider() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.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 java.io.File |
retrieveFile(MediaModel media)
Locates a local
File for the given MediaModel or throws a IOException if no such file is
accessible. |
void |
setBeanName(java.lang.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 java.io.File retrieveFile(MediaModel media) throws java.io.IOException
File for the given MediaModel or throws a IOException if no such file is
accessible.media - the MediaModel in question.MediaModel.java.io.IOException - if no such file is accessible.public java.lang.String getBeanName()
public void setBeanName(java.lang.String name)
public ModelService getModelService()
public void setModelService(ModelService modelService)
public MediaService getMediaService()
public void setMediaService(MediaService mediaService)
Copyright © 2018 SAP SE. All Rights Reserved.