Home
last modified time | relevance | path

Searched refs:connection (Results 1 – 25 of 482) 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
95 a sequence of supported connection types.
100 Register a connection listener.
110 Unregister a connection listener.
128 the current connection context.
131 if no connection is currently established.
161 like the connection attempt.
172 misses required connection parameters.
186 the network connection is broken, etc.
[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.
125 connection type will be used.
132 if the provided connection type is not supported.
141 Allow a client to query if a certain connection type is
145 [in] query if a certain connection type is supported.
148 <TRUE/> if the specified connection type is supported.
153 Register a connection listener.
163 Unregister a connection listener.
[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()
170 connection.commit(); in commit()
249 return connection.isReadOnly(); in isReadOnly()
296 connection.rollback(); in rollback()
314 connection.setCatalog(catalog); in setCatalog()
323 connection.setReadOnly(readOnly); in setReadOnly()
423 if (connection != null) { in loadDriverFromProperties()
[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" ;
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" ;
121 Text [ en-US ] = "Set up Spreadsheet 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()
169 statement = connection.createStatement(); in appendObject()
182 XConnection connection = table.getConnection(); in dropObject() local
183 if (connection == null) { in dropObject()
[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()
234 XConnection connection = table.getConnection(); in dropObject() local
235 if (connection == null) { in dropObject()
240 String tableName = DbTools.composeTableName(connection.getMetaData(), table, in dropObject()
253 … DbTools.quoteName(connection.getMetaData().getIdentifierQuoteString(), name)); in dropObject()
[all …]
/trunk/main/bean/qa/complex/bean/
H A DOOoBeanTest.java122 f = new WriterFrame(100 ,100, 500 ,400, false, connection.getComponentContext()); in test1()
144 f = new WriterFrame(100, 100, 500,500, false, connection.getComponentContext()); in test2()
297 f = new WriterFrame(100, 100, 500, 300, true, connection.getComponentContext()); in test3()
322 f = new WriterFrame(100, 100, 500, 300, false, connection.getComponentContext()); in test4()
356 f = new WriterFrame(100, 100, 500, 400, false, connection.getComponentContext()); in test5()
598 f = new WriterFrame(100 ,100, 500 ,400, false, connection.getComponentContext()); in test7()
631 … OOoBean bean1 = new OOoBean(new PrivateLocalOfficeConnection(connection.getComponentContext())); in test8()
633 … OOoBean bean2 = new OOoBean(new PrivateLocalOfficeConnection(connection.getComponentContext())); in test8()
718 connection.setUp(); in setUpConnection()
725 connection.tearDown(); in tearDownConnection()
[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=locahost,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
278 … boolean useSchemaInSelect = isDataSourcePropertyEnabled(connection, "UseSchemaInSelect", true); in composeTableNameForSelect()
279 return doComposeTableName(connection.getMetaData(), useCatalogInSelect ? catalog : "", 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
417 XDatabaseMetaData metadata = connection.getMetaData(); in createStandardCreateStatement()
469 XDatabaseMetaData metadata = connection.getMetaData(); in createStandardColumnPart()
587 XDatabaseMetaData metadata = connection.getMetaData(); in createStandardKeyStatement()
[all …]
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/ifc/connection/
H A D_XAcceptor.java24 package ifc.connection;
31 import com.sun.star.connection.XAcceptor;
32 import com.sun.star.connection.XConnection;
33 import com.sun.star.connection.XConnector;
87 } catch (com.sun.star.connection.ConnectionSetupException e) { in run()
89 } catch (com.sun.star.connection.AlreadyAcceptingException e) { in run()
194 } catch (com.sun.star.connection.ConnectionSetupException e) { in _accept()
197 } catch (com.sun.star.connection.NoConnectException e) { in _accept()
249 com.sun.star.connection.AlreadyAcceptingException || in _accept()
251 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
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
143 supported by this connection point.
[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()
92 connection.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.cxx397 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()
765 if( pConnections[i] == 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<…
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>
165 to describe a database connection.</li>
[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/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 …]
/trunk/main/udkapi/com/sun/star/bridge/
H A DXBridgeFactory.idl28 #include <com/sun/star/connection/XConnection.idl>
49 The protocol, that will be used on the connection (e.g., urp) plus additional
53 The connection, which is used to transfer the calls. The bridge expects to
54 own the connection, thus it will close the connection, in case it does not
65 The protocol is unknown or the connection is null.
70 [in] com::sun::star::connection::XConnection aConnection ,

Completed in 92 milliseconds

12345678910>>...20