Liferay 6.0.5

com.liferay.portal.model
Class ModelHintsUtil

java.lang.Object
  extended by com.liferay.portal.model.ModelHintsUtil

public class ModelHintsUtil
extends Object


Constructor Summary
ModelHintsUtil()
           
 
Method Summary
static Map<String,String> getDefaultHints(String model)
           
static Element getFieldsEl(String model, String field)
           
static Map<String,String> getHints(String model, String field)
           
static ModelHints getModelHints()
           
static List<String> getModels()
           
static Tuple getSanitizeTuple(String model, String field)
           
static List<Tuple> getSanitizeTuples(String model)
           
static String getType(String model, String field)
           
static boolean isLocalized(String model, String field)
           
static void read(ClassLoader classLoader, String source)
           
 void setModelHints(ModelHints modelHints)
           
static String trimString(String model, String field, String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelHintsUtil

public ModelHintsUtil()
Method Detail

getDefaultHints

public static Map<String,String> getDefaultHints(String model)

getFieldsEl

public static Element getFieldsEl(String model,
                                  String field)

getHints

public static Map<String,String> getHints(String model,
                                          String field)

getModelHints

public static ModelHints getModelHints()

getModels

public static List<String> getModels()

getSanitizeTuple

public static Tuple getSanitizeTuple(String model,
                                     String field)

getSanitizeTuples

public static List<Tuple> getSanitizeTuples(String model)

getType

public static String getType(String model,
                             String field)

isLocalized

public static boolean isLocalized(String model,
                                  String field)

read

public static void read(ClassLoader classLoader,
                        String source)
                 throws Exception
Throws:
Exception

trimString

public static String trimString(String model,
                                String field,
                                String value)

setModelHints

public void setModelHints(ModelHints modelHints)

Liferay 6.0.5