info.magnolia.module.templatingkit.dam.handlers
Class InternalContentDAMHandler
java.lang.Object
info.magnolia.module.templatingkit.dam.handlers.AbstractHandler
info.magnolia.module.templatingkit.dam.handlers.AbstractInternalContentDAMHandler
info.magnolia.module.templatingkit.dam.handlers.InternalContentDAMHandler
- All Implemented Interfaces:
- DAMHandler
public class InternalContentDAMHandler
- extends AbstractInternalContentDAMHandler
Internal Content DAM Handler.
- 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)
|
info.magnolia.cms.core.NodeData |
getBinaryNodeData(info.magnolia.cms.core.Content node,
String nodeDataPrefix)
|
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 |
InternalContentDAMHandler
@Inject
public InternalContentDAMHandler(info.magnolia.templating.functions.TemplatingFunctions templatingFunctions)
getAsset
public info.magnolia.dam.asset.Asset getAsset(info.magnolia.cms.core.Content node,
String nodeDataPrefix)
throws info.magnolia.dam.asset.DamException
- Description copied from interface:
DAMHandler
- The descriptor will contain the link for the asset and whatever parameters you need.
- Throws:
info.magnolia.dam.asset.DamException
getAssetByKey
public info.magnolia.dam.asset.Asset getAssetByKey(String key)
getBinaryNodeData
public info.magnolia.cms.core.NodeData getBinaryNodeData(info.magnolia.cms.core.Content node,
String nodeDataPrefix)
throws info.magnolia.dam.asset.AssetNotFoundException
- Throws:
info.magnolia.dam.asset.AssetNotFoundException
Copyright © 2008-2012 Magnolia International Ltd.. All Rights Reserved.