Package com.liferay.portal.kernel.model
Class ModelHintsUtil
Object
com.liferay.portal.kernel.model.ModelHintsUtil
- Author:
- Brian Wing Shun Chan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
buildCustomValidatorName
(String validatorName) getDefaultHints
(String model) static Object
getFieldsElement
(String model, String field) static int
getMaxLength
(String model, String field) static ModelHints
static Tuple
getSanitizeTuple
(String model, String field) getSanitizeTuples
(String model) static String
getValidators
(String model, String field) static String
static boolean
static boolean
isCustomValidator
(String validatorName) static boolean
isLocalized
(String model, String field) static void
read
(ClassLoader classLoader, InputStream inputStream) static void
read
(ClassLoader classLoader, String source) void
setModelHints
(ModelHints modelHints) static String
trimString
(String model, String field, String value)
-
Constructor Details
-
ModelHintsUtil
public ModelHintsUtil()
-
-
Method Details