com.liferay.portal.security.auth
Class DefaultScreenNameValidator
java.lang.Object
com.liferay.portal.security.auth.DefaultScreenNameValidator
- All Implemented Interfaces:
- ScreenNameValidator
- Direct Known Subclasses:
- LiberalScreenNameValidator
public class DefaultScreenNameValidator
- extends Object
- implements ScreenNameValidator
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
POSTFIX
public static final String POSTFIX
- See Also:
- Constant Field Values
DefaultScreenNameValidator
public DefaultScreenNameValidator()
getAUIValidatorJS
public String getAUIValidatorJS()
- Specified by:
getAUIValidatorJS in interface ScreenNameValidator
getDescription
public String getDescription(Locale locale)
- Specified by:
getDescription in interface ScreenNameValidator
validate
public boolean validate(long companyId,
String screenName)
- Specified by:
validate in interface ScreenNameValidator
getSpecialChars
protected String getSpecialChars()
hasInvalidChars
protected boolean hasInvalidChars(String screenName)