info.magnolia.cms.util
Class MetaDataUtil

java.lang.Object
  extended by info.magnolia.cms.util.MetaDataUtil

Deprecated. since 4.5 as it operates on deprecated Content - use MetaDataUtil instead.

public class MetaDataUtil
extends Object

Util to work with MetaData.

Version:
$Revision: 52781 $ ($Author: dlipp $)

Constructor Summary
MetaDataUtil()
          Deprecated.  
 
Method Summary
static String getActivationStatusIcon(Content content)
          Deprecated. since 4.5 - use getActivationStatusIcon(Node) instead.
static String getActivationStatusIcon(javax.jcr.Node node)
          Deprecated. Return iconFileName for a node.
static String getPropertyValueString(Content content, String propertyName)
          Deprecated.  
static String getPropertyValueString(Content content, String propertyName, String dateFormat)
          Deprecated. Returns the representation of the value as a String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetaDataUtil

public MetaDataUtil()
Deprecated. 
Method Detail

getPropertyValueString

public static String getPropertyValueString(Content content,
                                            String propertyName)
Deprecated. 

getPropertyValueString

public static String getPropertyValueString(Content content,
                                            String propertyName,
                                            String dateFormat)
Deprecated. 
Returns the representation of the value as a String.

Returns:
String

getActivationStatusIcon

public static String getActivationStatusIcon(Content content)
Deprecated. since 4.5 - use getActivationStatusIcon(Node) instead.


getActivationStatusIcon

public static String getActivationStatusIcon(javax.jcr.Node node)
Deprecated. 
Return iconFileName for a node.

Parameters:
node - node to read status from
Returns:
file name for an icon TODO dlipp: move to ui-layer as soon as there's a ui-project on which magnolia-gui, magnolia-module-workflow and admincentral are based (all these currently use this method).


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