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
 Asset getAsset(info.magnolia.cms.core.Content node, String nodeDataPrefix)
          The descriptor will contain the link for the asset and whatever parameters you need.
 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

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

Throws:
AssetNotFoundException
DAMException

getAssetByKey

Asset getAssetByKey(String key)
                    throws AssetNotFoundException,
                           DAMException
Throws:
AssetNotFoundException
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.