public class InternalEntityUtils extends Object
Modifier and Type | Field and Description |
---|---|
static int |
MAX_ENTITY_FIELD_LENGTH
Maximum directory entity field size for string fields.
|
Modifier and Type | Method and Description |
---|---|
static String |
truncateValue(String value)
Truncates the given value so that it will conform with database
constraints.
|
static void |
validateLength(String value)
Ensures that the given string is not longer than 255 characters.
|
public static final int MAX_ENTITY_FIELD_LENGTH
public static String truncateValue(String value)
value
- value to be truncatedpublic static void validateLength(String value)
value
- value to be validatedCopyright © 2013 Atlassian. All Rights Reserved.