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)
|
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 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.