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

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.InternalContentDAMHandler
All Implemented Interfaces:
DAMHandler

public class InternalContentDAMHandler
extends AbstractInternalContentDAMHandler

Internal Content 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
InternalContentDAMHandler(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)
           
 info.magnolia.cms.core.NodeData getBinaryNodeData(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

InternalContentDAMHandler

@Inject
public InternalContentDAMHandler(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)

getBinaryNodeData

public info.magnolia.cms.core.NodeData getBinaryNodeData(info.magnolia.cms.core.Content node,
                                                         String nodeDataPrefix)
                                                  throws AssetNotFoundException
Throws:
AssetNotFoundException


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