|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WabitSession
The basic interface for a Wabit session. This interface provides all the UI-independent state and behaviour of a Wabit session.
| Method Summary | |
|---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener l)
|
void |
addSessionLifecycleListener(ca.sqlpower.swingui.event.SessionLifecycleListener<WabitSession> l)
|
boolean |
close()
Ends this session, disposing its frame and releasing any system resources that were obtained explicitly by this session. |
WabitSessionContext |
getContext()
Returns the context this session belongs to. |
ca.sqlpower.sql.DataSourceCollection<ca.sqlpower.sql.SPDataSource> |
getDataSources()
Returns a collection of all the data sources that are available to this session. |
WabitWorkspace |
getSystemWorkspace()
This method might return a WabitWorkspace, the system one, located on the Wabit server, if the current session is backed by a remote server session. |
WabitWorkspace |
getWorkspace()
Returns the workspace associated with this session. |
boolean |
isEnterpriseServerSession()
Returns true if the current session is in fact a remote session with the wabit enterprise server. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener l)
|
void |
removeSessionLifecycleListener(ca.sqlpower.swingui.event.SessionLifecycleListener<WabitSession> l)
|
| Methods inherited from interface ca.sqlpower.util.SPSession |
|---|
isForegroundThread, runInBackground, runInForeground |
| Method Detail |
|---|
void addSessionLifecycleListener(ca.sqlpower.swingui.event.SessionLifecycleListener<WabitSession> l)
void removeSessionLifecycleListener(ca.sqlpower.swingui.event.SessionLifecycleListener<WabitSession> l)
WabitSessionContext getContext()
boolean close()
WabitWorkspace getWorkspace()
getWorkspace in interface ca.sqlpower.util.SPSessionvoid addPropertyChangeListener(java.beans.PropertyChangeListener l)
void removePropertyChangeListener(java.beans.PropertyChangeListener l)
ca.sqlpower.sql.DataSourceCollection<ca.sqlpower.sql.SPDataSource> getDataSources()
boolean isEnterpriseServerSession()
WabitWorkspace getSystemWorkspace()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||