info.magnolia.module.templatingkit.dam.handlers
Class DMSDAMHandler
java.lang.Object
info.magnolia.module.templatingkit.dam.handlers.AbstractHandler
info.magnolia.module.templatingkit.dam.handlers.AbstractInternalContentDAMHandler
info.magnolia.module.templatingkit.dam.handlers.DMSDAMHandler
- All Implemented Interfaces:
- DAMHandler
public class DMSDAMHandler
- extends AbstractInternalContentDAMHandler
DMS DAM Handler.
- Version:
- $Id$
- Author:
- tmiyar
Constructor Summary |
DMSDAMHandler(info.magnolia.templating.functions.TemplatingFunctions templatingFunctions)
|
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)
|
protected String |
getKey(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 |
DMSDAMHandler
@Inject
public DMSDAMHandler(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)
throws info.magnolia.dam.asset.AssetNotFoundException,
info.magnolia.dam.asset.DamException
- Throws:
info.magnolia.dam.asset.AssetNotFoundException
info.magnolia.dam.asset.DamException
getKey
protected String getKey(info.magnolia.cms.core.Content node,
String nodeDataPrefix)
throws info.magnolia.dam.asset.AssetNotFoundException,
info.magnolia.dam.asset.DamException
- Throws:
info.magnolia.dam.asset.AssetNotFoundException
info.magnolia.dam.asset.DamException
Copyright © 2008-2012 Magnolia International Ltd.. All Rights Reserved.