Java Doc for MockSession.java in  » Database-Client » squirrel-sql-2.6.5a » net » sourceforge » squirrel_sql » client » session » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Database Client » squirrel sql 2.6.5a » net.sourceforge.squirrel_sql.client.session 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   net.sourceforge.squirrel_sql.client.session.MockSession

MockSession
public class MockSession implements ISession(Code)


Field Summary
 MockApplicationapp
    
 booleanclosed
    
 SQLConnectioncon
    
 UidIdentifierid
    
 MockDatabaseMetaDatamdata
    
 IMessageHandlermessageHandler
    
 SquirrelPreferencesprefs
    
 SessionPropertiesprops
    
 SchemaInfoschemaInfo
    
 SessionPanelsessionPanel
    
 ISQLAliasExtsqlAlias
    
 ISQLDriversqlDriver
    

Constructor Summary
public  MockSession()
    
public  MockSession(String className, String jdbcUrl, String u, String p)
    

Method Summary
public  intaddMainTab(IMainPanelTab tab)
    
public  voidaddSeparatorToToolbar()
    
public  voidaddToStatusBar(JComponent comp)
    
public  voidaddToToolbar(Action action)
    
public  voidclose()
    
public  voidcloseSQLConnection()
    
public  voidcommit()
    
public  booleanconfirmClose()
    
public  StringformatException(Throwable th)
    
public  BaseSessionInternalFramegetActiveSessionWindow()
    
public  ISQLAliasExtgetAlias()
    
public  IApplicationgetApplication()
    
public  StringgetDatabaseProductName()
    
public  StringgetDefaultCatalog()
    
public  StringgetDefaultSchema()
    
public  ISQLDrivergetDriver()
    
public  ExceptionFormattergetExceptionFormatter()
    
public  IIdentifiergetIdentifier()
    
public  IMessageHandlergetMessageHandler()
    
public  ISQLDatabaseMetaDatagetMetaData()
    
public  MockDatabaseMetaDatagetMockDatabaseMetaData()
    
public  IObjectTreeAPIgetObjectTreeAPIOfActiveSessionWindow()
    
public  IParserEventsProcessorgetParserEventsProcessor(IIdentifier sqlEntryPanelIdentifier)
    
public  ObjectgetPluginObject(IPlugin plugin, String key)
    
public  SessionPropertiesgetProperties()
    
public  IQueryTokenizergetQueryTokenizer()
    
public  ISQLConnectiongetSQLConnection()
    
public  ISQLPanelAPIgetSQLPanelAPIOfActiveSessionWindow()
    
public  SchemaInfogetSchemaInfo()
    
public  SessionInternalFramegetSessionInternalFrame()
    
public  SessionPanelgetSessionSheet()
    
public  StringgetTitle()
    
public  booleanisClosed()
    
public  booleanisfinishedLoading()
    
public  ObjectputPluginObject(IPlugin plugin, String key, Object obj)
    
public  voidreconnect()
    
public  voidremoveFromStatusBar(JComponent comp)
    
public  voidremovePluginObject(IPlugin plugin, String key)
    
public  voidrollback()
    
public  voidselectMainTab(int tabIndex)
    
public  voidsetActiveSessionWindow(BaseSessionInternalFrame activeActiveSessionWindow)
    
public  voidsetDefaultCatalog(String defaultCatalog)
    
public  voidsetDefaultSchema(String defaultSchema)
    
public  voidsetExceptionFormatter(ExceptionFormatter formatter)
    
public  voidsetMessageHandler(IMessageHandler handler)
    
public  voidsetPluginsfinishedLoading(boolean _finishedLoading)
    
public  voidsetQueryTokenizer(IQueryTokenizer tokenizer)
    
public  voidsetSessionInternalFrame(SessionInternalFrame sif)
    
public  voidshowErrorMessage(String msg)
    
public  voidshowErrorMessage(Throwable th)
    
public  voidshowMessage(String msg)
    
public  voidshowMessage(Throwable th)
    
public  voidshowWarningMessage(String msg)
    

Field Detail
app
MockApplication app(Code)



closed
boolean closed(Code)



con
SQLConnection con(Code)



id
UidIdentifier id(Code)



mdata
MockDatabaseMetaData mdata(Code)



messageHandler
IMessageHandler messageHandler(Code)



prefs
SquirrelPreferences prefs(Code)



props
SessionProperties props(Code)



schemaInfo
SchemaInfo schemaInfo(Code)



sessionPanel
SessionPanel sessionPanel(Code)



sqlAlias
ISQLAliasExt sqlAlias(Code)



sqlDriver
ISQLDriver sqlDriver(Code)




Constructor Detail
MockSession
public MockSession()(Code)



MockSession
public MockSession(String className, String jdbcUrl, String u, String p) throws Exception(Code)




Method Detail
addMainTab
public int addMainTab(IMainPanelTab tab)(Code)



addSeparatorToToolbar
public void addSeparatorToToolbar()(Code)



