public class DefaultScreenNameValidator extends Object implements ScreenNameValidator
| Constructor and Description |
|---|
DefaultScreenNameValidator() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAUIValidatorJS() |
String |
getDescription(Locale locale) |
protected String |
getSpecialChars() |
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 getSpecialChars()
protected boolean hasInvalidChars(String screenName)