public abstract class LoginValidator extends Object implements com.vaadin.data.Validator<String>
| Modifier and Type | Class and Description |
|---|---|
static interface |
LoginValidator.EntityChecker |
static interface |
LoginValidator.SiteRetriever |
| Modifier and Type | Field and Description |
|---|---|
protected LoginValidator.EntityChecker |
checker |
protected PortalManagement |
portalManagement |
protected long |
siteId |
protected LoginValidator.SiteRetriever |
siteRetriever |
| Modifier | Constructor and Description |
|---|---|
protected |
LoginValidator(PortalManagement portalManagement,
long siteId,
LoginValidator.SiteRetriever siteRetriever,
LoginValidator.EntityChecker checker) |
| Modifier and Type | Method and Description |
|---|---|
com.vaadin.data.ValidationResult |
apply(String value,
com.vaadin.data.ValueContext context) |
protected String |
checkSyntax(String value) |
protected abstract Long |
findEntityByUserName(String value) |
protected long |
getSiteId() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitandThenprotected final PortalManagement portalManagement
protected final long siteId
protected final LoginValidator.SiteRetriever siteRetriever
protected final LoginValidator.EntityChecker checker
protected LoginValidator(PortalManagement portalManagement, long siteId, LoginValidator.SiteRetriever siteRetriever, LoginValidator.EntityChecker checker)
protected final long getSiteId()
public final com.vaadin.data.ValidationResult apply(String value, com.vaadin.data.ValueContext context)
apply in interface com.vaadin.data.Validator<String>apply in interface BiFunction<String,com.vaadin.data.ValueContext,com.vaadin.data.ValidationResult>Copyright © 2018 Pivotal Software, Inc.. All rights reserved.