info.magnolia.module.templatingkit.dam.handlers
Class DMSDAMHandler

java.lang.Object
  extended by info.magnolia.module.templatingkit.dam.handlers.AbstractHandler
      extended by info.magnolia.module.templatingkit.dam.handlers.AbstractInternalContentDAMHandler
          extended by info.magnolia.module.templatingkit.dam.handlers.DMSDAMHandler
All Implemented Interfaces:
DAMHandler

public class DMSDAMHandler
extends AbstractInternalContentDAMHandler

DMS DAM Handler.

Version:
$Id$
Author:
tmiyar

Nested Class Summary
 
Nested classes/interfaces inherited from class info.magnolia.module.templatingkit.dam.handlers.AbstractInternalContentDAMHandler
AbstractInternalContentDAMHandler.InternalAssetVariation
 
Field Summary
 
Fields inherited from class info.magnolia.module.templatingkit.dam.handlers.AbstractInternalContentDAMHandler
log
 
Constructor Summary
DMSDAMHandler(info.magnolia.templating.functions.TemplatingFunctions templatingFunctions)
           
 
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)
           
protected  String getKey(info.magnolia.cms.core.Content node, String nodeDataPrefix)
           
 
Methods inherited from class info.magnolia.module.templatingkit.dam.handlers.AbstractInternalContentDAMHandler
getVariation
 
Methods inherited from class info.magnolia.module.templatingkit.dam.handlers.AbstractHandler
getContent, getControls, getDamSelectorOptionLabel, getName, getNodeDataName, getNodeDataSuffix, isEnabled, setContent, setDamSelectorOptionLabel, setEnabled, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DMSDAMHandler

@Inject
public DMSDAMHandler(info.magnolia.templating.functions.TemplatingFunctions templatingFunctions)
Method Detail

getAsset

public Asset getAsset(info.magnolia.cms.core.Content node,
                      String nodeDataPrefix)
               throws DAMException
Description copied from interface: DAMHandler
The descriptor will contain the link for the asset and whatever parameters you need.

Throws:
DAMException

getAssetByKey

public Asset getAssetByKey(String key)
                    throws AssetNotFoundException,
                           DAMException
Throws:
AssetNotFoundException
DAMException

getKey

protected String getKey(info.magnolia.cms.core.Content node,
                        String nodeDataPrefix)
                 throws AssetNotFoundException,
                        DAMException
Throws:
AssetNotFoundException
DAMException


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