public abstract class AbstractClientSessionCommand<S extends ClientSession> extends Object implements ClientSessionCommand<S>
ClientSessionCommand.Callback<V>| Constructor and Description |
|---|
AbstractClientSessionCommand(boolean enabled) |
| Modifier and Type | Method and Description |
|---|---|
AbstractClientSessionCommand<S> |
bind(S session) |
void |
execute() |
protected void |
fire() |
protected S |
getSession() |
boolean |
isEnabled() |
ClientSessionCommand<S> |
listen(org.uberfire.mvp.Command statusCallback) |
protected void |
setEnabled(boolean enabled) |
void |
unbind() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecutepublic AbstractClientSessionCommand(boolean enabled)
public AbstractClientSessionCommand<S> bind(S session)
bind in interface ClientSessionCommand<S extends ClientSession>public ClientSessionCommand<S> listen(org.uberfire.mvp.Command statusCallback)
listen in interface ClientSessionCommand<S extends ClientSession>public void execute()
public void unbind()
unbind in interface ClientSessionCommand<S extends ClientSession>public boolean isEnabled()
isEnabled in interface ClientSessionCommand<S extends ClientSession>protected void setEnabled(boolean enabled)
protected void fire()
protected S getSession()
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.