info.magnolia.module.templatingkit.dam.assets
Class AssetWithOverridingMetaData

java.lang.Object
  extended by info.magnolia.module.templatingkit.dam.assets.AssetWrapper
      extended by info.magnolia.module.templatingkit.dam.assets.AssetWithOverridingMetaData
All Implemented Interfaces:
info.magnolia.dam.asset.Asset

public class AssetWithOverridingMetaData
extends AssetWrapper

An asset reading meta data information like caption, description, .. from an other asset first.

Version:
$Id$
Author:
pbracher

Field Summary
 
Fields inherited from class info.magnolia.module.templatingkit.dam.assets.AssetWrapper
asset
 
Constructor Summary
AssetWithOverridingMetaData(info.magnolia.dam.asset.Asset descriptor, info.magnolia.dam.asset.Asset metaData)
           
 
Method Summary
 String getCaption()
           
 String getCopyright()
           
 String getDescription()
           
protected  info.magnolia.dam.asset.Asset wrapVariation(info.magnolia.dam.asset.Asset assetVariaton)
           
 
Methods inherited from class info.magnolia.module.templatingkit.dam.assets.AssetWrapper
getHeight, getLink, getMimeType, getName, getTitle, getVariation, getWidth
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssetWithOverridingMetaData

public AssetWithOverridingMetaData(info.magnolia.dam.asset.Asset descriptor,
                                   info.magnolia.dam.asset.Asset metaData)
Method Detail

getCaption

public String getCaption()
Specified by:
getCaption in interface info.magnolia.dam.asset.Asset
Overrides:
getCaption in class AssetWrapper

getCopyright

public String getCopyright()
Specified by:
getCopyright in interface info.magnolia.dam.asset.Asset
Overrides:
getCopyright in class AssetWrapper

getDescription

public String getDescription()
Specified by:
getDescription in interface info.magnolia.dam.asset.Asset
Overrides:
getDescription in class AssetWrapper

wrapVariation

protected info.magnolia.dam.asset.Asset wrapVariation(info.magnolia.dam.asset.Asset assetVariaton)
Specified by:
wrapVariation in class AssetWrapper


Copyright © 2008-2012 Magnolia International Ltd.. All Rights Reserved.