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 TypeMethodDescriptionvoid
buildCustomValidatorName
(String validatorName) getDefaultHints
(String model) getFieldsElement
(String model, String field) int
getMaxLength
(String model, String field) abstract com.liferay.portal.kernel.model.ModelHintsCallback
abstract String[]
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
List<com.liferay.portal.kernel.util.Tuple>
getValidators
(String model, String field) boolean
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) 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:
buildCustomValidatorName
in interfacecom.liferay.portal.kernel.model.ModelHints
-
getDefaultHints
- Specified by:
getDefaultHints
in interfacecom.liferay.portal.kernel.model.ModelHints
-
getFieldsElement
- Specified by:
getFieldsElement
in interfacecom.liferay.portal.kernel.model.ModelHints
-
getHints
- Specified by:
getHints
in interfacecom.liferay.portal.kernel.model.ModelHints
-
getMaxLength
- Specified by:
getMaxLength
in interfacecom.liferay.portal.kernel.model.ModelHints
-
getModelHintsCallback
public abstract com.liferay.portal.kernel.model.ModelHintsCallback getModelHintsCallback() -
getModelHintsConfigs
-
getModels
- Specified by:
getModels
in interfacecom.liferay.portal.kernel.model.ModelHints
-
getSanitizeTuple
- Specified by:
getSanitizeTuple
in interfacecom.liferay.portal.kernel.model.ModelHints
-
getSanitizeTuples
- Specified by:
getSanitizeTuples
in interfacecom.liferay.portal.kernel.model.ModelHints
-
getSAXReader
public abstract org.dom4j.io.SAXReader getSAXReader() -
getType
- Specified by:
getType
in interfacecom.liferay.portal.kernel.model.ModelHints
-
getValidators
- Specified by:
getValidators
in interfacecom.liferay.portal.kernel.model.ModelHints
-
getValue
- Specified by:
getValue
in interfacecom.liferay.portal.kernel.model.ModelHints
-
hasField
- Specified by:
hasField
in interfacecom.liferay.portal.kernel.model.ModelHints
-
isCustomValidator
- Specified by:
isCustomValidator
in interfacecom.liferay.portal.kernel.model.ModelHints
-
isLocalized
- Specified by:
isLocalized
in interfacecom.liferay.portal.kernel.model.ModelHints
-
read
- Specified by:
read
in interfacecom.liferay.portal.kernel.model.ModelHints
- Throws:
Exception
-
read
- Specified by:
read
in interfacecom.liferay.portal.kernel.model.ModelHints
- Throws:
Exception
-
read
- Throws:
Exception
-
trimString
- Specified by:
trimString
in interfacecom.liferay.portal.kernel.model.ModelHints
-