public class ClientActionValidator<C extends ClientContext> extends DefaultActionValidator implements ClientObject<C>
| Constructor and Description |
|---|
ClientActionValidator(C clientCtx) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkPermission() |
C |
getClientContext()
Returns the the client runtime environment
|
boolean |
isLoggedIn() |
boolean |
isOnline() |
boolean |
isUserAuthentificationSensitive() |
void |
setUserAuthentificationSensitive(boolean isSensitive)
Makes this validator sensitive to
UserAuthenticationEvents. |
addValidationListener, fireAvailabilityChecks, isPermitted, removeValidationListenerpublic ClientActionValidator(C clientCtx)
public final C getClientContext()
ClientObjectgetClientContext in interface ClientObject<C extends ClientContext>public void checkPermission()
throws java.lang.Exception
checkPermission in interface ActionValidatorcheckPermission in class DefaultActionValidatorjava.lang.Exceptionpublic void setUserAuthentificationSensitive(boolean isSensitive)
UserAuthenticationEvents.
It will perform an enable check if such an event is received.isUserAuthentificationSensitive()public boolean isUserAuthentificationSensitive()
public boolean isOnline()
public boolean isLoggedIn()
Copyright © 2014 EsprIT-Systems. All Rights Reserved.