info.magnolia.module.templatingkit.dam.handlers
Class AbstractInternalContentDAMHandler.InternalAssetVariation

java.lang.Object
  extended by info.magnolia.module.templatingkit.dam.assets.AssetWrapper
      extended by info.magnolia.module.templatingkit.dam.handlers.AbstractInternalContentDAMHandler.InternalAssetVariation
All Implemented Interfaces:
Asset
Enclosing class:
AbstractInternalContentDAMHandler

protected static class AbstractInternalContentDAMHandler.InternalAssetVariation
extends AssetWrapper

Using ImagingSupport to create the link to this variation of the Asset.


Field Summary
 
Fields inherited from class info.magnolia.module.templatingkit.dam.assets.AssetWrapper
asset
 
Constructor Summary
protected AbstractInternalContentDAMHandler.InternalAssetVariation(InternalAsset original, String variationName, Site site, STKTemplatingFunctions stkFunctions)
           
 
Method Summary
 String getLink()
           
protected  Asset wrapVariation(Asset assetVariaton)
           
 
Methods inherited from class info.magnolia.module.templatingkit.dam.assets.AssetWrapper
getCaption, getCopyright, getDescription, getHeight, 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

AbstractInternalContentDAMHandler.InternalAssetVariation

@Inject
protected AbstractInternalContentDAMHandler.InternalAssetVariation(InternalAsset original,
                                                                          String variationName,
                                                                          Site site,
                                                                          STKTemplatingFunctions stkFunctions)
                                                            throws NoSuchVariationException,
                                                                   DAMException
Throws:
NoSuchVariationException
DAMException
Method Detail

getLink

public String getLink()
Specified by:
getLink in interface Asset
Overrides:
getLink in class AssetWrapper

wrapVariation

protected Asset wrapVariation(Asset assetVariaton)
Specified by:
wrapVariation in class AssetWrapper


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