Package com.liferay.portal.model
Class BaseModelHintsImpl
Object
com.liferay.portal.model.BaseModelHintsImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.model.ModelHints
- Direct Known Subclasses:
DefaultModelHintsImpl
public abstract class BaseModelHintsImpl
extends Object
implements com.liferay.portal.kernel.model.ModelHints
- Author:
- Brian Wing Shun Chan, Tomas Polesovsky, Raymond Augé
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildCustomValidatorName(String validatorName) getDefaultHints(String model) getFieldsElement(String model, String field) intgetMaxLength(String model, String field) abstract com.liferay.portal.kernel.model.ModelHintsCallbackabstract String[]com.liferay.portal.kernel.util.TuplegetSanitizeTuple(String model, String field) List<com.liferay.portal.kernel.util.Tuple>getSanitizeTuples(String model) abstract org.dom4j.io.SAXReaderList<com.liferay.portal.kernel.util.Tuple>getValidators(String model, String field) booleanbooleanisCustomValidator(String validatorName) booleanisLocalized(String model, String field) voidread(ClassLoader classLoader, InputStream inputStream) voidread(ClassLoader classLoader, String source) voidread(ClassLoader classLoader, String source, InputStream inputStream) trimString(String model, String field, String value)
-
Constructor Details
-
BaseModelHintsImpl
public BaseModelHintsImpl() -
BaseModelHintsImpl
public BaseModelHintsImpl(boolean productionMode)
-
-
Method Details
-
afterPropertiesSet
public void afterPropertiesSet() -
buildCustomValidatorName
- Specified by:
buildCustomValidatorNamein interfacecom.liferay.portal.kernel.model.ModelHints
-
getDefaultHints
- Specified by:
getDefaultHintsin interfacecom.liferay.portal.kernel.model.ModelHints
-
getFieldsElement
- Specified by:
getFieldsElementin interfacecom.liferay.portal.kernel.model.ModelHints
-
getHints
- Specified by:
getHintsin interfacecom.liferay.portal.kernel.model.ModelHints
-
getMaxLength
- Specified by:
getMaxLengthin interfacecom.liferay.portal.kernel.model.ModelHints
-
getModelHintsCallback
public abstract com.liferay.portal.kernel.model.ModelHintsCallback getModelHintsCallback() -
getModelHintsConfigs
-
getModels
- Specified by:
getModelsin interfacecom.liferay.portal.kernel.model.ModelHints
-
getSanitizeTuple
- Specified by:
getSanitizeTuplein interfacecom.liferay.portal.kernel.model.ModelHints
-
getSanitizeTuples
- Specified by:
getSanitizeTuplesin interfacecom.liferay.portal.kernel.model.ModelHints
-
getSAXReader
public abstract org.dom4j.io.SAXReader getSAXReader() -
getType
- Specified by:
getTypein interfacecom.liferay.portal.kernel.model.ModelHints
-
getValidators
- Specified by:
getValidatorsin interfacecom.liferay.portal.kernel.model.ModelHints
-
getValue
- Specified by:
getValuein interfacecom.liferay.portal.kernel.model.ModelHints
-
hasField
- Specified by:
hasFieldin interfacecom.liferay.portal.kernel.model.ModelHints
-
isCustomValidator
- Specified by:
isCustomValidatorin interfacecom.liferay.portal.kernel.model.ModelHints
-
isLocalized
- Specified by:
isLocalizedin interfacecom.liferay.portal.kernel.model.ModelHints
-
read
- Specified by:
readin interfacecom.liferay.portal.kernel.model.ModelHints- Throws:
Exception
-
read
- Specified by:
readin interfacecom.liferay.portal.kernel.model.ModelHints- Throws:
Exception
-
read
- Throws:
Exception
-
trimString
- Specified by:
trimStringin interfacecom.liferay.portal.kernel.model.ModelHints
-