public class DefaultScreenNameValidator extends Object implements ScreenNameValidator
| Modifier and Type | Field and Description |
|---|---|
static String |
POSTFIX |
| Constructor and Description |
|---|
DefaultScreenNameValidator() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAUIValidatorJS() |
String |
getDescription(Locale locale) |
protected String |
getJSEscapedSpecialChars() |
protected String |
getSpecialChars() |
protected String |
getSpecialCharsRegex() |
protected boolean |
hasInvalidChars(String screenName) |
boolean |
validate(long companyId,
String screenName) |
public static final String POSTFIX
public String getAUIValidatorJS()
getAUIValidatorJS in interface ScreenNameValidatorpublic String getDescription(Locale locale)
getDescription in interface ScreenNameValidatorpublic boolean validate(long companyId,
String screenName)
validate in interface ScreenNameValidatorprotected String getJSEscapedSpecialChars()
protected String getSpecialChars()
protected String getSpecialCharsRegex()
protected boolean hasInvalidChars(String screenName)