Liferay 6.0.5

com.liferay.portal.model
Class ModelHintsImpl

java.lang.Object
  extended by com.liferay.portal.model.ModelHintsImpl
All Implemented Interfaces:
ModelHints

public class ModelHintsImpl
extends Object
implements ModelHints


Constructor Summary
ModelHintsImpl()
           
 
Method Summary
 void afterPropertiesSet()
           
 Map<String,String> getDefaultHints(String model)
           
 Element getFieldsEl(String model, String field)
           
 Map<String,String> getHints(String model, String field)
           
 List<String> getModels()
           
 Tuple getSanitizeTuple(String model, String field)
           
 List<Tuple> getSanitizeTuples(String model)
           
 String getType(String model, String field)
           
 boolean isLocalized(String model, String field)
           
 void read(ClassLoader classLoader, String source)
           
 void setSAXReader(SAXReader saxReader)
           
 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

ModelHintsImpl

public ModelHintsImpl()
Method Detail

afterPropertiesSet

public void afterPropertiesSet()

getDefaultHints

public Map<String,String> getDefaultHints(String model)
Specified by:
getDefaultHints in interface ModelHints

getFieldsEl

public Element getFieldsEl(String model,
                           String field)
Specified by:
getFieldsEl in interface ModelHints

getHints

public Map<String,String> getHints(String model,
                                   String field)
Specified by:
getHints in interface ModelHints

getModels

public List<String> getModels()
Specified by:
getModels in interface ModelHints

getSanitizeTuple

public Tuple getSanitizeTuple(String model,
                              String field)
Specified by:
getSanitizeTuple in interface ModelHints

getSanitizeTuples

public List<Tuple> getSanitizeTuples(String model)
Specified by:
getSanitizeTuples in interface ModelHints

getType

public String getType(String model,
                      String field)
Specified by:
getType in interface ModelHints

isLocalized

public boolean isLocalized(String model,
                           String field)
Specified by:
isLocalized in interface ModelHints

read

public void read(ClassLoader classLoader,
                 String source)
          throws Exception
Specified by:
read in interface ModelHints
Throws:
Exception

setSAXReader

public void setSAXReader(SAXReader saxReader)

trimString

public String trimString(String model,
                         String field,
                         String value)
Specified by:
trimString in interface ModelHints

Liferay 6.0.5