Home
last modified time | relevance | path

Searched refs:connection (Results 1 – 25 of 481) sorted by relevance

12345678910>>...20

/trunk/main/offapi/com/sun/star/mail/
H A DXMailService.idl86 Returns all connection types which are supported to
89 connection types are (the values should be handled
92 "Ssl" - Secure Socket Layer 2.0/3.0 based connection
95 a sequence of supported connection types.
100 Register a connection listener.
103 [in] a listener that will be informed about connection events.
110 Unregister a connection listener.
113 [in] a listener that no longer need to be informed about connection events.
120 Return the context of the current connection. The context
121 contains information like the server name, port, connection type
[all …]
H A DXMailServer.idl111 Returns all connection types which are supported by the
112 mail server. Possible connection types are for instance
116 a sequence of supported connection types.
121 Set the connection type that will be used to connect to the
122 mail server. The supported connection types may be queried
124 If no connection types has explicitly been set the default
125 connection type will be used.
128 [in] identifies the connection that should be used to connect
132 if the provided connection type is not supported.
141 Allow a client to query if a certain connection type is
[all …]
/trunk/main/connectivity/java/sdbc_jdbc/src/com/sun/star/comp/sdbc/
H A DJavaSQLConnection.java76 private java.sql.Connection connection; field in JavaSQLConnection
96 if (connection != null) { in postDisposing()
97 connection.close(); in postDisposing()
139 connection.clearWarnings(); in clearWarnings()
149 java.sql.SQLWarning javaWarning = connection.getWarnings(); in getWarnings()
170 connection.commit(); in commit()
189 return connection.getAutoCommit(); in getAutoCommit()
199 String catalog = connection.getCatalog(); in getCatalog()
214 return new JavaSQLDatabaseMetaData(connection.getMetaData(), this); in getMetaData()
224 return connection.getTransactionIsolation(); in getTransactionIsolation()
[all …]
H A DJavaSQLStatement.java40 public JavaSQLStatement(JavaSQLConnection connection) { in JavaSQLStatement() argument
41 super(connection); in JavaSQLStatement()
104 …try (ContextClassLoaderScope ccl = new ContextClassLoaderScope(connection.getDriverClassLoader()))… in execute()
116 …try (ContextClassLoaderScope ccl = new ContextClassLoaderScope(connection.getDriverClassLoader()))… in executeQuery()
119 return new JavaSQLResultSet(jdbcResultSet, connection, this); in executeQuery()
144 return connection; in getConnection()
155 …jdbcStatement = connection.getJDBCConnection().createStatement(resultSetType, resultSetConcurrency… in createStatement()
157 jdbcStatement = connection.getJDBCConnection().createStatement(); in createStatement()
H A DJavaSQLStatementBase.java52 protected JavaSQLConnection connection; field in JavaSQLStatementBase
61 public JavaSQLStatementBase(JavaSQLConnection connection) { in JavaSQLStatementBase() argument
62 this.connection = connection; in JavaSQLStatementBase()
63 this.logger = new ConnectionLog(connection.getLogger(), ObjectType.STATEMENT); in JavaSQLStatementBase()
463 resultSet = new JavaSQLResultSet(jdbcResultSet, connection, this); in getGeneratedValues()
465 if (connection != null && connection.isAutoRetrievingEnabled()) { in getGeneratedValues()
466 String statement = connection.getTransformedGeneratedStatement(sqlStatement); in getGeneratedValues()
470 generatedStatement = connection.createStatement(); in getGeneratedValues()
496 return new JavaSQLResultSet(jdbcResultSet, connection, this); in getResultSet()
/trunk/main/dbaccess/source/ui/dlg/
H A Ddbadminsetup.src69 Text [ en-US ] = "Set up dBASE connection" ;
75 Text [ en-US ] = "Set up a connection to text files" ;
81 Text [ en-US ] = "Set up Microsoft Access connection" ;
86 Text [ en-US ] = "Set up LDAP connection" ;
91 Text [ en-US ] = "Set up Adabas D connection" ;
96 Text [ en-US ] = "Set up ADO connection" ;
101 Text [ en-US ] = "Set up JDBC connection" ;
106 Text [ en-US ] = "Set up Oracle database connection" ;
111 Text [ en-US ] = "Set up MySQL connection" ;
116 Text [ en-US ] = "Set up ODBC connection" ;
[all …]
/trunk/main/connectivity/java/dbtools/src/org/apache/openoffice/comp/sdbc/dbtools/sdbcx/
H A DOIndexContainer.java68 XConnection connection = table.getConnection(); in createObject() local
69 if (connection == null) { in createObject()
89 … results = connection.getMetaData().getIndexInfo(catalog, schemaName, tableName, false, false); in createObject()
102 …isPrimaryKeyIndex = isPrimaryKeyIndex(connection.getMetaData(), catalog, schemaName, tableName, su… in createObject()
142 XConnection connection = table.getConnection(); in appendObject() local
143 if (connection == null) { in appendObject()
146 String quote = connection.getMetaData().getIdentifierQuoteString(); in appendObject()
148 …String composedName = DbTools.composeTableName(connection.getMetaData(), table, ComposeRule.InInde… in appendObject()
169 statement = connection.createStatement(); in appendObject()
182 XConnection connection = table.getConnection(); in dropObject() local
[all …]
H A DOKeyContainer.java109 XConnection connection = table.getConnection(); in appendObject() local
110 if (connection == null) { in appendObject()
124 String quote = connection.getMetaData().getIdentifierQuoteString(); in appendObject()
125 …String tableName = DbTools.composeTableName(connection.getMetaData(), table, ComposeRule.InTableDe… in appendObject()
150 …String quotedTableName = DbTools.quoteTableName(connection.getMetaData(), referencedName, ComposeR… in appendObject()
164 statement = connection.createStatement(); in appendObject()
179 …results = connection.getMetaData().getImportedKeys(this.table.getPropertyValue(PropertyIds.CATALOG… in appendObject()
182 …results = connection.getMetaData().getPrimaryKeys(this.table.getPropertyValue(PropertyIds.CATALOGN… in appendObject()
234 XConnection connection = table.getConnection(); in dropObject() local
235 if (connection == null) { in dropObject()
[all …]
/trunk/main/bean/qa/complex/bean/
H A DOOoBeanTest.java104 f = new WriterFrame(100 ,100, 500 ,400, false, connection.getComponentContext()); in test1()
126 f = new WriterFrame(100, 100, 500,500, false, connection.getComponentContext()); in test2()
279 f = new WriterFrame(100, 100, 500, 300, true, connection.getComponentContext()); in test3()
304 f = new WriterFrame(100, 100, 500, 300, false, connection.getComponentContext()); in test4()
338 f = new WriterFrame(100, 100, 500, 400, false, connection.getComponentContext()); in test5()
393 …final OOoBean bean = new OOoBean(new PrivateLocalOfficeConnection(connection.getComponentContext()… in test6()
461 …final OOoBean bean = new OOoBean(new PrivateLocalOfficeConnection(connection.getComponentContext()… in test6a()
580 f = new WriterFrame(100 ,100, 500 ,400, false, connection.getComponentContext()); in test7()
613 … OOoBean bean1 = new OOoBean(new PrivateLocalOfficeConnection(connection.getComponentContext())); in test8()
615 … OOoBean bean2 = new OOoBean(new PrivateLocalOfficeConnection(connection.getComponentContext())); in test8()
[all …]
/trunk/main/udkapi/com/sun/star/connection/
H A DXConnector.idl26 #include <com/sun/star/connection/ConnectionSetupException.idl>
27 #include <com/sun/star/connection/NoConnectException.idl>
29 #include <com/sun/star/connection/XConnection.idl>
32 module com { module sun { module star { module connection {
35 allows to actively establish an interprocess connection.
40 // DocMerge from xml: method com::sun::star::connection::XConnector::connect
41 /** creates a new connection interprocess connection.
48 contains the kind of the connection plus a
50 e.g., <em>socket,host=localhost,port=2345</em> for a tcpip connection.
H A DXAcceptor.idl26 #include <com/sun/star/connection/ConnectionSetupException.idl>
27 #include <com/sun/star/connection/AlreadyAcceptingException.idl>
29 #include <com/sun/star/connection/XConnection.idl>
32 module com { module sun { module star { module connection {
34 /** allows to passively accept connection attempts from other processes.
41 // DocMerge from xml: method com::sun::star::connection::XAcceptor::accept
42 /** accepts an interprocess connection. Waits until someone connects to the resource.
49 contains the kind of the connection plus a
51 e.g., <em>socket,host=localhost,port=2345</em> for a tcpip connection.
/trunk/main/connectivity/java/dbtools/src/org/apache/openoffice/comp/sdbc/dbtools/util/
H A DDbTools.java275 public static String composeTableNameForSelect(XConnection connection, String catalog, in composeTableNameForSelect() argument
277 … boolean useCatalogInSelect = isDataSourcePropertyEnabled(connection, "UseCatalogInSelect", true); in composeTableNameForSelect()
278 … boolean useSchemaInSelect = isDataSourcePropertyEnabled(connection, "UseSchemaInSelect", true); in composeTableNameForSelect()
279 return doComposeTableName(connection.getMetaData(), useCatalogInSelect ? catalog : "", in composeTableNameForSelect()
289 …public static String composeTableNameForSelect(XConnection connection, XPropertySet table) throws … in composeTableNameForSelect() argument
291 …return composeTableNameForSelect(connection, nameComponents.getCatalog(), nameComponents.getSchema… in composeTableNameForSelect()
391 …public static String createSqlCreateTableStatement(XPropertySet descriptor, XConnection connection, in createSqlCreateTableStatement() argument
394 String sql = createStandardCreateStatement(descriptor, connection, helper, createPattern); in createSqlCreateTableStatement()
395 final String keyStatement = createStandardKeyStatement(descriptor, connection); in createSqlCreateTableStatement()
414 …public static String createStandardCreateStatement(XPropertySet descriptor, XConnection connection, in createStandardCreateStatement() argument
[all …]
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/ifc/connection/
H A D_XAcceptor.java22 package ifc.connection;
29 import com.sun.star.connection.XAcceptor;
30 import com.sun.star.connection.XConnection;
31 import com.sun.star.connection.XConnector;
85 } catch (com.sun.star.connection.ConnectionSetupException e) { in run()
87 } catch (com.sun.star.connection.AlreadyAcceptingException e) { in run()
192 } catch (com.sun.star.connection.ConnectionSetupException e) { in _accept()
195 } catch (com.sun.star.connection.NoConnectException e) { in _accept()
247 com.sun.star.connection.AlreadyAcceptingException || in _accept()
249 com.sun.star.connection.ConnectionSetupException) { in _accept()
H A D_XConnector.java24 package ifc.connection;
29 import com.sun.star.connection.XAcceptor;
30 import com.sun.star.connection.XConnection;
31 import com.sun.star.connection.XConnector;
85 } catch (com.sun.star.connection.ConnectionSetupException e) { in run()
87 } catch (com.sun.star.connection.AlreadyAcceptingException e) { in run()
178 } catch (com.sun.star.connection.ConnectionSetupException e) { in _connect()
181 } catch (com.sun.star.connection.NoConnectException e) { in _connect()
/trunk/main/stoc/test/security/
H A Dtest_security.policy7 permission com.sun.star.connection.SocketPermission "dbo-1:1024-", "listen";
9 permission com.sun.star.connection.SocketPermission "dbo-11081:-1023", "resolve";
10 permission com.sun.star.connection.SocketPermission "dbo-11081:18", "listen";
11 permission com.sun.star.connection.SocketPermission "dbo-11081:20-24", "listen";
12 permission com.sun.star.connection.SocketPermission "dbo-11081", "connect";
17 /*jbu resolve*/permission com.sun.star.connection.SocketPermission "jbu-11096","resolve";
32 … permission com.sun.star.connection.SocketPermission "127.0.0.1:-1023", "resolve, connect, listen";
33 …permission com.sun.star.connection.SocketPermission "localhost:1024-", "accept, connect, listen, r…
34 permission com.sun.star.connection.SocketPermission "*.sun.com:1024-", "resolve";
/trunk/main/udkapi/com/sun/star/lang/
H A DXConnectionPoint.idl50 /** supports connection points for connectable objects.
76 access to all the connection point sub-objects, each of which
81 <p>Each connection point is a separate sub-object to avoid circular
82 reference counting problems. A connection point controls how many
92 <LI>to get a sequence of connection points for each outgoing type. </LI>
94 <LI>to obtain access to connection point sub-objects with the
113 connection point.
118 can determine the type of each connection point enumerated. The
120 this same connection point through
141 /** creates a connection between a connection point and a
[all …]
/trunk/main/bridges/test/com/sun/star/lib/
H A DTestBed.java30 import com.sun.star.connection.Acceptor;
31 import com.sun.star.connection.Connector;
32 import com.sun.star.connection.XAcceptor;
33 import com.sun.star.connection.XConnection;
34 import com.sun.star.connection.XConnector;
131 XConnection connection = connector.connect(connectionDescription); in getBridge() local
134 "", protocolDescription, connection, null); in getBridge()
175 XConnection connection = acceptor.accept( in run() local
179 "", protocolDescription, connection, provider); in run()
/trunk/test/testcommon/source/org/openoffice/test/common/
H A DReportUploader.java87 HttpURLConnection connection = (HttpURLConnection) new URL(url).openConnection(); in upload() local
88 connection.setDoInput(true); in upload()
89 connection.setDoOutput(true); in upload()
90 connection.setConnectTimeout(20 * 1000); in upload()
91 connection.setRequestMethod("POST"); in upload()
92connection.setRequestProperty("Content-type", "multipart/form-data;boundary=" + boundary); in upload()
94 out = connection.getOutputStream(); in upload()
126 String response = FileUtil.readStreamAsString(connection.getInputStream(), "UTF-8"); in upload()
/trunk/main/connectivity/java/sdbc_postgresql/src/com/sun/star/sdbcx/comp/postgresql/
H A DPostgresqlDriver.java111 XConnection connection = null; in connect() local
137 connection = driverManager.getConnectionWithInfo(jdbcUrl, jdbcInfo); in connect()
138 if (connection != null) { in connect()
139 connection = new PostgresqlConnection(connection, url); in connect()
147 return connection; in connect()
179 …public synchronized XTablesSupplier getDataDefinitionByConnection(XConnection connection) throws S… in getDataDefinitionByConnection() argument
181 return new PostgresqlCatalog((PostgresqlConnection)connection); in getDataDefinitionByConnection()
/trunk/main/vcl/unx/generic/app/
H A Dsm.cxx150 static void ICEWatchProc( IceConn connection, IcePointer client_data,
397 SmcConn connection, in DieProc() argument
402 if( connection == aSmcConnection ) in DieProc()
418 SmcConn connection, in ShutdownCanceledProc() argument
422 if( connection == aSmcConnection ) in ShutdownCanceledProc()
427 SmcConn connection, in InteractProc() argument
431 if( connection == aSmcConnection ) in InteractProc()
707 IceConn connection, in ICEWatchProc() argument
720 int fd = IceConnectionNumber( connection ); in ICEWatchProc()
724 pConnections[ nConnections-1 ] = connection; in ICEWatchProc()
[all …]
/trunk/main/offapi/com/sun/star/sdb/application/
H A DCopyTableWizard.idl76 … a database document (e.g. because it is a mere <code>ConnectionResource</code>, or a connection
108 <p>If the connection has been newly created by the wizard (e.g. because the
110 then this connection will be disposed upon disposal of the wizard.</p>
126 The first 5 items are used to obtain the connection, the last two to determine which
127 …of the connection's objects is to be copied. Note that <code>Command</code> and <code>CommandType<…
138 …opposed to a <type scope="com::sun::star::sdb">Connection</type>), then the resulting connection is
151 … are supported, effectively describing the target connection to copy the data to. They're evaluated
154 <p>Also, at the moment the connection which is implied by either of the settings above
156 it is not sufficient to pass an SDBC-level connection.</p>
159 not supported if the target connection is an SDBC-level connection only.</p>
[all …]
/trunk/main/javaunohelper/com/sun/star/lib/uno/helper/
H A DUnoUrl.java67 private UnoUrlPart connection; field in UnoUrl
112 this.connection = connectionPart; in UnoUrl()
124 return connection.getPartTypeName(); in getConnection()
166 return connection.getPartParameters(); in getConnectionParameters()
188 return connection.getUninterpretedParameterString(); in getConnectionParametersAsString()
210 return connection.getUninterpretedString(); in getConnectionAndParametersAsString()
383 String connection = url.substring(0, index).trim(); in parseUnoUrl() local
386 UnoUrlPart connectionPart = parseUnoUrlPart(connection); in parseUnoUrl()
/trunk/main/offapi/com/sun/star/drawing/
H A DConnectionType.idl35 connection line leaves the connection point.
42 /** the connection point is chosen automatically,
49 /** the connection line leaves the connected object to the left,
56 /** the connection line leaves the connected object from the top,
63 /** the connection line leaves the connected object to the right,
70 /** the connection line leaves the connected object from the bottom,
/trunk/main/embeddedobj/qa/complex/embedding/
H A DEmbeddingUnitTest.java27 import com.sun.star.connection.XConnector;
28 import com.sun.star.connection.XConnection;
62 private static final OfficeConnection connection = new OfficeConnection(); field in EmbeddingUnitTest
67 connection.setUp(); in beforeClass()
73 connection.tearDown(); in afterClass()
79 …ceFactory xMSF = UnoRuntime.queryInterface(XMultiServiceFactory.class, connection.getComponentCont… in ExecuteTest01()
/trunk/main/offapi/com/sun/star/sdbc/
H A DXConnection.idl49 /** represents a connection (session) with a specific
57 procedures, and the capabilities of this connection. This
197 /** sets this connection's auto-commit mode.
201 If a connection is in auto-commit mode, then all its SQL
268 /** tests to see if a connection is closed.
280 <TRUE/> if the connection is closed; <FALSE/> if it's still open.
287 /** gets the metadata regarding this connection's database.
293 procedures, the capabilities of this connection, and so on. This
306 /** puts this connection in read-only mode as a hint to enable
329 /** tests to see if the connection is in read-only mode.
[all …]

12345678910>>...20