addToStatusBar
public void addToStatusBar(JComponent comp)(Code)



addToToolbar
public void addToToolbar(Action action)(Code)



close
public void close() throws SQLException(Code)



closeSQLConnection
public void closeSQLConnection() throws SQLException(Code)



commit
public void commit()(Code)



confirmClose
public boolean confirmClose()(Code)



formatException
public String formatException(Throwable th)(Code)



getActiveSessionWindow
public BaseSessionInternalFrame getActiveSessionWindow()(Code)



getAlias
public ISQLAliasExt getAlias()(Code)



getApplication
public IApplication getApplication()(Code)



getDatabaseProductName
public String getDatabaseProductName()(Code)



getDefaultCatalog
public String getDefaultCatalog()(Code)
the defaultCatalog



getDefaultSchema
public String getDefaultSchema()(Code)
the defaultSchema



getDriver
public ISQLDriver getDriver()(Code)



getExceptionFormatter
public ExceptionFormatter getExceptionFormatter()(Code)

See Also:   net.sourceforge.squirrel_sql.client.session.ISession.getExceptionFormatter



getIdentifier
public IIdentifier getIdentifier()(Code)



getMessageHandler
public IMessageHandler getMessageHandler()(Code)



getMetaData
public ISQLDatabaseMetaData getMetaData()(Code)



getMockDatabaseMetaData
public MockDatabaseMetaData getMockDatabaseMetaData()(Code)



getObjectTreeAPIOfActiveSessionWindow
public IObjectTreeAPI getObjectTreeAPIOfActiveSessionWindow()(Code)



getParserEventsProcessor
public IParserEventsProcessor getParserEventsProcessor(IIdentifier sqlEntryPanelIdentifier)(Code)



getPluginObject
public Object getPluginObject(IPlugin plugin, String key)(Code)



getProperties
public SessionProperties getProperties()(Code)



getQueryTokenizer
public IQueryTokenizer getQueryTokenizer()(Code)



getSQLConnection
public ISQLConnection getSQLConnection()(Code)



getSQLPanelAPIOfActiveSessionWindow
public ISQLPanelAPI getSQLPanelAPIOfActiveSessionWindow()(Code)



getSchemaInfo
public SchemaInfo getSchemaInfo()(Code)



getSessionInternalFrame
public SessionInternalFrame getSessionInternalFrame()(Code)



getSessionSheet
public SessionPanel getSessionSheet()(Code)



getTitle
public String getTitle()(Code)



isClosed
public boolean isClosed()(Code)



isfinishedLoading
public boolean isfinishedLoading()(Code)



putPluginObject
public Object putPluginObject(IPlugin plugin, String key, Object obj)(Code)



reconnect
public void reconnect()(Code)



removeFromStatusBar
public void removeFromStatusBar(JComponent comp)(Code)



removePluginObject
public void removePluginObject(IPlugin plugin, String key)(Code)



rollback
public void rollback()(Code)



selectMainTab
public void selectMainTab(int tabIndex) throws IllegalArgumentException(Code)



setActiveSessionWindow
public void setActiveSessionWindow(BaseSessionInternalFrame activeActiveSessionWindow)(Code)



setDefaultCatalog
public void setDefaultCatalog(String defaultCatalog)(Code)

Parameters:
  defaultCatalog - the defaultCatalog to set



setDefaultSchema
public void setDefaultSchema(String defaultSchema)(Code)

Parameters:
  defaultSchema - the defaultSchema to set



setExceptionFormatter
public void setExceptionFormatter(ExceptionFormatter formatter)(Code)

See Also:   net.sourceforge.squirrel_sql.client.session.ISession.setExceptionFormatter(net.sourceforge.squirrel_sql.fw.util.ExceptionFormatter)



setMessageHandler
public void setMessageHandler(IMessageHandler handler)(Code)



setPluginsfinishedLoading
public void setPluginsfinishedLoading(boolean _finishedLoading)(Code)



setQueryTokenizer
public void setQueryTokenizer(IQueryTokenizer tokenizer)(Code)



setSessionInternalFrame
public void setSessionInternalFrame(SessionInternalFrame sif)(Code)



showErrorMessage
public void showErrorMessage(String msg)(Code)

See Also:   net.sourceforge.squirrel_sql.client.session.ISession.showErrorMessage(java.lang.String)



showErrorMessage
public void showErrorMessage(Throwable th)(Code)

See Also:   net.sourceforge.squirrel_sql.client.session.ISession.showErrorMessage(java.lang.Throwable)



showMessage
public void showMessage(String msg)(Code)

See Also:   net.sourceforge.squirrel_sql.client.session.ISession.showMessage(java.lang.String)



showMessage
public void showMessage(Throwable th)(Code)

See Also:   net.sourceforge.squirrel_sql.client.session.ISession.showMessage(java.lang.Throwable)



showWarningMessage
public void showWarningMessage(String msg)(Code)

See Also:   net.sourceforge.squirrel_sql.client.session.ISession.showWarningMessage(java.lang.String)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.