public class InternalEntityUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static com.google.common.base.Function<? super InternalEntity,String> |
GET_NAME
Calls
InternalEntity.getName() on its argument, which must not be null. |
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 final com.google.common.base.Function<? super InternalEntity,String> GET_NAME
InternalEntity.getName() on its argument, which must not be null.public static String truncateValue(String value)
value - value to be truncatedpublic static void validateLength(String value)
value - value to be validatedCopyright © 2017 Atlassian. All rights reserved.