info.magnolia.module.templatingkit.dam
Class DAMUtil

java.lang.Object
  extended by info.magnolia.module.templatingkit.dam.DAMUtil

Deprecated. since 2.0 - use IoC to retrieve STKModule and get DAMSupport from there.

@Deprecated
public class DAMUtil
extends Object

DAM utility class. Use to extract Asset or DAMSupport form the content node.

Version:
$Id$

Constructor Summary
DAMUtil()
          Deprecated.  
 
Method Summary
static info.magnolia.dam.asset.Asset getAsset(info.magnolia.cms.core.Content content, String nodeDataName)
          Deprecated. since 2.0 - use STKModule.getDamSupport() and call DAMSupport.getAsset(Content, String) on it.
static DAMSupport getDAMSupport(info.magnolia.cms.core.Content content)
          Deprecated. since 2.0 - use STKModule.getDamSupport() instead.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DAMUtil

public DAMUtil()
Deprecated. 
Method Detail

getAsset

@Deprecated
public static info.magnolia.dam.asset.Asset getAsset(info.magnolia.cms.core.Content content,
                                                                String nodeDataName)
                                              throws info.magnolia.dam.asset.DamException
Deprecated. since 2.0 - use STKModule.getDamSupport() and call DAMSupport.getAsset(Content, String) on it.

Throws:
info.magnolia.dam.asset.DamException

getDAMSupport

@Deprecated
public static DAMSupport getDAMSupport(info.magnolia.cms.core.Content content)
Deprecated. since 2.0 - use STKModule.getDamSupport() instead.



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