info.magnolia.module.templatingkit.dam
Interface DAMHandler

All Known Implementing Classes:
AbstractHandler, AbstractInternalContentDAMHandler, DMSDAMHandler, InternalContentDAMHandler

public interface DAMHandler

DAM handler definition.

Version:
$Id$
Author:
tmiyar

Method Summary
 info.magnolia.dam.asset.Asset getAsset(info.magnolia.cms.core.Content node, String nodeDataPrefix)
          The descriptor will contain the link for the asset and whatever parameters you need.
 info.magnolia.dam.asset.Asset getAssetByKey(String key)
           
 Collection getControls()
          controls corresponding to each asset.
 String getDamSelectorOptionLabel()
          Label defined for the container control (type dam).
 String getName()
           
 boolean isEnabled()
           
 

Method Detail

getAsset

info.magnolia.dam.asset.Asset getAsset(info.magnolia.cms.core.Content node,
                                       String nodeDataPrefix)
                                       throws info.magnolia.dam.asset.AssetNotFoundException,
                                              info.magnolia.dam.asset.DamException
The descriptor will contain the link for the asset and whatever parameters you need.

Throws:
info.magnolia.dam.asset.AssetNotFoundException
info.magnolia.dam.asset.DamException

getAssetByKey

info.magnolia.dam.asset.Asset getAssetByKey(String key)
                                            throws info.magnolia.dam.asset.AssetNotFoundException,
                                                   info.magnolia.dam.asset.DamException
Throws:
info.magnolia.dam.asset.AssetNotFoundException
info.magnolia.dam.asset.DamException

isEnabled

boolean isEnabled()

getControls

Collection getControls()
controls corresponding to each asset.


getDamSelectorOptionLabel

String getDamSelectorOptionLabel()
Label defined for the container control (type dam).


getName

String getName()


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