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.

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

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

Throws:
DAMException

getDAMSupport

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.