public abstract class BaseModelHintsImpl
extends Object
implements com.liferay.portal.kernel.model.ModelHints
Constructor and Description |
---|
BaseModelHintsImpl() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
String |
buildCustomValidatorName(String validatorName) |
Map<String,String> |
getDefaultHints(String model) |
Object |
getFieldsElement(String model,
String field) |
Map<String,String> |
getHints(String model,
String field) |
int |
getMaxLength(String model,
String field) |
abstract com.liferay.portal.kernel.model.ModelHintsCallback |
getModelHintsCallback() |
abstract String[] |
getModelHintsConfigs() |
List<String> |
getModels() |
com.liferay.portal.kernel.util.Tuple |
getSanitizeTuple(String model,
String field) |
List<com.liferay.portal.kernel.util.Tuple> |
getSanitizeTuples(String model) |
abstract org.dom4j.io.SAXReader |
getSAXReader() |
String |
getType(String model,
String field) |
List<com.liferay.portal.kernel.util.Tuple> |
getValidators(String model,
String field) |
String |
getValue(String model,
String field,
String name,
String defaultValue) |
boolean |
hasField(String model,
String field) |
boolean |
isCustomValidator(String validatorName) |
boolean |
isLocalized(String model,
String field) |
void |
read(ClassLoader classLoader,
InputStream inputStream) |
void |
read(ClassLoader classLoader,
String source) |
void |
read(ClassLoader classLoader,
String source,
InputStream inputStream) |
String |
trimString(String model,
String field,
String value) |
public void afterPropertiesSet()
public String buildCustomValidatorName(String validatorName)
buildCustomValidatorName
in interface com.liferay.portal.kernel.model.ModelHints
public Map<String,String> getDefaultHints(String model)
getDefaultHints
in interface com.liferay.portal.kernel.model.ModelHints
public Object getFieldsElement(String model, String field)
getFieldsElement
in interface com.liferay.portal.kernel.model.ModelHints
public Map<String,String> getHints(String model, String field)
getHints
in interface com.liferay.portal.kernel.model.ModelHints
public int getMaxLength(String model, String field)
getMaxLength
in interface com.liferay.portal.kernel.model.ModelHints
public abstract com.liferay.portal.kernel.model.ModelHintsCallback getModelHintsCallback()
public abstract String[] getModelHintsConfigs()
public List<String> getModels()
getModels
in interface com.liferay.portal.kernel.model.ModelHints
public com.liferay.portal.kernel.util.Tuple getSanitizeTuple(String model, String field)
getSanitizeTuple
in interface com.liferay.portal.kernel.model.ModelHints
public List<com.liferay.portal.kernel.util.Tuple> getSanitizeTuples(String model)
getSanitizeTuples
in interface com.liferay.portal.kernel.model.ModelHints
public abstract org.dom4j.io.SAXReader getSAXReader()
public String getType(String model, String field)
getType
in interface com.liferay.portal.kernel.model.ModelHints
public List<com.liferay.portal.kernel.util.Tuple> getValidators(String model, String field)
getValidators
in interface com.liferay.portal.kernel.model.ModelHints
public String getValue(String model, String field, String name, String defaultValue)
getValue
in interface com.liferay.portal.kernel.model.ModelHints
public boolean hasField(String model, String field)
hasField
in interface com.liferay.portal.kernel.model.ModelHints
public boolean isCustomValidator(String validatorName)
isCustomValidator
in interface com.liferay.portal.kernel.model.ModelHints
public boolean isLocalized(String model, String field)
isLocalized
in interface com.liferay.portal.kernel.model.ModelHints
public void read(ClassLoader classLoader, InputStream inputStream) throws Exception
read
in interface com.liferay.portal.kernel.model.ModelHints
Exception
public void read(ClassLoader classLoader, String source) throws Exception
read
in interface com.liferay.portal.kernel.model.ModelHints
Exception
public void read(ClassLoader classLoader, String source, InputStream inputStream) throws Exception
Exception
public String trimString(String model, String field, String value)
trimString
in interface com.liferay.portal.kernel.model.ModelHints