/aoo41x/main/svx/source/fmcomp/ |
H A D | dbaexchange.cxx | 111 sal_Int32 nCommandType = CommandType::TABLE; in OColumnTransferable() 146 nCommandType = CommandType::TABLE; in OColumnTransferable() 199 case CommandType::TABLE: in implConstruct() 202 case CommandType::QUERY: in implConstruct() 460 ,!((CommandType::QUERY == nObjectType)) in ODataAccessObjectTransferable() 471 case CommandType::TABLE: in AddSupportedFormats() 474 case CommandType::QUERY: in AddSupportedFormats() 477 case CommandType::COMMAND: in AddSupportedFormats() 632 case CommandType::TABLE: in construct() 635 case CommandType::QUERY: in construct() [all …]
|
/aoo41x/main/offapi/com/sun/star/sdb/tools/ |
H A D | XObjectNames.idl | 85 @param CommandType 88 or <member scope="com::sun::star::sdb">CommandType::QUERY</member>. 95 if <arg>CommandType</arg> specifies an invalid command type. 97 string suggestName( [in] long CommandType, [in] string BaseName ) 120 @param CommandType 121 specifies the <type scope="com::sun::star::sdb">CommandType</type> of the object whose 123 or <member scope="com::sun::star::sdb">CommandType::QUERY</member>. 133 if <arg>CommandType</arg> specifies an invalid command type. 137 boolean isNameUsed( [in] long CommandType, [in] string Name ) 150 boolean isNameValid( [in] long CommandType, [in] string Name ) [all …]
|
/aoo41x/main/dbaccess/qa/complex/dbaccess/ |
H A D | QueryInQuery.java | 28 import com.sun.star.sdb.CommandType; 95 CommandType.COMMAND, "SELECT * FROM \"query products\"", in executeSimpleSelect() 96 CommandType.QUERY,QUERY_PRODUCTS); in executeSimpleSelect() 106 CommandType.COMMAND, "SELECT \"PROD\".\"ID\" FROM \"query products\" AS \"PROD\"", in executeAliasedSelect() 107 CommandType.COMMAND, "SELECT \"ID\" FROM \"products\"" ); in executeAliasedSelect() 109 CommandType.COMMAND, "SELECT \"PROD\".* FROM \"query products\" AS \"PROD\"", in executeAliasedSelect() 110 CommandType.QUERY,QUERY_PRODUCTS); in executeAliasedSelect() 158 …final RowSet rowSet = m_database.getDatabase().createRowSet( CommandType.QUERY, "orders level 0" ); in checkCyclicReferences()
|
/aoo41x/main/offapi/com/sun/star/sdb/ |
H A D | QueryDesign.idl | 101 being <member>CommandType::COMMAND</member>, the initial SQL command.<br/> 106 <li><a name="command_type"></a><b>CommandType</b><br/> 109 <ul><li><member>CommandType::QUERY</member> specifies the designer should operate in 118 <li><member>CommandType::COMMAND</member> specifies the designer should operate in 124 <li><member>CommandType::TABLE</member> specifies the designer should operate in 132 If not present, this parameter defaults to <member>CommandType::QUERY</member>. 153 is the same as Command, and implies a <a href="#command_type">CommandType</a> of 154 <member>CommandType::QUERY</member></li> 160 is the same as Command, and implies a <a href="#command_type">CommandType</a> of 161 <member>CommandType::COMMAND</member></li> [all …]
|
H A D | DataAccessDescriptor.idl | 109 <member>CommandType</member> is <member>CommandType::QUERY</member>, the ActiveConnection needs 121 <p>This property is only meaningful together with the <member>CommandType</member> 124 @see CommandType 136 @see com::sun::star::sdb::CommandType 138 [optional, property] long CommandType; 145 <p>If a <member>DataSourceName</member>, <member>Command</member> and <member>CommandType</member> 185 …<member>CommandType</member> properties, and is evaluated if and only if <member>CommandType</memb… 186 equals <member>CommandType::COMMAND</member>.</p> 193 …<member>ActiveConnection</member>), <member>Command</member> and <member>CommandType</member> to s… 214 …<member>CommandType</member>) or explicitly (<member>ResultSet</member>), the set of results can be [all …]
|
H A D | XSingleSelectQueryAnalyzer.idl | 223 on the CommandType. 225 <p>In case of a <member>CommandType</member> of <member>CommandType::COMMAND</member>, 235 @see com::sun::star::sdb::CommandType 237 @param CommandType 239 @see com::sun::star::sdb::CommandType 246 void setCommand([in] string Command ,[in] long CommandType)
|
/aoo41x/main/wizards/com/sun/star/wizards/ui/ |
H A D | CommandFieldSelection.java | 29 import com.sun.star.sdb.CommandType; 176 if (_nCommandType == CommandType.TABLE) in getCommandPrefix() 180 else if (_nCommandType == CommandType.QUERY) in getCommandPrefix() 237 … binitialize = CurDBMetaData.getFieldNamesOfCommand(curCommandName, CommandType.TABLE, AppendMode); in fillUpFieldsListbox() 243 CurDBMetaData.setCommandType(CommandType.TABLE); in fillUpFieldsListbox() 246 … binitialize = CurDBMetaData.getFieldNamesOfCommand(curCommandName, CommandType.TABLE, AppendMode); in fillUpFieldsListbox() 250 CurDBMetaData.setCommandType(CommandType.QUERY); in fillUpFieldsListbox() 253 … binitialize = CurDBMetaData.getFieldNamesOfCommand(curCommandName, CommandType.QUERY, AppendMode); in fillUpFieldsListbox() 391 return CommandType.TABLE; in getSelectedCommandType() 395 return CommandType.QUERY; in getSelectedCommandType()
|
/aoo41x/main/dbaccess/source/ui/app/ |
H A D | AppControllerDnD.cxx | 640 …pData = new ODataClipboard(sDataSource, CommandType::TABLE, sName, xConnection, getNumberFormatter… in copyObject() 644 …pData = new ODataClipboard(sDataSource, CommandType::QUERY, sName, getNumberFormatter(xConnection,… in copyObject() 686 sal_Int32 nCommandType = CommandType::TABLE; in paste() 690 if ( CommandType::QUERY == nCommandType || CommandType::COMMAND == nCommandType ) in paste() 704 if (CommandType::QUERY == nCommandType) in paste() 706 else if (CommandType::COMMAND == nCommandType) in paste() 718 if ( CommandType::QUERY == nCommandType ) in paste() 736 if (CommandType::QUERY == nCommandType) in paste() 780 DynamicTableOrQueryNameCheck aNameChecker( getConnection(), CommandType::QUERY ); in paste() 790 CommandType::QUERY, in paste()
|
/aoo41x/main/offapi/com/sun/star/chart2/data/ |
H A D | XDatabaseDataProvider.idl | 114 on the CommandType. 115 <p>In case of a <member>CommandType</member> of <member>CommandType::COMMAND</member>, 126 @see com::sun::star::sdb::CommandType 137 @see com::sun::star::sdb::CommandType 139 [attribute,bound] long CommandType; 145 <p>If a <member>DataSourceName</member>, <member>Command</member> and <member>CommandType</member> 187 …<member>CommandType</member> properties, and is evaluated if and only if <member>CommandType</memb… 188 equals <member>CommandType::COMMAND</member>.</p>
|
/aoo41x/main/connectivity/source/commontools/ |
H A D | statementcomposer.cxx | 62 namespace CommandType = ::com::sun::star::sdb::CommandType; 84 ,nCommandType( CommandType::COMMAND ) in StatementComposer_Data() 127 case CommandType::COMMAND: in lcl_ensureUpToDateComposer_nothrow() 133 case CommandType::TABLE: in lcl_ensureUpToDateComposer_nothrow() 147 case CommandType::QUERY: in lcl_ensureUpToDateComposer_nothrow()
|
/aoo41x/main/dbaccess/source/sdbtools/connection/ |
H A D | objectnames.cxx | 79 namespace CommandType = ::com::sun::star::sdb::CommandType; 326 if ( ( _nCommandType != CommandType::TABLE ) in verifyCommandType() 327 && ( _nCommandType != CommandType::QUERY ) in verifyCommandType() 366 else if ( _nCommandType == CommandType::TABLE ) in createExistenceCheck() 392 if ( _nCommandType == CommandType::TABLE ) in createValidityCheck() 433 if ( _CommandType == CommandType::TABLE ) in suggestName()
|
H A D | objectnames.hxx | 74 …virtual ::rtl::OUString SAL_CALL suggestName( ::sal_Int32 CommandType, const ::rtl::OUString& Base… 76 …virtual ::sal_Bool SAL_CALL isNameUsed( ::sal_Int32 CommandType, const ::rtl::OUString& Name ) thr… 77 …virtual ::sal_Bool SAL_CALL isNameValid( ::sal_Int32 CommandType, const ::rtl::OUString& Name ) th… 78 …virtual void SAL_CALL checkNameForCreate( ::sal_Int32 CommandType, const ::rtl::OUString& Name ) t…
|
/aoo41x/main/reportbuilder/java/com/sun/star/report/ |
H A D | SDBCReportDataFactory.java | 35 import com.sun.star.sdb.CommandType; 185 int commandType = CommandType.COMMAND; in queryData() 191 commandType = CommandType.QUERY; in queryData() 195 commandType = CommandType.TABLE; in queryData() 199 commandType = CommandType.COMMAND; in queryData() 525 rowSetProp.setPropertyValue(UNO_COMMAND_TYPE, Integer.valueOf(CommandType.COMMAND)); in createParameter() 543 if (order.length() > 0 && commandType != CommandType.TABLE) in fillOrderStatement() 562 if (commandType == CommandType.QUERY) in fillOrderStatement() 582 rowSetProp.setPropertyValue(UNO_COMMAND_TYPE, Integer.valueOf(CommandType.COMMAND)); in fillOrderStatement()
|
/aoo41x/main/offapi/com/sun/star/report/ |
H A D | XReportDefinition.idl | 213 on the CommandType. 214 <p>In case of a <member>CommandType</member> of <member>CommandType::COMMAND</member>, 225 @see com::sun::star::sdb::CommandType 236 @see com::sun::star::sdb::CommandType 238 [attribute,bound] long CommandType; 244 … <p>If a <member>DataSourceName</member>, <member>Command</member> and <member>CommandType</member> 263 …<member>CommandType</member> properties, and is evaluated if and only if <member>CommandType</memb… 264 equals <member>CommandType::COMMAND</member>.</p>
|
/aoo41x/main/qadevOOo/tests/java/mod/_sw/ |
H A D | SwXMailMerge.java | 38 import com.sun.star.sdb.CommandType; 120 oRowSetProps.setPropertyValue("CommandType", new Integer(CommandType.TABLE)); in createTestEnvironment() 166 oObjProps.setPropertyValue("CommandType", new Integer(CommandType.TABLE)); in createTestEnvironment() 196 vXJobArg0[2] = new NamedValue("CommandType",new Integer(CommandType.TABLE)); in createTestEnvironment() 206 vXJobArg1[2] = new NamedValue("CommandType",new Integer(CommandType.TABLE)); in createTestEnvironment() 217 vXJobArg2[3] = new NamedValue("CommandType",new Integer(CommandType.TABLE)); in createTestEnvironment() 258 oRowSetProps.setPropertyValue("CommandType", new Integer(CommandType.TABLE)); in createTestEnvironment()
|
/aoo41x/main/wizards/com/sun/star/wizards/db/ |
H A D | DBMetaData.java | 234 CommandTypes[i] = com.sun.star.sdb.CommandType.TABLE; in setCommandTypes() 239 CommandTypes[a] = com.sun.star.sdb.CommandType.QUERY; in setCommandTypes() 253 … CommandObject oTableObject = new CommandObject(_tableName, com.sun.star.sdb.CommandType.TABLE); in setTableByName() 259 return getCommandByName(_tablename, com.sun.star.sdb.CommandType.TABLE); in getTableByName() 264 return getCommandByName(_queryname, com.sun.star.sdb.CommandType.QUERY); in getQueryByName() 273 if ((oCommand.Name.equals(_commandname)) && (oCommand.CommandType == _commandtype)) in getCommandByName() 288 … CommandObject oQueryObject = new CommandObject(_QueryName, com.sun.star.sdb.CommandType.QUERY); in setQueryByName() 298 private int CommandType; field in DBMetaData.CommandObject 306 this.CommandType = _CommandType; in CommandObject() 311 if (CommandType == com.sun.star.sdb.CommandType.TABLE) in CommandObject() [all …]
|
/aoo41x/main/wizards/com/sun/star/wizards/report/ |
H A D | ReportWizard.java | 37 import com.sun.star.sdb.CommandType; 268 if (this.CurDBCommandFieldSelection.getSelectedCommandType() == CommandType.TABLE) in executeQuery() 273 m_reportDocument.setCommandType(CommandType.COMMAND); in executeQuery() 298 m_reportDocument.setCommandType(CommandType.COMMAND); in executeQuery() 304 m_reportDocument.setCommandType(CommandType.COMMAND); in executeQuery() 532 …e = m_reportDocument.getRecordParser().executeCommand(com.sun.star.sdb.CommandType.QUERY); // … in importReportData() 536 …e = m_reportDocument.getRecordParser().executeCommand(com.sun.star.sdb.CommandType.COMMAND); // … in importReportData() 669 boolean bdoenable = (nlCommandType == CommandType.TABLE); in toggleSortingPage()
|
/aoo41x/main/dbaccess/source/core/misc/ |
H A D | objectnameapproval.cxx | 70 namespace CommandType = com::sun::star::sdb::CommandType; 89 m_pImpl->nCommandType = _eType == TypeQuery ? CommandType::QUERY : CommandType::TABLE; in ObjectNameApproval()
|
/aoo41x/main/dbaccess/source/ui/querydesign/ |
H A D | querycontroller.cxx | 330 ,m_nCommandType( CommandType::QUERY ) in OQueryController() 853 m_nCommandType = CommandType::QUERY; in impl_initialize() 864 m_nCommandType = CommandType::COMMAND; in impl_initialize() 872 m_nCommandType = CommandType::QUERY; in impl_initialize() 879 m_nCommandType = CommandType::TABLE; in impl_initialize() 891 case CommandType::QUERY: in impl_initialize() 894 case CommandType::TABLE: in impl_initialize() 897 case CommandType::COMMAND: in impl_initialize() 978 m_nCommandType = CommandType::QUERY; in impl_initialize() 1312 aProps[1].Value <<= CommandType::COMMAND; in executeQuery() [all …]
|
/aoo41x/main/dbaccess/source/ui/browser/ |
H A D | dsbrowserDnD.cxx | 83 if ( CommandType::QUERY != _nCommandType ) in implCopyObject() 203 …mplCopyObject( pHitEntry, ( etTableOrView == eEntryType ) ? CommandType::TABLE : CommandType::QUER… in requestDrag() 231 pTransfer = implCopyObject( _pEntry, eType == etQuery ? CommandType::QUERY : CommandType::TABLE); in copyEntry()
|
H A D | unodatbr.cxx | 1225 case CommandType::TABLE: in getObjectEntry() 1229 case CommandType::QUERY: in getObjectEntry() 1301 sal_Int32 nCommandType = CommandType::COMMAND; in getObjectEntry() 1854 case CommandType::TABLE: in GetState() 1856 case CommandType::QUERY: in GetState() 1857 case CommandType::COMMAND: in GetState() 2634 ? CommandType::TABLE in implSelect() 2635 : CommandType::QUERY; in implSelect() 2672 case CommandType::TABLE: in implSelect() 2687 case CommandType::QUERY: in implSelect() [all …]
|
/aoo41x/main/odk/examples/DevelopersGuide/Database/ |
H A D | RowSet.java | 38 import com.sun.star.sdb.CommandType; 97 xProp.setPropertyValue("CommandType",new Integer(com.sun.star.sdb.CommandType.TABLE)); in useRowSet() 120 xProp.setPropertyValue("CommandType",new Integer(com.sun.star.sdb.CommandType.TABLE)); in showRowSetPrivileges() 154 xProp.setPropertyValue("CommandType",new Integer(com.sun.star.sdb.CommandType.TABLE)); in showRowSetRowCount() 193 xProp.setPropertyValue("CommandType",new Integer(com.sun.star.sdb.CommandType.TABLE)); in showRowSetEvents()
|
/aoo41x/main/dbaccess/source/ui/misc/ |
H A D | databaseobjectview.cxx | 198 ,m_nCommandType( _bCreateView ? CommandType::TABLE : CommandType::QUERY ) in QueryDesigner() 210 … const bool bEditViewAsSQLCommand = ( m_nCommandType == CommandType::TABLE ) && !bGraphicalDesign; in fillDispatchArgs() 314 …gs.put( (::rtl::OUString)PROPERTY_COMMAND_TYPE, (m_bTable ? CommandType::TABLE : CommandType::QUER… in fillDispatchArgs()
|
H A D | defaultobjectnamecheck.cxx | 106 namespace CommandType = ::com::sun::star::sdb::CommandType; 200 if ( ( _nCommandType != CommandType::QUERY ) && ( _nCommandType != CommandType::TABLE ) ) in DynamicTableOrQueryNameCheck()
|
/aoo41x/main/offapi/com/sun/star/text/fieldmaster/ |
H A D | Database.idl | 52 /** contains the CommandType this 56 [property] long CommandType; 58 /** contains the command string. Depending on the CommandType property this 80 depending fields to work without setting DataSourceName, DataTableName and CommandType
|