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
UserAuthenticationEvent s. |
addValidationListener, fireAvailabilityChecks, isPermitted, removeValidationListener
public ClientActionValidator(C clientCtx)
public final C getClientContext()
ClientObject
getClientContext
in interface ClientObject<C extends ClientContext>
public void checkPermission() throws java.lang.Exception
checkPermission
in interface ActionValidator
checkPermission
in class DefaultActionValidator
java.lang.Exception
public void setUserAuthentificationSensitive(boolean isSensitive)
UserAuthenticationEvent
s.
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.