|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.crowd.util.InternalEntityUtils
public class InternalEntityUtils
Field Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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.
Method Detail |
---|
public static String truncateValue(String value)
value
- value to be truncated
public static void validateLength(String value)
value
- value to be validated
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |