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 |
getSpecialChars() |
protected boolean |
hasInvalidChars(String screenName) |
boolean |
validate(long companyId,
String screenName) |
public static final String POSTFIX
public String getAUIValidatorJS()
getAUIValidatorJS
in interface ScreenNameValidator
public String getDescription(Locale locale)
getDescription
in interface ScreenNameValidator
public boolean validate(long companyId, String screenName)
validate
in interface ScreenNameValidator
protected String getSpecialChars()
protected boolean hasInvalidChars(String screenName)