Liferay 7.0-ce-b4

com.liferay.portal.security.auth
Class DefaultScreenNameValidator

java.lang.Object
  extended by com.liferay.portal.security.auth.DefaultScreenNameValidator
All Implemented Interfaces:
ScreenNameValidator
Direct Known Subclasses:
LiberalScreenNameValidator

public class DefaultScreenNameValidator
extends Object
implements ScreenNameValidator


Field Summary
static String POSTFIX
           
 
Constructor Summary
DefaultScreenNameValidator()
           
 
Method Summary
 String getAUIValidatorJS()
           
 String getDescription(Locale locale)
           
protected  String getSpecialChars()
           
protected  boolean hasInvalidChars(String screenName)
           
 boolean validate(long companyId, String screenName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

POSTFIX

public static final String POSTFIX
See Also:
Constant Field Values
Constructor Detail

DefaultScreenNameValidator

public DefaultScreenNameValidator()
Method Detail

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)

Liferay 7.0-ce-b4