diff options
author | Michael Hönnig <mi@openoffice.org> | 2000-11-06 08:23:00 +0000 |
---|---|---|
committer | Michael Hönnig <mi@openoffice.org> | 2000-11-06 08:23:00 +0000 |
commit | 88c437c597b604524d50f450506285a594bd03a5 (patch) | |
tree | 3c12c7a1422fc0fc7d6e9b6433b55b91aa3a80a8 /offapi/com/sun/star/sdbcx | |
parent | 09ec45ba551bfaa33e4538dc5eb8bbfe6b114fed (diff) |
moved from api
Diffstat (limited to 'offapi/com/sun/star/sdbcx')
50 files changed, 6305 insertions, 0 deletions
diff --git a/offapi/com/sun/star/sdbcx/CheckOption.idl b/offapi/com/sun/star/sdbcx/CheckOption.idl new file mode 100644 index 000000000000..8ab280a11181 --- /dev/null +++ b/offapi/com/sun/star/sdbcx/CheckOption.idl @@ -0,0 +1,112 @@ +/************************************************************************* + * + * $RCSfile: CheckOption.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:00 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_sdbcx_CheckOption_idl__ +#define __com_sun_star_sdbcx_CheckOption_idl__ + + module com { module sun { module star { module sdbcx { + + +// DocMerge from idl: constants com::sun::star::sdbcx::CheckOption +/** determines the check option for a view. + */ +constants CheckOption +{ + + // DocMerge from idl: value com::sun::star::sdbcx::CheckOption::NONE + /** indicates that no value checking is applied during updates of + view data. + */ + const long NONE = 0; + //------------------------------------------------------------------------- + + // DocMerge from idl: value com::sun::star::sdbcx::CheckOption::CASCADE + /** indicates that the value checking is applied for the view and all base + views. + */ + const long CASCADE = 2; + //------------------------------------------------------------------------- + + // DocMerge from idl: value com::sun::star::sdbcx::CheckOption::LOCAL + /** indicates that the value checking is applied only for the view. + */ + const long LOCAL = 3; +}; + +//============================================================================= + +}; }; }; }; + +/*=========================================================================== + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:43 hjs + initial import + + Revision 1.4 2000/09/11 11:52:44 mi + documentation merged from XML + + Revision 1.2 1999/12/20 16:26:13 dg + #70278# new package name + + Revision 1.1 1999/11/24 08:42:06 dg + new StarDataDefinitionBeans + +===========================================================================*/ +#endif diff --git a/offapi/com/sun/star/sdbcx/Column.idl b/offapi/com/sun/star/sdbcx/Column.idl new file mode 100644 index 000000000000..2a85706dbfcd --- /dev/null +++ b/offapi/com/sun/star/sdbcx/Column.idl @@ -0,0 +1,213 @@ +/************************************************************************* + * + * $RCSfile: Column.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:00 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_sdbcx_Column_idl__ +#define __com_sun_star_sdbcx_Column_idl__ + +#ifndef __com_sun_star_beans_XPropertySet_idl__ +#include <com/sun/star/beans/XPropertySet.idl> +#endif + + module com { module sun { module star { module sdbcx { + +interface XDataDescriptorFactory; + + +// DocMerge from xml: service com::sun::star::sdbcx::Column +/** describes the common properties of a database column. + */ +service Column +{ + + // DocMerge from xml: service com::sun::star::sdbcx::Column: interface com::sun::star::sdbcx::XDataDescriptorFactory + /** optional, could be used to copy a database column. + */ + interface XDataDescriptorFactory; + + // DocMerge: empty anyway + interface com::sun::star::beans::XPropertySet; + + + // DocMerge from xml: property com::sun::star::sdbcx::Column::Name + /** is the name of the column. + */ + [readonly, property] string Name; + + + // DocMerge from xml: property com::sun::star::sdbcx::Column::Type + /** is the <type scope="com::sun::star::sdbc">DataType</type> of the column. + */ + [readonly, property] long Type; + + + // DocMerge from xml: property com::sun::star::sdbcx::Column::TypeName + /** is the type name used by the database. If the column type is + a user-defined type, then a fully-qualified type name is returned. + May be empty. + */ + [readonly, property] string TypeName; + + + // DocMerge from xml: property com::sun::star::sdbcx::Column::Precision + /** gets a column's number of decimal digits. + */ + [readonly, property] long Precision; + + + // DocMerge from xml: property com::sun::star::sdbcx::Column::Scale + /** gets a column's number of digits to right of the decimal point. + */ + [readonly, property] long Scale; + + + // DocMerge from xml: property com::sun::star::sdbcx::Column::IsNullable + /** indicates the nullability of values in the designated column.@see com::sun::star::sdbc::ColumnValue + */ + [readonly, property] long IsNullable; + + + // DocMerge from xml: property com::sun::star::sdbcx::Column::IsAutoIncrement + /** indicates whether the column is automatically numbered, thus read-only.@see com::sun::star::sdbc::ColumnValue + */ + [readonly, property] boolean IsAutoIncrement; + + + // DocMerge from xml: property com::sun::star::sdbcx::Column::IsCurrency + /** indicates whether the column is a cash value. + */ + [readonly, property] boolean IsCurrency; + + + + // DocMerge from xml: property com::sun::star::sdbcx::Column::IsRowVersion + /** indicates that the column contains some kind of time or date stamp + used to track updates. + + + + + + + + + + @optional + */ + [optional, readonly, property] boolean IsRowVersion; + + + // DocMerge from xml: property com::sun::star::sdbcx::Column::Description + /** keeps a description of the object. + + + + + + + + + + @optional + o + */ + [optional, readonly, property] string Description; + + + // DocMerge from xml: property com::sun::star::sdbcx::Column::DefaultValue + /** keeps a default value for a column, is provided as string. + + + + + + + + + + @optional + n conta + */ + [optional, readonly, property] string DefaultValue; + +}; + +//============================================================================= + +}; }; }; }; + +/*=========================================================================== + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:43 hjs + initial import + + Revision 1.5 2000/09/11 11:52:44 mi + documentation merged from XML + + Revision 1.3 2000/06/26 16:21:50 dg + IsCurrency new + + Revision 1.2 1999/12/20 16:26:13 dg + #70278# new package name + + Revision 1.1 1999/11/24 08:42:06 dg + new StarDataDefinitionBeans + +===========================================================================*/ +#endif diff --git a/offapi/com/sun/star/sdbcx/ColumnDescriptor.idl b/offapi/com/sun/star/sdbcx/ColumnDescriptor.idl new file mode 100644 index 000000000000..fa034b7d8026 --- /dev/null +++ b/offapi/com/sun/star/sdbcx/ColumnDescriptor.idl @@ -0,0 +1,157 @@ +/************************************************************************* + * + * $RCSfile: ColumnDescriptor.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:00 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_sdbcx_ColumnDescriptor_idl__ +#define __com_sun_star_sdbcx_ColumnDescriptor_idl__ + +#ifndef __com_sun_star_sdbcx_Descriptor_idl__ +#include <com/sun/star/sdbcx/Descriptor.idl> +#endif + + module com { module sun { module star { module sdbcx { + + +// DocMerge from xml: service com::sun::star::sdbcx::ColumnDescriptor +/** describes the common properties of a database column. Could be used for the creation + of a database column within a table.@see com::sun::star::sdbcx::Column + @see com::sun::star::sdbcx::Table + */ +service ColumnDescriptor +{ + // DocMerge: empty anyway + service com::sun::star::sdbcx::Descriptor; + + + // DocMerge from xml: property com::sun::star::sdbcx::ColumnDescriptor::Type + /** is the <type scope="com::sun::star::sdbc">DataType</type> of the column. + */ + [property] long Type; + + + // DocMerge from xml: property com::sun::star::sdbcx::ColumnDescriptor::TypeName + /** is the type name used by the database. If the column type is + a user-defined type, then a fully-qualified type name is returned. + May be empty. + */ + [property] string TypeName; + + + // DocMerge from xml: property com::sun::star::sdbcx::ColumnDescriptor::Precision + /** gets a column's number of decimal digits. + */ + [property] long Precision; + + + // DocMerge from xml: property com::sun::star::sdbcx::ColumnDescriptor::Scale + /** gets a column's number of digits to right of the decimal point. + */ + [property] long Scale; + + + // DocMerge from xml: property com::sun::star::sdbcx::ColumnDescriptor::IsNullable + /** indicates the nullability of values in the designated column.@see com::sun::star::sdbc::ColumnValue + */ + [property] long IsNullable; + + + // DocMerge from xml: property com::sun::star::sdbcx::ColumnDescriptor::IsAutoIncrement + /** indicates whether the column is automatically numbered, thus read-only.@see com::sun::star::sdbc::ColumnValue + */ + [property] boolean IsAutoIncrement; + + + // DocMerge from xml: property com::sun::star::sdbcx::ColumnDescriptor::IsRowVersion + /** indicates that the column contains some kind of time or date stamp + used to track updates. + */ + [optional, property] boolean IsRowVersion; + + + // DocMerge from xml: property com::sun::star::sdbcx::ColumnDescriptor::Description + /** keeps a description of the object. + */ + [optional, property] string Description; + + + // DocMerge from xml: property com::sun::star::sdbcx::ColumnDescriptor::DefaultValue + /** keeps a default value for a column, is provided as string. + */ + [optional, property] string DefaultValue; + +}; + +//============================================================================= + +}; }; }; }; + +/*=========================================================================== + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:43 hjs + initial import + + Revision 1.3 2000/09/11 11:52:44 mi + documentation merged from XML + + Revision 1.1 2000/06/05 13:03:39 dg + new Services + + +===========================================================================*/ +#endif diff --git a/offapi/com/sun/star/sdbcx/CompareBookmark.idl b/offapi/com/sun/star/sdbcx/CompareBookmark.idl new file mode 100644 index 000000000000..eca5364cb551 --- /dev/null +++ b/offapi/com/sun/star/sdbcx/CompareBookmark.idl @@ -0,0 +1,122 @@ +/************************************************************************* + * + * $RCSfile: CompareBookmark.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:00 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_sdbcx_CompareBookmark_idl__ +#define __com_sun_star_sdbcx_CompareBookmark_idl__ + + module com { module sun { module star { module sdbcx { + + +// DocMerge from idl: constants com::sun::star::sdbcx::CompareBookmark +/** describes the result of a comparision of two bookmarks. + */ +constants CompareBookmark +{ + + // DocMerge from idl: value com::sun::star::sdbcx::CompareBookmark::LESS + /** the first bookmark is before the second located. + */ + const long LESS = -1; + + + // DocMerge from idl: value com::sun::star::sdbcx::CompareBookmark::EQUAL + /** the first bookmark is equal to the second. + */ + const long EQUAL = 0; + + + // DocMerge from idl: value com::sun::star::sdbcx::CompareBookmark::GREATER + /** the first bookmark is behind the second one. + */ + const long GREATER = 1; + + + // DocMerge from idl: value com::sun::star::sdbcx::CompareBookmark::NOT_EQUAL + /** the first bookmark is behind the second one. + */ + const long NOT_EQUAL = 2; + + + // DocMerge from idl: value com::sun::star::sdbcx::CompareBookmark::NOT_COMPARABLE + /** The two bookmarks can not be compared. + */ + const long NOT_COMPARABLE = 3; +}; + +//============================================================================= + +}; }; }; }; + +/*=========================================================================== + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:43 hjs + initial import + + Revision 1.3 2000/09/11 11:52:44 mi + documentation merged from XML + + Revision 1.1 1999/12/20 16:27:19 dg + #70278# new files from sdbc + + Revision 1.1 1999/11/24 08:40:59 dg + new StarDataBaseConnectivity + +===========================================================================*/ +#endif diff --git a/offapi/com/sun/star/sdbcx/Container.idl b/offapi/com/sun/star/sdbcx/Container.idl new file mode 100644 index 000000000000..119cd6cc1399 --- /dev/null +++ b/offapi/com/sun/star/sdbcx/Container.idl @@ -0,0 +1,150 @@ +/************************************************************************* + * + * $RCSfile: Container.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:00 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_sdbcx_Container_idl__ +#define __com_sun_star_sdbcx_Container_idl__ + + module com { module sun { module star { module container { +interface XNameAccess; +interface XIndexAccess; +interface XEnumerationAccess; +};};};}; + + module com { module sun { module star { module util { +interface XRefreshable; +};};};}; + + module com { module sun { module star { module sdbcx { + +interface XDataDescriptorFactory; +interface XAppend; +interface XDrop; + + +// DocMerge from xml: service com::sun::star::container::com::sun::star::util::com::sun::star::sdbcx::Container +/** describes every container which is used for data definition. Each + container must support the access to its elements by the element's name or + by the element's position. + + + <p>Simple enumeration must be supported as well. + </p> + <p>To reflect the changes with the underlying database, a refresh mechanism + needs to be supported. + </p> + <p>A container may support the possibility to add new elements or to drop + existing elements. Additions are always done by descriptors which define the + properties of the new element.</p> + */ +service Container +{ + // DocMerge: empty anyway + interface com::sun::star::container::XNameAccess; + + // DocMerge: empty anyway + interface com::sun::star::container::XIndexAccess; + + // DocMerge: empty anyway + interface com::sun::star::container::XEnumerationAccess; + + + // DocMerge from xml: service com::sun::star::container::com::sun::star::util::com::sun::star::sdbcx::Container: interface com::sun::star::util::XRefreshable + /** is optional for implementation + */ + interface com::sun::star::util::XRefreshable; + + // DocMerge from xml: service com::sun::star::container::com::sun::star::util::com::sun::star::sdbcx::Container: interface com::sun::star::container::com::sun::star::util::com::sun::star::sdbcx::XDataDescriptorFactory + /** optional for implementation. + */ + interface XDataDescriptorFactory; + + // DocMerge from xml: service com::sun::star::container::com::sun::star::util::com::sun::star::sdbcx::Container: interface com::sun::star::container::com::sun::star::util::com::sun::star::sdbcx::XAppend + /** optional for implementation, provides the possibility of adding + a new element to the container. + */ + interface XAppend; + + // DocMerge from xml: service com::sun::star::container::com::sun::star::util::com::sun::star::sdbcx::Container: interface com::sun::star::container::com::sun::star::util::com::sun::star::sdbcx::XDrop + /** optional for implementation, provides the possibility of dropping + an element from the container. + */ + interface XDrop; +}; + +//============================================================================= + +}; }; }; }; + +/*=========================================================================== + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:43 hjs + initial import + + Revision 1.4 2000/09/11 11:52:44 mi + documentation merged from XML + + Revision 1.2 1999/12/20 16:26:13 dg + #70278# new package name + + Revision 1.1 1999/11/24 08:42:07 dg + new StarDataDefinitionBeans + +===========================================================================*/ +#endif diff --git a/offapi/com/sun/star/sdbcx/DatabaseDefinition.idl b/offapi/com/sun/star/sdbcx/DatabaseDefinition.idl new file mode 100644 index 000000000000..6d3217ae0369 --- /dev/null +++ b/offapi/com/sun/star/sdbcx/DatabaseDefinition.idl @@ -0,0 +1,130 @@ +/************************************************************************* + * + * $RCSfile: DatabaseDefinition.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:00 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_sdbcx_DatabaseDefinition_idl__ +#define __com_sun_star_sdbcx_DatabaseDefinition_idl__ + + module com { module sun { module star { module sdbcx { + +interface XTablesSupplier; +interface XViewsSupplier; +interface XUsersSupplier; +interface XGroupsSupplier; + + +// DocMerge from xml: service com::sun::star::sdbcx::DatabaseDefinition +/** could be used as an extension for performing data definition tasks on + databases and to control the access rights on database objects. + + + <p>It may be implemented by a database driver provider, to encapsulate the + complexity of data definition and to give a common way for data definition as + the DDL of most DBMS's differs. + </p> + <p>At least the access to the tables of a database should be implemented. + The implementation of other known database objects like views is optional. + </p> + <p>To control the access rights of users, there is the possibility to + implement objects like users and groups.</p> + */ +service DatabaseDefinition +{ + // DocMerge: empty anyway + interface XTablesSupplier; + + // DocMerge from xml: service com::sun::star::sdbcx::DatabaseDefinition: interface com::sun::star::sdbcx::XViewsSupplier + /** The implementation is optional. + */ + interface XViewsSupplier; + + // DocMerge from xml: service com::sun::star::sdbcx::DatabaseDefinition: interface com::sun::star::sdbcx::XUsersSupplier + /** The implementation is optional. + */ + interface XUsersSupplier; + + // DocMerge from xml: service com::sun::star::sdbcx::DatabaseDefinition: interface com::sun::star::sdbcx::XGroupsSupplier + /** The implementation is optional. + */ + interface XGroupsSupplier; +}; + +//============================================================================= + +}; }; }; }; + +/*=========================================================================== + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:43 hjs + initial import + + Revision 1.5 2000/09/11 11:52:44 mi + documentation merged from XML + + Revision 1.3 2000/01/18 15:39:07 dg + #70278# Documentation completed + + Revision 1.2 1999/12/20 16:26:13 dg + #70278# new package name + + Revision 1.1 1999/11/24 08:42:07 dg + new StarDataDefinitionBeans + +===========================================================================*/ +#endif diff --git a/offapi/com/sun/star/sdbcx/Descriptor.idl b/offapi/com/sun/star/sdbcx/Descriptor.idl new file mode 100644 index 000000000000..aab2e9e8eac5 --- /dev/null +++ b/offapi/com/sun/star/sdbcx/Descriptor.idl @@ -0,0 +1,113 @@ +/************************************************************************* + * + * $RCSfile: Descriptor.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:00 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_sdbcx_Descriptor_idl__ +#define __com_sun_star_sdbcx_Descriptor_idl__ + +#ifndef __com_sun_star_beans_XPropertySet_idl__ +#include <com/sun/star/beans/XPropertySet.idl> +#endif + + module com { module sun { module star { module sdbcx { + + +// DocMerge from xml: service com::sun::star::sdbcx::Descriptor +/** is used to create a new object within a database. + + <p> + A descriptor is commonly create by the container of specific objects like tables or views. + After the the creation of the descriptor the properties have to be filled. + Afterwards you append the descriptor to the container and the container creates a new object based + on the informations of the descriptor. + </p> + <p>A descriptor containes at least the informations of the name of an object. + + </p>@see com::sun::star::sdbcx::XAppend; + */ +service Descriptor +{ + // DocMerge: empty anyway + interface com::sun::star::beans::XPropertySet; + + + // DocMerge from xml: property com::sun::star::sdbcx::Descriptor::Name + /** is the name for the object to create. + */ + [property] string Name; +}; + +//============================================================================= + +}; }; }; }; + +/*=========================================================================== + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:43 hjs + initial import + + Revision 1.3 2000/09/11 11:52:44 mi + documentation merged from XML + + Revision 1.1 2000/06/05 13:03:39 dg + new Services + + +===========================================================================*/ +#endif diff --git a/offapi/com/sun/star/sdbcx/Driver.idl b/offapi/com/sun/star/sdbcx/Driver.idl new file mode 100644 index 000000000000..dceff03a2eed --- /dev/null +++ b/offapi/com/sun/star/sdbcx/Driver.idl @@ -0,0 +1,133 @@ +/************************************************************************* + * + * $RCSfile: Driver.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:00 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_sdbcx_Driver_idl__ +#define __com_sun_star_sdbcx_Driver_idl__ + +#ifndef __com_sun_star_sdbc_Driver_idl__ +#include <com/sun/star/sdbc/Driver.idl> +#endif + + module com { module sun { module star { module sdbcx { + +interface XDatabaseDefinitionSupplier; +interface XCreateCatalog; +interface XDropCatalog; + + +// DocMerge from xml: service com::sun::star::sdbcx::Driver +/** extends the service <type scope="com::sun::star::sdbc">Driver</type> by + beans for data definition. + + + + <p>This service is optional for each driver. Its purpose is to define + a common way for database definition, as the DDL differs between most DBMS. + + </p> + <p>Definition and deletion of database catalogs can't be defined in a common + manner for DBMS. But it should be possible to hide much of the complexitivity + of creation and deletion of catalogs. Each driver could provide methods to + cover these tasks. + </p> + */ +service Driver +{ + // DocMerge: empty anyway + service com::sun::star::sdbc::Driver; + + // DocMerge: empty anyway + interface XDatabaseDefinitionSupplier; + + + // DocMerge from xml: service com::sun::star::sdbcx::Driver: interface com::sun::star::sdbcx::XCreateCatalog + /** is optional for implementation. + */ + interface XCreateCatalog; + + // DocMerge from xml: service com::sun::star::sdbcx::Driver: interface com::sun::star::sdbcx::XDropCatalog + /** is optional for implementation. + */ + interface XDropCatalog; +}; + +//============================================================================= + +}; }; }; }; + +/*=========================================================================== + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:43 hjs + initial import + + Revision 1.5 2000/09/11 11:52:44 mi + documentation merged from XML + + Revision 1.3 2000/05/24 11:07:47 dg + wrong interface in service definition used + + Revision 1.2 1999/12/20 16:26:13 dg + #70278# new package name + + Revision 1.1 1999/11/24 08:42:07 dg + new StarDataDefinitionBeans + +===========================================================================*/ +#endif diff --git a/offapi/com/sun/star/sdbcx/Group.idl b/offapi/com/sun/star/sdbcx/Group.idl new file mode 100644 index 000000000000..72769f0d5a8b --- /dev/null +++ b/offapi/com/sun/star/sdbcx/Group.idl @@ -0,0 +1,118 @@ +/************************************************************************* + * + * $RCSfile: Group.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:00 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_sdbcx_Group_idl__ +#define __com_sun_star_sdbcx_Group_idl__ + +#ifndef __com_sun_star_beans_XPropertySet_idl__ +#include <com/sun/star/beans/XPropertySet.idl> +#endif + + module com { module sun { module star { module sdbcx { + +interface XUsersSupplier; +interface XAuthorizable; + + +// DocMerge from xml: service com::sun::star::sdbcx::Group +/** represents a group of users, which has certain access rights for the objects + of the database. + */ +service Group +{ + // DocMerge: empty anyway + interface XUsersSupplier; + + // DocMerge: empty anyway + interface XAuthorizable; + + // DocMerge: empty anyway + interface com::sun::star::beans::XPropertySet; + + + // DocMerge from xml: property com::sun::star::sdbcx::Group::Name + /** is the name of the view. + */ + [readonly, property] string Name; +}; + +//============================================================================= + +}; }; }; }; + +/*=========================================================================== + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:43 hjs + initial import + + Revision 1.5 2000/09/11 11:52:44 mi + documentation merged from XML + + Revision 1.3 1999/12/20 16:26:13 dg + #70278# new package name + + Revision 1.2 1999/11/29 16:16:05 dg + Documentation + + Revision 1.1 1999/11/24 08:42:07 dg + new StarDataDefinitionBeans + +===========================================================================*/ +#endif diff --git a/offapi/com/sun/star/sdbcx/Index.idl b/offapi/com/sun/star/sdbcx/Index.idl new file mode 100644 index 000000000000..95e8b93c8d82 --- /dev/null +++ b/offapi/com/sun/star/sdbcx/Index.idl @@ -0,0 +1,154 @@ +/************************************************************************* + * + * $RCSfile: Index.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:00 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_sdbcx_Index_idl__ +#define __com_sun_star_sdbcx_Index_idl__ + +#ifndef __com_sun_star_beans_XPropertySet_idl__ +#include <com/sun/star/beans/XPropertySet.idl> +#endif + + module com { module sun { module star { module sdbcx { + +interface XColumnsSupplier; +interface XDataDescriptorFactory; + + +// DocMerge from xml: service com::sun::star::sdbcx::Index +/** is used to specify the index for a database table. It refers to one or + more columns of a table. + + + <p> + <b>Note:</b> + All properties and columns of an index could by modified before they are appended + to a table. In that case the service is a data descriptor.</p> + */ +service Index +{ + + // DocMerge from xml: service com::sun::star::sdbcx::Index: interface com::sun::star::sdbcx::XDataDescriptorFactory + /** optional, could be used to copy an index. + */ + interface XDataDescriptorFactory; + + + // DocMerge from xml: service com::sun::star::sdbcx::Index: interface com::sun::star::sdbcx::XColumnsSupplier + /** access to the contained index columns. + */ + interface XColumnsSupplier; + + // DocMerge: empty anyway + interface com::sun::star::beans::XPropertySet; + + + // DocMerge from xml: property com::sun::star::sdbcx::Index::Name + /** is the name of the index. + */ + [readonly, property] string Name; + + + // DocMerge from xml: property com::sun::star::sdbcx::Index::Catalog + /** is the name of the index catalog, may be empty. + */ + [readonly, property] string Catalog; + + + // DocMerge from xml: property com::sun::star::sdbcx::Index::IsUnique + /** indicates that the index allow only unique values. + */ + [readonly, property] boolean IsUnique; + + + // DocMerge from xml: property com::sun::star::sdbcx::Index::IsPrimaryKeyIndex + /** indicates that the index is used for the primary key. + */ + [readonly, property] boolean IsPrimaryKeyIndex; + + + // DocMerge from xml: property com::sun::star::sdbcx::Index::IsClustered + /** indicates that the index is clustered. + */ + [readonly, property] boolean IsClustered; +}; + +//============================================================================= + +}; }; }; }; + +/*=========================================================================== + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:43 hjs + initial import + + Revision 1.5 2000/09/11 11:52:44 mi + documentation merged from XML + + Revision 1.3 1999/12/20 16:26:14 dg + #70278# new package name + + Revision 1.2 1999/11/29 16:16:05 dg + Documentation + + Revision 1.1 1999/11/24 08:42:07 dg + new StarDataDefinitionBeans + +===========================================================================*/ +#endif diff --git a/offapi/com/sun/star/sdbcx/IndexColumn.idl b/offapi/com/sun/star/sdbcx/IndexColumn.idl new file mode 100644 index 000000000000..bdd275220337 --- /dev/null +++ b/offapi/com/sun/star/sdbcx/IndexColumn.idl @@ -0,0 +1,106 @@ +/************************************************************************* + * + * $RCSfile: IndexColumn.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:00 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_sdbcx_IndexColumn_idl__ +#define __com_sun_star_sdbcx_IndexColumn_idl__ + +#ifndef __com_sun_star_sdbcx_Column_idl__ +#include <com/sun/star/sdbcx/Column.idl> +#endif + + module com { module sun { module star { module sdbcx { + + +// DocMerge from xml: service com::sun::star::sdbcx::IndexColumn +/** adds a property to determine the sort order of the column values within the + index. Some database drivers may ignore this property. + */ +service IndexColumn +{ + // DocMerge: empty anyway + service Column; + + + // DocMerge from xml: property com::sun::star::sdbcx::IndexColumn::IsAscending + /** is the column sorted in ascending order. + */ + [readonly, property] boolean IsAscending; +}; + +//============================================================================= + +}; }; }; }; + +/*=========================================================================== + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:43 hjs + initial import + + Revision 1.4 2000/09/11 11:52:44 mi + documentation merged from XML + + Revision 1.2 1999/12/20 16:26:14 dg + #70278# new package name + + Revision 1.1 1999/11/24 08:42:07 dg + new StarDataDefinitionBeans + +===========================================================================*/ +#endif diff --git a/offapi/com/sun/star/sdbcx/IndexColumnDescriptor.idl b/offapi/com/sun/star/sdbcx/IndexColumnDescriptor.idl new file mode 100644 index 000000000000..80861b4882ba --- /dev/null +++ b/offapi/com/sun/star/sdbcx/IndexColumnDescriptor.idl @@ -0,0 +1,104 @@ +/************************************************************************* + * + * $RCSfile: IndexColumnDescriptor.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:00 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_sdbcx_IndexColumnDescriptor_idl__ +#define __com_sun_star_sdbcx_IndexColumnDescriptor_idl__ + +#ifndef __com_sun_star_sdbcx_Descriptor_idl__ +#include <com/sun/star/sdbcx/Descriptor.idl> +#endif + + module com { module sun { module star { module sdbcx { + + +// DocMerge from xml: service com::sun::star::sdbcx::IndexColumnDescriptor +/** adds an property to determine the sort order of the column values within the + index. Some database drivers may ignore this property. + */ +service IndexColumnDescriptor +{ + // DocMerge: empty anyway + service Descriptor; + + + // DocMerge from xml: property com::sun::star::sdbcx::IndexColumnDescriptor::IsAscending + /** is the column sorted in ascending order. + */ + [property] boolean IsAscending; +}; + +//============================================================================= + +}; }; }; }; + +/*=========================================================================== + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:43 hjs + initial import + + Revision 1.3 2000/09/11 11:52:44 mi + documentation merged from XML + + Revision 1.1 2000/06/05 13:01:38 dg + new Services + + +===========================================================================*/ +#endif diff --git a/offapi/com/sun/star/sdbcx/IndexDescriptor.idl b/offapi/com/sun/star/sdbcx/IndexDescriptor.idl new file mode 100644 index 000000000000..9989a9cf3fe2 --- /dev/null +++ b/offapi/com/sun/star/sdbcx/IndexDescriptor.idl @@ -0,0 +1,123 @@ +/************************************************************************* + * + * $RCSfile: IndexDescriptor.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:00 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_sdbcx_IndexDescriptor_idl__ +#define __com_sun_star_sdbcx_IndexDescriptor_idl__ + +#ifndef __com_sun_star_sdbcx_Descriptor_idl__ +#include <com/sun/star/sdbcx/Descriptor.idl> +#endif + + module com { module sun { module star { module sdbcx { + +interface XColumnsSupplier; + + +// DocMerge from xml: service com::sun::star::sdbcx::IndexDescriptor +/** is used to define a new index for a database table.@see com::sun::star::sdbcx::Index + */ +service IndexDescriptor +{ + // DocMerge: empty anyway + service Descriptor; + + + // DocMerge from xml: service com::sun::star::sdbcx::IndexDescriptor: interface com::sun::star::sdbcx::XColumnsSupplier + /** access to the contained index columns. + */ + interface XColumnsSupplier; + + + // DocMerge from xml: property com::sun::star::sdbcx::IndexDescriptor::Catalog + /** is the name of the index catalog, may be empty. + */ + [property] string Catalog; + + + // DocMerge from xml: property com::sun::star::sdbcx::IndexDescriptor::IsUnique + /** indicates that the index allow only unique values. + */ + [property] boolean IsUnique; + + + // DocMerge from xml: property com::sun::star::sdbcx::IndexDescriptor::IsClustered + /** indicates that the index is clustered. + */ + [property] boolean IsClustered; +}; + +//============================================================================= + +}; }; }; }; + +/*=========================================================================== + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:43 hjs + initial import + + Revision 1.3 2000/09/11 11:52:44 mi + documentation merged from XML + + Revision 1.1 2000/06/05 13:01:38 dg + new Services + + +===========================================================================*/ +#endif diff --git a/offapi/com/sun/star/sdbcx/Key.idl b/offapi/com/sun/star/sdbcx/Key.idl new file mode 100644 index 000000000000..89e86c95dd0d --- /dev/null +++ b/offapi/com/sun/star/sdbcx/Key.idl @@ -0,0 +1,148 @@ +/************************************************************************* + * + * $RCSfile: Key.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:00 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_sdbcx_Key_idl__ +#define __com_sun_star_sdbcx_Key_idl__ + +#ifndef __com_sun_star_beans_XPropertySet_idl__ +#include <com/sun/star/beans/XPropertySet.idl> +#endif + + module com { module sun { module star { module sdbcx { + +interface XColumnsSupplier; +interface XDataDescriptorFactory; + + +// DocMerge from xml: service com::sun::star::sdbcx::Key +/** is used to define a new key for a table. + */ +service Key +{ + + // DocMerge from xml: service com::sun::star::sdbcx::Key: interface com::sun::star::sdbcx::XDataDescriptorFactory + /** optional, could be used to copy an key. + */ + interface XDataDescriptorFactory; + + + // DocMerge from xml: service com::sun::star::sdbcx::Key: interface com::sun::star::sdbcx::XColumnsSupplier + /** access to the contained key columns. + */ + interface XColumnsSupplier; + + // DocMerge: empty anyway + interface com::sun::star::beans::XPropertySet; + + + // DocMerge from idl: property com::sun::star::sdbcx::Key::Name + /** is the name of the column + */ + [readonly, property] string Name; + + + // DocMerge from xml: property com::sun::star::sdbcx::Key::Type + /** indicates the type of the key.@see com::sun::star::sdbcx::KeyType + */ + [readonly, property] long Type; + + + // DocMerge from xml: property com::sun::star::sdbcx::Key::ReferencedTable + /** is the name of the referenced table, only used for foreign + keys. + */ + [readonly, property] string ReferencedTable; + + + // DocMerge from xml: property com::sun::star::sdbcx::Key::UpdateRule + /** is the rule which is applied for updates; only used for foreign keys.@see com::sun::star::sdbc::KeyRule; + */ + [readonly, property] long UpdateRule; + + + // DocMerge from xml: property com::sun::star::sdbcx::Key::DeleteRule + /** is the rule which is applied for deletions; only used for foreign keys.@see com::sun::star::sdbc::KeyRule; + */ + [readonly, property] long DeleteRule; +}; + +//============================================================================= + +}; }; }; }; + +/*=========================================================================== + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:43 hjs + initial import + + Revision 1.5 2000/09/11 11:52:45 mi + documentation merged from XML + + Revision 1.3 1999/12/20 16:26:14 dg + #70278# new package name + + Revision 1.2 1999/11/29 16:16:06 dg + Documentation + + Revision 1.1 1999/11/24 08:42:08 dg + new StarDataDefinitionBeans + +===========================================================================*/ +#endif diff --git a/offapi/com/sun/star/sdbcx/KeyColumn.idl b/offapi/com/sun/star/sdbcx/KeyColumn.idl new file mode 100644 index 000000000000..544bdb960d6e --- /dev/null +++ b/offapi/com/sun/star/sdbcx/KeyColumn.idl @@ -0,0 +1,87 @@ +/************************************************************************* + * + * $RCSfile: KeyColumn.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:00 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_sdbcx_KeyColumn_idl__ +#define __com_sun_star_sdbcx_KeyColumn_idl__ + +#ifndef __com_sun_star_sdbcx_Column_idl__ +#include <com/sun/star/sdbcx/Column.idl> +#endif + +module com { module sun { module star { module sdbcx { + +/** + adds an property to specify the referenced column. This is used to specify + foreign keys. + + */ +service KeyColumn +{ + service Column; + + /** is the name of a reference column out of the referenced table. */ + [readonly, property] string RelatedColumn; +}; + +//============================================================================= + +}; }; }; }; + +#endif diff --git a/offapi/com/sun/star/sdbcx/KeyColumnDescriptor.idl b/offapi/com/sun/star/sdbcx/KeyColumnDescriptor.idl new file mode 100644 index 000000000000..81603b52801f --- /dev/null +++ b/offapi/com/sun/star/sdbcx/KeyColumnDescriptor.idl @@ -0,0 +1,104 @@ +/************************************************************************* + * + * $RCSfile: KeyColumnDescriptor.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:00 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_sdbcx_KeyColumnDescriptor_idl__ +#define __com_sun_star_sdbcx_KeyColumnDescriptor_idl__ + +#ifndef __com_sun_star_sdbcx_Descriptor_idl__ +#include <com/sun/star/sdbcx/Descriptor.idl> +#endif + + module com { module sun { module star { module sdbcx { + + +// DocMerge from xml: service com::sun::star::sdbcx::KeyColumnDescriptor +/** adds an property to specify the referenced column. This is used to specify + foreign keys.@see com::sun::star::sdbcx::KeyColumn + */ +service KeyColumnDescriptor +{ + // DocMerge: empty anyway + service Descriptor; + + + // DocMerge from xml: property com::sun::star::sdbcx::KeyColumnDescriptor::RelatedColumn + /** is the name of a reference column out of the referenced table. + */ + [property] string RelatedColumn; +}; + +//============================================================================= + +}; }; }; }; + +/*=========================================================================== + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:43 hjs + initial import + + Revision 1.3 2000/09/11 11:52:45 mi + documentation merged from XML + + Revision 1.1 2000/06/05 13:01:38 dg + new Services + + +===========================================================================*/ +#endif diff --git a/offapi/com/sun/star/sdbcx/KeyDescriptor.idl b/offapi/com/sun/star/sdbcx/KeyDescriptor.idl new file mode 100644 index 000000000000..38aa0b5658a6 --- /dev/null +++ b/offapi/com/sun/star/sdbcx/KeyDescriptor.idl @@ -0,0 +1,108 @@ +/************************************************************************* + * + * $RCSfile: KeyDescriptor.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:00 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_sdbcx_KeyDescriptor_idl__ +#define __com_sun_star_sdbcx_KeyDescriptor_idl__ + +#ifndef __com_sun_star_sdbcx_Descriptor_idl__ +#include <com/sun/star/sdbcx/Descriptor.idl> +#endif + +module com { module sun { module star { module sdbcx { + +interface XColumnsSupplier; + +/** + is used to define a new key for a table. + + @see com::sun::star::sdbcx::Key + */ +service Key +{ + service Descriptor; + + /** access to the contained key columns. */ + interface XColumnsSupplier; + + /** indicates the type of the key. + @see com::sun::star::sdbcx::KeyType + */ + [property] long Type; + + /** is the name of the referenced table, only used for foreign + keys. */ + [property] string ReferencedTable; + + /** is the rule which is applied for updates; only used for foreign keys. + @see com::sun::star::sdbc::KeyRule; + */ + [property] long UpdateRule; + + /** is the rule which is applied for deletions; only used for foreign keys. + @see com::sun::star::sdbc::KeyRule; + */ + [property] long DeleteRule; +}; + +//============================================================================= + +}; }; }; }; + +#endif diff --git a/offapi/com/sun/star/sdbcx/KeyType.idl b/offapi/com/sun/star/sdbcx/KeyType.idl new file mode 100644 index 000000000000..beb99a681c30 --- /dev/null +++ b/offapi/com/sun/star/sdbcx/KeyType.idl @@ -0,0 +1,110 @@ +/************************************************************************* + * + * $RCSfile: KeyType.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:00 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_sdbcx_KeyType_idl__ +#define __com_sun_star_sdbcx_KeyType_idl__ + + module com { module sun { module star { module sdbcx { + + +// DocMerge from idl: constants com::sun::star::sdbcx::KeyType +/** determines the type of a key. + */ +constants KeyType +{ + + // DocMerge from idl: value com::sun::star::sdbcx::KeyType::PRIMARY + /** indicates that the key is the primary key of a table. + */ + const long PRIMARY = 1; + //------------------------------------------------------------------------- + + // DocMerge from idl: value com::sun::star::sdbcx::KeyType::UNIQUE + /** indicates that the key is unique, NULL values are allowed. + */ + const long UNIQUE = 2; + //------------------------------------------------------------------------- + + // DocMerge from idl: value com::sun::star::sdbcx::KeyType::FOREIGN + /** indicates that the key is a foreign key of a table. + */ + const long FOREIGN = 3; +}; + +//============================================================================= + +}; }; }; }; + +/*=========================================================================== + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:44 hjs + initial import + + Revision 1.4 2000/09/11 11:52:45 mi + documentation merged from XML + + Revision 1.2 1999/12/20 16:26:14 dg + #70278# new package name + + Revision 1.1 1999/11/24 08:42:08 dg + new StarDataDefinitionBeans + +===========================================================================*/ +#endif diff --git a/offapi/com/sun/star/sdbcx/PreparedStatement.idl b/offapi/com/sun/star/sdbcx/PreparedStatement.idl new file mode 100644 index 000000000000..953a1cd3c8a5 --- /dev/null +++ b/offapi/com/sun/star/sdbcx/PreparedStatement.idl @@ -0,0 +1,90 @@ +/************************************************************************* + * + * $RCSfile: PreparedStatement.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:00 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_sdbcx_PreparedStatement_idl__ +#define __com_sun_star_sdbcx_PreparedStatement_idl__ + +#ifndef __com_sun_star_sdbc_PreparedStatement_idl__ +#include <com/sun/star/sdbc/PreparedStatement.idl> +#endif + +module com { module sun { module star { module sdbcx { + +/** + extends the definition of the service <type scope="com::sun::star::sdbc"> + PreparedStatement</type> with a flag for the usage of bookmarks. + @see ResultSet + @see XRowLocate + */ +service Statement +{ + service com::sun::star::sdbc::PreparedStatement; + /** + returns if a resultset should allow the navigation with bookmarks + or not. The default is </FALSE>. + */ + [property] boolean UseBookmarks; +}; + +//============================================================================= + +}; }; }; }; + +#endif diff --git a/offapi/com/sun/star/sdbcx/Privilege.idl b/offapi/com/sun/star/sdbcx/Privilege.idl new file mode 100644 index 000000000000..e3adcc666b8f --- /dev/null +++ b/offapi/com/sun/star/sdbcx/Privilege.idl @@ -0,0 +1,151 @@ +/************************************************************************* + * + * $RCSfile: Privilege.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:00 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_sdbcx_Privilege_idl__ +#define __com_sun_star_sdbcx_Privilege_idl__ + + module com { module sun { module star { module sdbcx { + + +// DocMerge from idl: constants com::sun::star::sdbcx::Privilege +/** defines a list of flags (bitmaps) which determines the accessrights of a + user or a user group. This list may grow in the future. + */ +constants Privilege +{ + //------------------------------------------------------------------------- + + // DocMerge from idl: value com::sun::star::sdbcx::Privilege::SELECT + /** indicates that a user is allowed to read the data. + */ + const long SELECT = 0x00000001; + //------------------------------------------------------------------------- + + // DocMerge from idl: value com::sun::star::sdbcx::Privilege::INSERT + /** indicates that a user is allowed to insert new data. + */ + const long INSERT = 0x00000002; + //------------------------------------------------------------------------- + + // DocMerge from idl: value com::sun::star::sdbcx::Privilege::UPDATE + /** indicates that a user is allowed to update data. + */ + const long UPDATE = 0x00000004; + //------------------------------------------------------------------------- + + // DocMerge from idl: value com::sun::star::sdbcx::Privilege::DELETE + /** indicates that a user is allowed to delete data. + */ + const long DELETE = 0x00000008; + //------------------------------------------------------------------------- + + // DocMerge from idl: value com::sun::star::sdbcx::Privilege::READ + /** indicates that a user is allowed to read the structure of a definition object. + */ + const long READ = 0x00000010; + //------------------------------------------------------------------------- + + // DocMerge from idl: value com::sun::star::sdbcx::Privilege::CREATE + /** indicates that a user is allowed to create a definition object. + */ + const long CREATE = 0x00000020; + //------------------------------------------------------------------------- + + // DocMerge from idl: value com::sun::star::sdbcx::Privilege::ALTER + /** indicates that a user is allowed to alter an existing object. + */ + const long ALTER = 0x00000040; + //------------------------------------------------------------------------- + + // DocMerge from idl: value com::sun::star::sdbcx::Privilege::REFERENCE + /** indicates that a user is allowed to set foreign keys for a table. + */ + const long REFERENCE = 0x00000080; + //------------------------------------------------------------------------- + + // DocMerge from idl: value com::sun::star::sdbcx::Privilege::DROP + /** indicates that a user is allowed to drop a definition object . + */ + const long DROP = 0x00000100; +}; + +//============================================================================= + +}; }; }; }; + +/*=========================================================================== + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:44 hjs + initial import + + Revision 1.5 2000/09/11 11:52:45 mi + documentation merged from XML + + Revision 1.3 1999/12/20 16:26:14 dg + #70278# new package name + + Revision 1.2 1999/11/30 08:28:31 dg + constant missing + + Revision 1.1 1999/11/24 08:42:08 dg + new StarDataDefinitionBeans + +===========================================================================*/ +#endif diff --git a/offapi/com/sun/star/sdbcx/PrivilegeObject.idl b/offapi/com/sun/star/sdbcx/PrivilegeObject.idl new file mode 100644 index 000000000000..e09684b2748c --- /dev/null +++ b/offapi/com/sun/star/sdbcx/PrivilegeObject.idl @@ -0,0 +1,111 @@ +/************************************************************************* + * + * $RCSfile: PrivilegeObject.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:00 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_sdbcx_PrivilegeObject_idl__ +#define __com_sun_star_sdbc_PrivilegeObject_idl__ + + module com { module sun { module star { module sdbcx { + + +// DocMerge from idl: constants com::sun::star::sdbcx::PrivilegeObject +/** defines the list of objects for which a user may have accessrights or not. + This list may grow in the future. + */ +constants PrivilegeObject +{ + + // DocMerge from idl: value com::sun::star::sdbcx::PrivilegeObject::TABLE + /** indicates a table. + */ + const long TABLE = 0; + //------------------------------------------------------------------------- + + // DocMerge from idl: value com::sun::star::sdbcx::PrivilegeObject::VIEW + /** indicates a view. + */ + const long VIEW = 1; + //------------------------------------------------------------------------- + + // DocMerge from idl: value com::sun::star::sdbcx::PrivilegeObject::COLUMN + /** indicates a column of a table. + */ + const long COLUMN = 2; +}; + +//============================================================================= + +}; }; }; }; + +/*=========================================================================== + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:44 hjs + initial import + + Revision 1.4 2000/09/11 11:52:45 mi + documentation merged from XML + + Revision 1.2 1999/12/20 16:26:14 dg + #70278# new package name + + Revision 1.1 1999/11/24 08:42:08 dg + new StarDataDefinitionBeans + +===========================================================================*/ +#endif diff --git a/offapi/com/sun/star/sdbcx/ReferenceColumn.idl b/offapi/com/sun/star/sdbcx/ReferenceColumn.idl new file mode 100644 index 000000000000..fa9d3313e5d7 --- /dev/null +++ b/offapi/com/sun/star/sdbcx/ReferenceColumn.idl @@ -0,0 +1,107 @@ +/************************************************************************* + * + * $RCSfile: ReferenceColumn.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:00 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_sdbcx_ReferenceColumn_idl__ +#define __com_sun_star_sdbcx_ReferenceColumn_idl__ + +#ifndef __com_sun_star_sdbcx_Column_idl__ +#include <com/sun/star/sdbcx/Column.idl> +#endif + + + module com { module sun { module star { module sdbcx { + + +// DocMerge from xml: service com::sun::star::sdbcx::ReferenceColumn +/** adds an property to specify the referenced column. This is used to specify + foreign keys. + */ +service ReferenceColumn +{ + // DocMerge: empty anyway + service Column; + + + // DocMerge from xml: property com::sun::star::sdbcx::ReferenceColumn::ReferencedColumn + /** is the name of a reference column out of the referenced table. + */ + [readonly, property] string ReferencedColumn; +}; + +//============================================================================= + +}; }; }; }; + +/*=========================================================================== + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:44 hjs + initial import + + Revision 1.4 2000/09/11 11:52:45 mi + documentation merged from XML + + Revision 1.2 1999/12/20 16:26:14 dg + #70278# new package name + + Revision 1.1 1999/11/24 08:42:08 dg + new StarDataDefinitionBeans + +===========================================================================*/ +#endif diff --git a/offapi/com/sun/star/sdbcx/ResultSet.idl b/offapi/com/sun/star/sdbcx/ResultSet.idl new file mode 100644 index 000000000000..b396a3ab8c24 --- /dev/null +++ b/offapi/com/sun/star/sdbcx/ResultSet.idl @@ -0,0 +1,156 @@ +/************************************************************************* + * + * $RCSfile: ResultSet.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:00 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_sdbcx_ResultSet_idl__ +#define __com_sun_star_sdbcx_ResultSet_idl__ + +#ifndef __com_sun_star_sdbc_ResultSet_idl__ +#include <com/sun/star/sdbc/ResultSet.idl> +#endif + + module com { module sun { module star { module sdbcx { + +interface XRowLocate; +interface XDeleteRows; + + +// DocMerge from xml: service com::sun::star::sdbcx::ResultSet +/** extends the SDBC ResultSet by the possibility of bookmark positioning, cancelling + the positioning and updating of rows. + */ +service ResultSet +{ + // DocMerge: empty anyway + service com::sun::star::sdbc::ResultSet; + + + // DocMerge from xml: service com::sun::star::sdbcx::ResultSet: interface com::sun::star::util::XCancellable + /** could be used for cancelling the execution of SQL statements if both + if both the DBMS and the driver support aborting of navigation + commands. + The implementation is optional. + */ + interface com::sun::star::util::XCancellable; + + + // DocMerge from xml: service com::sun::star::sdbcx::ResultSet: interface com::sun::star::sdbcx::XRowLocate + /** is the interface for navigating on the result set by unique + bookmarks. + */ + interface XRowLocate; + + + // DocMerge from xml: service com::sun::star::sdbcx::ResultSet: interface com::sun::star::sdbcx::XDeleteRows + /** is the interface for delete more than one row identified by it's bookmark. + The implementation is optional. + */ + interface XDeleteRows; + + + // DocMerge from xml: property com::sun::star::sdbcx::ResultSet::IsBookmarkable + /** returns if the resultset supports bookmark navigation. + */ + [readonly, property] boolean IsBookmarkable; + + + // DocMerge from xml: property com::sun::star::sdbcx::ResultSet::CanUpdateInsertedRows + /** returns whether the resultset supports updating of newly inserted rows. + This may not work, as the result set may contain automatic generated data + which is used as key information. + + + + + + + + + + @optional + */ + [optional, readonly, property] boolean CanUpdateInsertedRows; +}; + +//============================================================================= + +}; }; }; }; + +/*=========================================================================== + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:44 hjs + initial import + + Revision 1.4 2000/09/11 11:52:45 mi + documentation merged from XML + + Revision 1.2 2000/01/10 09:45:54 dg + #70278# Event changes + + Revision 1.1 1999/12/20 16:27:19 dg + #70278# new files from sdbc + + Revision 1.2 1999/11/25 09:12:38 dg + adjustments + + Revision 1.1 1999/11/24 08:39:01 dg + new Star Data Beans + +===========================================================================*/ +#endif diff --git a/offapi/com/sun/star/sdbcx/Statement.idl b/offapi/com/sun/star/sdbcx/Statement.idl new file mode 100644 index 000000000000..8c3420561548 --- /dev/null +++ b/offapi/com/sun/star/sdbcx/Statement.idl @@ -0,0 +1,110 @@ +/************************************************************************* + * + * $RCSfile: Statement.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:00 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_sdbcx_Statement_idl__ +#define __com_sun_star_sdbcx_Statement_idl__ + +#ifndef __com_sun_star_sdbc_Statement_idl__ +#include <com/sun/star/sdbc/Statement.idl> +#endif + + module com { module sun { module star { module sdbcx { + + +// DocMerge from xml: service com::sun::star::sdbcx::Statement +/** extends the definition of the service <type scope="com::sun::star::sdbc">Statement</type> with a flag for the usage of bookmarks.@see ResultSet + @see XRowLocate + */ +service Statement +{ + // DocMerge: empty anyway + service com::sun::star::sdbc::Statement; + + + // DocMerge from xml: property com::sun::star::sdbcx::Statement::UseBookmarks + /** returns <true></true> if a resultset should allow the navigation with bookmarks + or not. The default is <false></false>. + */ + [property] boolean UseBookmarks; +}; + +//============================================================================= + +}; }; }; }; + +/*=========================================================================== + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:44 hjs + initial import + + Revision 1.4 2000/09/11 11:52:45 mi + documentation merged from XML + + Revision 1.2 2000/01/14 10:21:34 mi + XML syntax error in documentation + + Revision 1.1 1999/12/20 16:27:19 dg + #70278# new files from sdbc + + Revision 1.1 1999/11/24 08:39:01 dg + new Star Data Beans + +===========================================================================*/ +#endif diff --git a/offapi/com/sun/star/sdbcx/Table.idl b/offapi/com/sun/star/sdbcx/Table.idl new file mode 100644 index 000000000000..c41be5aacbc9 --- /dev/null +++ b/offapi/com/sun/star/sdbcx/Table.idl @@ -0,0 +1,208 @@ +/************************************************************************* + * + * $RCSfile: Table.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:00 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_sdbcx_Table_idl__ +#define __com_sun_star_sdbcx_Table_idl__ + +#ifndef __com_sun_star_beans_XPropertySet_idl__ +#include <com/sun/star/beans/XPropertySet.idl> +#endif + + module com { module sun { module star { module sdbcx { + +interface XDataDescriptorFactory; +interface XColumnsSupplier; +interface XIndexesSupplier; +interface XKeysSupplier; +interface XRename; +interface XAlterTable; + + +// DocMerge from xml: service com::sun::star::sdbcx::Table +/** used to specify a table in a database. A table is described by its + name and one or more columns. + + + <p>In addition, it may contain indexes to improve the performance in + the retrieval of the table's data and keys and to define semantic rules for the table. + </p> + <p> + <b>Note:</b> All properties and columns of a table could by modified before + it is appended to a database. In that case the service is in fact a + descriptor. On existing tables, a user might alter columns, add or delete + columns, indexes, and keys depending on the capabilities of the database and on + the user's privileges. + </p>@see com::sun::star::sdbc::XDatabaseMetaData + @see com::sun::star::sdbcx::Privilege + */ +service Table +{ + + // DocMerge from xml: service com::sun::star::sdbcx::Table: interface com::sun::star::sdbcx::XDataDescriptorFactory + /** optional, could be used to copy an index. + */ + interface XDataDescriptorFactory; + + + // DocMerge from xml: service com::sun::star::sdbcx::Table: interface com::sun::star::sdbcx::XColumnsSupplier + /** access to the contained table columns. + */ + interface XColumnsSupplier; + + + // DocMerge from xml: service com::sun::star::sdbcx::Table: interface com::sun::star::sdbcx::XIndexesSupplier + /** optional, provides the access of the table indexes. + */ + interface XIndexesSupplier; + + + // DocMerge from xml: service com::sun::star::sdbcx::Table: interface com::sun::star::sdbcx::XKeysSupplier + /** optional, provides the access to the table keys. + */ + interface XKeysSupplier; + + + // DocMerge from xml: service com::sun::star::sdbcx::Table: interface com::sun::star::sdbcx::XRename + /** optional, allows the renaming of tables. + */ + interface XRename; + + + // DocMerge from xml: service com::sun::star::sdbcx::Table: interface com::sun::star::sdbcx::XAlterTable + /** optional, allows the altering of columns. + */ + interface XAlterTable; + + // DocMerge: empty anyway + interface com::sun::star::beans::XPropertySet; + + + // DocMerge from xml: property com::sun::star::sdbcx::Table::Name + /** is the name of the table. + */ + [readonly, property] string Name; + + + // DocMerge from xml: property com::sun::star::sdbcx::Table::CatalogName + /** is the name of the table catalog. + */ + [readonly, property] string CatalogName; + + + // DocMerge from xml: property com::sun::star::sdbcx::Table::SchemaName + /** is the name of the table schema. + */ + [readonly, property] string SchemaName; + + + // DocMerge from xml: property com::sun::star::sdbcx::Table::Description + /** supplies a comment on the table. Could be empty if not supported by + the driver. + */ + [readonly, property] string Description; + + + // DocMerge from xml: property com::sun::star::sdbcx::Table::Type + /** indicates the type of the table like (TABLE,VIEW,SYSTEM TABLE). + Could be empty if not supported by the driver. + + + + + + + + + + @optional + t + */ + [optional, readonly, property] string Type; +}; + +//============================================================================= + +}; }; }; }; + +/*=========================================================================== + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:44 hjs + initial import + + Revision 1.7 2000/09/11 11:52:45 mi + documentation merged from XML + + Revision 1.5 1999/12/20 16:26:14 dg + #70278# new package name + + Revision 1.4 1999/11/30 17:26:51 dg + #70248# const as const can + + Revision 1.3 1999/11/29 16:16:06 dg + Documentation + + Revision 1.2 1999/11/29 12:15:46 dg + Documentation + + Revision 1.1 1999/11/24 08:42:08 dg + new StarDataDefinitionBeans + +===========================================================================*/ +#endif diff --git a/offapi/com/sun/star/sdbcx/TableDescriptor.idl b/offapi/com/sun/star/sdbcx/TableDescriptor.idl new file mode 100644 index 000000000000..ab3ca887e24a --- /dev/null +++ b/offapi/com/sun/star/sdbcx/TableDescriptor.idl @@ -0,0 +1,137 @@ +/************************************************************************* + * + * $RCSfile: TableDescriptor.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:00 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_sdbcx_TableDescriptor_idl__ +#define __com_sun_star_sdbcx_TableDescriptor_idl__ + +#ifndef __com_sun_star_sdbcx_Descriptor_idl__ +#include <com/sun/star/sdbcx/Descriptor.idl> +#endif + + module com { module sun { module star { module sdbcx { + +interface XColumnsSupplier; +interface XKeysSupplier; + + +// DocMerge from xml: service com::sun::star::sdbcx::TableDescriptor +/** is used to define an table of a database. A table is described by its + name and one or more columns and the keys for semantic rules. + + <p>In addition, it may contain indexes to improve the performance in + retrieve the tables data and keys, to define semantic rules for the table. + + </p>@see com::sun::star::sdbcx::Table + */ +service TableDescriptor +{ + + // DocMerge from xml: service com::sun::star::sdbcx::TableDescriptor: interface com::sun::star::sdbcx::XColumnsSupplier + /** access to the contained table columns. + */ + interface XColumnsSupplier; + + + // DocMerge from xml: service com::sun::star::sdbcx::TableDescriptor: interface com::sun::star::sdbcx::XKeysSupplier + /** optional, provides the access to the table keys. + */ + interface XKeysSupplier; + + // DocMerge: empty anyway + service Descriptor; + + + // DocMerge from xml: property com::sun::star::sdbcx::TableDescriptor::CatalogName + /** is the name of the table catalog. + */ + [property] string CatalogName; + + + // DocMerge from xml: property com::sun::star::sdbcx::TableDescriptor::SchemaName + /** is the name of the table schema. + */ + [property] string SchemaName; + + + // DocMerge from xml: property com::sun::star::sdbcx::TableDescriptor::Description + /** supplies a comment on the table, Could be emtpy if not supported by + the driver. + */ + [property] string Description; +}; + +//============================================================================= + +}; }; }; }; + +/*=========================================================================== + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:44 hjs + initial import + + Revision 1.3 2000/09/11 11:52:45 mi + documentation merged from XML + + Revision 1.1 2000/06/05 13:01:38 dg + new Services + + +===========================================================================*/ +#endif diff --git a/offapi/com/sun/star/sdbcx/User.idl b/offapi/com/sun/star/sdbcx/User.idl new file mode 100644 index 000000000000..2782352bcd32 --- /dev/null +++ b/offapi/com/sun/star/sdbcx/User.idl @@ -0,0 +1,121 @@ +/************************************************************************* + * + * $RCSfile: User.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:00 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_sdbcx_User_idl__ +#define __com_sun_star_sdbcx_User_idl__ + +#ifndef __com_sun_star_beans_XPropertySet_idl__ +#include <com/sun/star/beans/XPropertySet.idl> +#endif + + module com { module sun { module star { module sdbcx { + +interface XGroupsSupplier; +interface XUser; + + +// DocMerge from xml: service com::sun::star::sdbcx::User +/** represents a user in the database who has certain access rights for the objects + of the database. + */ +service User +{ + // DocMerge: empty anyway + interface XUser; + + // DocMerge from xml: service com::sun::star::sdbcx::User: interface com::sun::star::sdbcx::XGroupsSupplier + /** optional for implementation if the database does not know the concept + of user groups. provides the access to the groups a user belongs. + */ + interface XGroupsSupplier; + + // DocMerge: empty anyway + interface com::sun::star::beans::XPropertySet; + + + // DocMerge from xml: property com::sun::star::sdbcx::User::Name + /** is the name of the view. + */ + [readonly, property] string Name; +}; + +//============================================================================= + +}; }; }; }; + +/*=========================================================================== + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:44 hjs + initial import + + Revision 1.5 2000/09/11 11:52:45 mi + documentation merged from XML + + Revision 1.3 1999/12/20 16:26:14 dg + #70278# new package name + + Revision 1.2 1999/11/29 16:16:06 dg + Documentation + + Revision 1.1 1999/11/24 08:42:09 dg + new StarDataDefinitionBeans + +===========================================================================*/ +#endif diff --git a/offapi/com/sun/star/sdbcx/UserDescriptor.idl b/offapi/com/sun/star/sdbcx/UserDescriptor.idl new file mode 100644 index 000000000000..742ab17c1918 --- /dev/null +++ b/offapi/com/sun/star/sdbcx/UserDescriptor.idl @@ -0,0 +1,103 @@ +/************************************************************************* + * + * $RCSfile: UserDescriptor.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:00 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_sdbcx_UserDescriptor_idl__ +#define __com_sun_star_sdbcx_UserDescriptor_idl__ + +#ifndef __com_sun_star_sdbcx_Descriptor_idl__ +#include <com/sun/star/sdbcx/Descriptor.idl> +#endif + + module com { module sun { module star { module sdbcx { + + +// DocMerge from xml: service com::sun::star::sdbcx::UserDescriptor +/** is used to create a new user in a database.@see com::sun::star::sdbcx::User + */ +service UserDescriptor +{ + // DocMerge: empty anyway + service Descriptor; + + + // DocMerge from xml: property com::sun::star::sdbcx::UserDescriptor::Password + /** is the password for the user. + */ + [property] string Password; +}; + +//============================================================================= + +}; }; }; }; + +/*=========================================================================== + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:44 hjs + initial import + + Revision 1.3 2000/09/11 11:52:45 mi + documentation merged from XML + + Revision 1.1 2000/06/05 13:01:37 dg + new Services + + +===========================================================================*/ +#endif diff --git a/offapi/com/sun/star/sdbcx/View.idl b/offapi/com/sun/star/sdbcx/View.idl new file mode 100644 index 000000000000..0d3a19d3dbb2 --- /dev/null +++ b/offapi/com/sun/star/sdbcx/View.idl @@ -0,0 +1,149 @@ +/************************************************************************* + * + * $RCSfile: View.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:00 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_sdbcx_View_idl__ +#define __com_sun_star_sdbcx_View_idl__ + +#ifndef __com_sun_star_beans_XPropertySet_idl__ +#include <com/sun/star/beans/XPropertySet.idl> +#endif + + module com { module sun { module star { module sdbcx { + +interface XRename; + + +// DocMerge from xml: service com::sun::star::sdbcx::View +/** is used to specify views on data. A view object is only used for creation and + deletion. Inspecting the command of a view is normally not supported. + + + <p>If a view is going to be added to a database, the view must have a unique + name within the view and the table container, as it can be used like a table. + After addition, both the containers for views and the container for tables must + contain an element for the view.</p> + */ +service View +{ + + // DocMerge from xml: service com::sun::star::sdbcx::View: interface com::sun::star::sdbcx::XRename + /** is optional for implementation. + */ + interface XRename; + + // DocMerge: empty anyway + interface com::sun::star::beans::XPropertySet; + + + // DocMerge from xml: property com::sun::star::sdbcx::View::Name + /** is the name of the view. + */ + [readonly, property] string Name; + + + // DocMerge from xml: property com::sun::star::sdbcx::View::CatalogName + /** is the name of the views catalog, may be empty. + */ + [readonly, property] string CatalogName; + + + // DocMerge from xml: property com::sun::star::sdbcx::View::SchemaName + /** is the name of the view's schema, may be empty. + */ + [readonly, property] string SchemaName; + + + // DocMerge from xml: property com::sun::star::sdbcx::View::Command + /** is the command for creating the view. After appending a view to its + container, the command may be empty. This is typically a + SQL Select-Statement. + */ + [readonly, property] string Command; + + + // DocMerge from xml: property com::sun::star::sdbcx::View::CheckOption + /** indicates if a check option should be used for the view.@see com::sun::star::sdbcx::CheckOption + */ + [readonly, property] long CheckOption; +}; + +//============================================================================= + +}; }; }; }; + +/*=========================================================================== + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:44 hjs + initial import + + Revision 1.5 2000/09/11 11:52:45 mi + documentation merged from XML + + Revision 1.3 1999/12/20 16:26:14 dg + #70278# new package name + + Revision 1.2 1999/11/29 16:16:06 dg + Documentation + + Revision 1.1 1999/11/24 08:42:09 dg + new StarDataDefinitionBeans + +===========================================================================*/ +#endif diff --git a/offapi/com/sun/star/sdbcx/ViewDescriptor.idl b/offapi/com/sun/star/sdbcx/ViewDescriptor.idl new file mode 100644 index 000000000000..42d15d9d2ff1 --- /dev/null +++ b/offapi/com/sun/star/sdbcx/ViewDescriptor.idl @@ -0,0 +1,123 @@ +/************************************************************************* + * + * $RCSfile: ViewDescriptor.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:00 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_sdbcx_ViewDescriptor_idl__ +#define __com_sun_star_sdbcx_ViewDescriptor_idl__ + +#ifndef __com_sun_star_sdbcx_Descriptor_idl__ +#include <com/sun/star/sdbcx/Descriptor.idl> +#endif + + module com { module sun { module star { module sdbcx { + + +// DocMerge from xml: service com::sun::star::sdbcx::ViewDescriptor +/** is used to define a new view for a database.@see com::sun::star::sdbcx::View + */ +service ViewDescriptor +{ + // DocMerge: empty anyway + service Descriptor; + + + // DocMerge from xml: property com::sun::star::sdbcx::ViewDescriptor::CatalogName + /** is the name of the views catalog, may be empty. + */ + [property] string CatalogName; + + + // DocMerge from xml: property com::sun::star::sdbcx::ViewDescriptor::SchemaName + /** is the name of the views schema, may be empty. + */ + [property] string SchemaName; + + + // DocMerge from xml: property com::sun::star::sdbcx::ViewDescriptor::Command + /** is the command for creating the view. After appending a view to it's + container, the command may be empty. This is typically a + SQL Select-Statement. + */ + [property] string Command; + + + // DocMerge from xml: property com::sun::star::sdbcx::ViewDescriptor::CheckOption + /** indicates if a check option should be used for the view.@see com::sun::star::sdbcx::CheckOption + */ + [property] long CheckOption; +}; + +//============================================================================= + +}; }; }; }; + +/*=========================================================================== + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:44 hjs + initial import + + Revision 1.3 2000/09/11 11:52:45 mi + documentation merged from XML + + Revision 1.1 2000/06/05 13:02:06 dg + new Services + + +===========================================================================*/ +#endif diff --git a/offapi/com/sun/star/sdbcx/XAlterTable.idl b/offapi/com/sun/star/sdbcx/XAlterTable.idl new file mode 100644 index 000000000000..91fc6d3ae49a --- /dev/null +++ b/offapi/com/sun/star/sdbcx/XAlterTable.idl @@ -0,0 +1,135 @@ +/************************************************************************* + * + * $RCSfile: XAlterTable.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:00 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_sdbcx_XAlterTable_idl__ +#define __com_sun_star_sdbcx_XAlterTable_idl__ + +#ifndef __com_sun_star_uno_XInterface_idl__ +#include <com/sun/star/uno/XInterface.idl> +#endif + +#ifndef __com_sun_star_container_NoSuchElementException_idl__ +#include <com/sun/star/container/NoSuchElementException.idl> +#endif + +#ifndef __com_sun_star_lang_IndexOutOfBoundsException_idl__ +#include <com/sun/star/lang/IndexOutOfBoundsException.idl> +#endif + + module com { module sun { module star { module beans { +interface XPropertySet; +};};};}; + +#ifndef __com_sun_star_sdbc_SQLException_idl__ +#include <com/sun/star/sdbc/SQLException.idl> +#endif + + module com { module sun { module star { module sdbcx { + +// DocMerge from xml: interface com::sun::star::beans::com::sun::star::sdbcx::XAlterTable +/** is used for creating and appending new objects to a specific container. + */ +[ uik(E6112CE0-9829-11d3-9ED10050-04D8BBD0), ident("XAlterTable", 1.0) ] +interface XAlterTable: com::sun::star::uno::XInterface +{ + + // DocMerge from xml: method com::sun::star::beans::com::sun::star::sdbcx::XAlterTable::alterColumnByName + /** is intended to alter an existing column identified by its name. + This operation must be atomar. + */ + void alterColumnByName([in]string colName, + [in]com::sun::star::beans::XPropertySet descriptor) + raises (com::sun::star::sdbc::SQLException, + com::sun::star::container::NoSuchElementException); + //------------------------------------------------------------------------- + + // DocMerge from xml: method com::sun::star::beans::com::sun::star::sdbcx::XAlterTable::alterColumnByIndex + /** is intended to alter an existing column identified by its position. + This operation must be atomar. + */ + void alterColumnByIndex([in]long index, + [in]com::sun::star::beans::XPropertySet descriptor) raises + (com::sun::star::sdbc::SQLException, + com::sun::star::lang::IndexOutOfBoundsException); +}; + +//============================================================================= + +}; }; }; }; + +/*=========================================================================== + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:44 hjs + initial import + + Revision 1.5 2000/09/11 11:52:45 mi + documentation merged from XML + + Revision 1.3 1999/12/20 16:26:14 dg + #70278# new package name + + Revision 1.2 1999/11/24 11:33:53 dg + chk includes + + Revision 1.1 1999/11/24 08:42:09 dg + new StarDataDefinitionBeans + +===========================================================================*/ +#endif diff --git a/offapi/com/sun/star/sdbcx/XAppend.idl b/offapi/com/sun/star/sdbcx/XAppend.idl new file mode 100644 index 000000000000..c1d008fd0f13 --- /dev/null +++ b/offapi/com/sun/star/sdbcx/XAppend.idl @@ -0,0 +1,120 @@ +/************************************************************************* + * + * $RCSfile: XAppend.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:00 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_sdbcx_XAppend_idl__ +#define __com_sun_star_sdbcx_XAppend_idl__ + +#ifndef __com_sun_star_uno_XInterface_idl__ +#include <com/sun/star/uno/XInterface.idl> +#endif + +#ifndef __com_sun_star_container_ElementExistException_idl__ +#include <com/sun/star/container/ElementExistException.idl> +#endif + + module com { module sun { module star { module beans { +interface XPropertySet; +};};};}; + +#ifndef __com_sun_star_sdbc_SQLException_idl__ +#include <com/sun/star/sdbc/SQLException.idl> +#endif + + module com { module sun { module star { module sdbcx { + +// DocMerge from xml: interface com::sun::star::beans::com::sun::star::sdbcx::XAppend +/** is used for creating and appending new objects to a specific container. + */ +[ uik(B37BDA30-980A-11d3-9ECC0050-04D8BBD0), ident("XAppend", 1.0) ] +interface XAppend: com::sun::star::uno::XInterface +{ + + // DocMerge from xml: method com::sun::star::beans::com::sun::star::sdbcx::XAppend::appendByDescriptor + /** creates a new object using the given descriptor and appends it + to the related container. + */ + void appendByDescriptor([in]com::sun::star::beans::XPropertySet descriptor) + raises (com::sun::star::sdbc::SQLException, + com::sun::star::container::ElementExistException); +}; + +//============================================================================= + +}; }; }; }; + +/*=========================================================================== + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:45 hjs + initial import + + Revision 1.5 2000/09/11 11:52:45 mi + documentation merged from XML + + Revision 1.3 1999/12/20 16:26:14 dg + #70278# new package name + + Revision 1.2 1999/11/24 11:33:54 dg + chk includes + + Revision 1.1 1999/11/24 08:42:09 dg + new StarDataDefinitionBeans + +===========================================================================*/ +#endif diff --git a/offapi/com/sun/star/sdbcx/XAuthorizable.idl b/offapi/com/sun/star/sdbcx/XAuthorizable.idl new file mode 100644 index 000000000000..17356a8222ca --- /dev/null +++ b/offapi/com/sun/star/sdbcx/XAuthorizable.idl @@ -0,0 +1,132 @@ +/************************************************************************* + * + * $RCSfile: XAuthorizable.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:00 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_sdbcx_XAuthorizable_idl__ +#define __com_sun_star_sdbcx_XAuthorizable_idl__ + +#ifndef __com_sun_star_uno_XInterface_idl__ +#include <com/sun/star/uno/XInterface.idl> +#endif + +#ifndef __com_sun_star_sdbc_SQLException_idl__ +#include <com/sun/star/sdbc/SQLException.idl> +#endif + + module com { module sun { module star { module sdbcx { + +// DocMerge from xml: interface com::sun::star::sdbcx::XAuthorizable +/** is used for accessing and setting the permissions of a user for a database + object. + */ +[ uik(E6112CE2-9829-11d3-9ED10050-04D8BBD0), ident("XAuthorizable", 1.0) ] +interface XAuthorizable: com::sun::star::uno::XInterface +{ + + // DocMerge from xml: method com::sun::star::sdbcx::XAuthorizable::getPrivileges + /** retrieves the permissions for a specific object. + */ + long getPrivileges([in]string objName, [in]long objType) raises + (com::sun::star::sdbc::SQLException); + //------------------------------------------------------------------------- + + // DocMerge from xml: method com::sun::star::sdbcx::XAuthorizable::getGrantablePrivileges + /** retrieves the permissions for a specific object, which could be granted + to other users and groups. + */ + long getGrantablePrivileges([in]string objName, [in]long objType) raises + (com::sun::star::sdbc::SQLException); + //------------------------------------------------------------------------- + + // DocMerge from xml: method com::sun::star::sdbcx::XAuthorizable::grantPrivileges + /** adds additional permissions for a specific object. + */ + void grantPrivileges([in]string objName, [in]long objType, + [in]long objPrivileges) raises + (com::sun::star::sdbc::SQLException); + //------------------------------------------------------------------------- + + // DocMerge from xml: method com::sun::star::sdbcx::XAuthorizable::revokePrivileges + /** removes permissions for a specific object from a group or user. + */ + void revokePrivileges([in]string objName, [in]long objType, + [in]long objPrivileges) raises + (com::sun::star::sdbc::SQLException); +}; + +//============================================================================= + +}; }; }; }; + +/*=========================================================================== + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:45 hjs + initial import + + Revision 1.4 2000/09/11 11:52:45 mi + documentation merged from XML + + Revision 1.2 1999/12/20 16:26:15 dg + #70278# new package name + + Revision 1.1 1999/11/24 08:42:09 dg + new StarDataDefinitionBeans + +===========================================================================*/ +#endif diff --git a/offapi/com/sun/star/sdbcx/XColumnsSupplier.idl b/offapi/com/sun/star/sdbcx/XColumnsSupplier.idl new file mode 100644 index 000000000000..caa8e359c81e --- /dev/null +++ b/offapi/com/sun/star/sdbcx/XColumnsSupplier.idl @@ -0,0 +1,118 @@ +/************************************************************************* + * + * $RCSfile: XColumnsSupplier.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:00 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_sdbcx_XColumnsSupplier_idl__ +#define __com_sun_star_sdbcx_XColumnsSupplier_idl__ + +#ifndef __com_sun_star_uno_XInterface_idl__ +#include <com/sun/star/uno/XInterface.idl> +#endif + +#ifndef __com_sun_star_container_XNameAccess_idl__ +#include <com/sun/star/container/XNameAccess.idl> +#endif + +#ifndef __com_sun_star_sdbc_SQLException_idl__ +#include <com/sun/star/sdbc/SQLException.idl> +#endif + + module com { module sun { module star { module sdbcx { + + +// DocMerge from xml: interface com::sun::star::sdbcx::XColumnsSupplier +/** provides the access to a container of columns, typically used for tables and + indexes. + */ +[ uik(738880E0-974D-11d3-9EE50010-5AD7A5C4), ident("XColumnsSupplier", 1.0) ] +interface XColumnsSupplier: com::sun::star::uno::XInterface +{ + + // DocMerge from xml: method com::sun::star::sdbcx::XColumnsSupplier::getColumns + /** returns the container of columns. + */ + [const] com::sun::star::container::XNameAccess getColumns(); +}; + +//============================================================================= + +}; }; }; }; + +/*=========================================================================== + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:45 hjs + initial import + + Revision 1.6 2000/09/11 11:52:45 mi + documentation merged from XML + + Revision 1.4 1999/12/20 16:26:15 dg + #70278# new package name + + Revision 1.3 1999/11/30 17:26:51 dg + #70248# const as const can + + Revision 1.2 1999/11/29 12:15:46 dg + Documentation + + Revision 1.1 1999/11/24 08:42:09 dg + new StarDataDefinitionBeans + +===========================================================================*/ +#endif diff --git a/offapi/com/sun/star/sdbcx/XCreateCatalog.idl b/offapi/com/sun/star/sdbcx/XCreateCatalog.idl new file mode 100644 index 000000000000..2c891f1ae042 --- /dev/null +++ b/offapi/com/sun/star/sdbcx/XCreateCatalog.idl @@ -0,0 +1,118 @@ +/************************************************************************* + * + * $RCSfile: XCreateCatalog.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:00 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_sdbcx_XCreateCatalog_idl__ +#define __com_sun_star_sdbcx_XCreateCatalog_idl__ + +#ifndef __com_sun_star_uno_XInterface_idl__ +#include <com/sun/star/uno/XInterface.idl> +#endif + +#ifndef __com_sun_star_sdbc_SQLException_idl__ +#include <com/sun/star/sdbc/SQLException.idl> +#endif + +#ifndef __com_sun_star_container_ElementExistException_idl__ +#include <com/sun/star/container/ElementExistException.idl> +#endif + +#ifndef __com_sun_star_beans_PropertyValue_idl__ +#include <com/sun/star/beans/PropertyValue.idl> +#endif + + module com { module sun { module star { module sdbcx { + + +// DocMerge from xml: interface com::sun::star::sdbcx::XCreateCatalog +/** may be implemented to hide the complexity of creating a database catalog. + */ +[ uik(E6112CE4-9829-11d3-9ED10050-04D8BBD0), ident("XCreateCatalog", 1.0) ] +interface XCreateCatalog: com::sun::star::uno::XInterface +{ + + // DocMerge from xml: method com::sun::star::sdbcx::XCreateCatalog::createCatalog + /** creates the catolog by using a sequence of property values. The kind + of properties depends on the provider. + */ + void createCatalog([in]sequence<com::sun::star::beans::PropertyValue> info) + raises (com::sun::star::sdbc::SQLException, + com::sun::star::container::ElementExistException); +}; + +//============================================================================= + +}; }; }; }; + +/*=========================================================================== + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:45 hjs + initial import + + Revision 1.4 2000/09/11 11:52:45 mi + documentation merged from XML + + Revision 1.2 1999/12/20 16:26:15 dg + #70278# new package name + + Revision 1.1 1999/11/24 08:42:09 dg + new StarDataDefinitionBeans + +===========================================================================*/ +#endif diff --git a/offapi/com/sun/star/sdbcx/XDataDefinitionSupplier.idl b/offapi/com/sun/star/sdbcx/XDataDefinitionSupplier.idl new file mode 100644 index 000000000000..09fb51ac0be1 --- /dev/null +++ b/offapi/com/sun/star/sdbcx/XDataDefinitionSupplier.idl @@ -0,0 +1,132 @@ +/************************************************************************* + * + * $RCSfile: XDataDefinitionSupplier.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:00 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_sdbcx_XDataDefinitionSupplier_idl__ +#define __com_sun_star_sdbcx_XDataDefinitionSupplier_idl__ + +#ifndef __com_sun_star_uno_XInterface_idl__ +#include <com/sun/star/uno/XInterface.idl> +#endif + +#ifndef __com_sun_star_beans_PropertyValue_idl__ +#include <com/sun/star/beans/PropertyValue.idl> +#endif + +#ifndef __com_sun_star_sdbc_SQLException_idl__ +#include <com/sun/star/sdbc/SQLException.idl> +#endif + + module com { module sun { module star { module sdbc { +interface XConnection; +};};};}; + + module com { module sun { module star { module sdbcx { + +interface XTablesSupplier; + + +// DocMerge from xml: interface com::sun::star::sdbc::com::sun::star::sdbcx::XDataDefinitionSupplier +/** provides the access to data definition beans from a connected database. + */ +[ uik(E6112CE6-9829-11d3-9ED10050-04D8BBD0), + ident("XDataDefinitionSupplier", 1.0) ] +interface XDataDefinitionSupplier: com::sun::star::uno::XInterface +{ + + // DocMerge from xml: method com::sun::star::sdbc::com::sun::star::sdbcx::XDataDefinitionSupplier::getDataDefinitionByConnection + /** returns at least the container of tables related to the given connection. + */ + XTablesSupplier getDataDefinitionByConnection( + [in]com::sun::star::sdbc::XConnection connection) + raises (com::sun::star::sdbc::SQLException); + //------------------------------------------------------------------------- + + // DocMerge from xml: method com::sun::star::sdbc::com::sun::star::sdbcx::XDataDefinitionSupplier::getDataDefinitionByURL + /** returns at least the container of tables related to the given Database URL. + */ + XTablesSupplier getDataDefinitionByURL( + [in]string url, + [in]sequence<com::sun::star::beans::PropertyValue> info) + raises (com::sun::star::sdbc::SQLException); +}; + +//============================================================================= + +}; }; }; }; + +/*=========================================================================== + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:44 hjs + initial import + + Revision 1.5 2000/09/11 11:52:45 mi + documentation merged from XML + + Revision 1.3 1999/12/20 16:26:15 dg + #70278# new package name + + Revision 1.2 1999/11/24 11:33:54 dg + chk includes + + Revision 1.1 1999/11/24 08:42:10 dg + new StarDataDefinitionBeans + +===========================================================================*/ +#endif diff --git a/offapi/com/sun/star/sdbcx/XDataDescriptorFactory.idl b/offapi/com/sun/star/sdbcx/XDataDescriptorFactory.idl new file mode 100644 index 000000000000..40ddc80b3309 --- /dev/null +++ b/offapi/com/sun/star/sdbcx/XDataDescriptorFactory.idl @@ -0,0 +1,110 @@ +/************************************************************************* + * + * $RCSfile: XDataDescriptorFactory.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:00 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_sdbcx_XDataDescriptorFactory_idl__ +#define __com_sun_star_sdbcx_XDataDescriptorFactory_idl__ + +#ifndef __com_sun_star_uno_XInterface_idl__ +#include <com/sun/star/uno/XInterface.idl> +#endif + + module com { module sun { module star { module beans { +interface XPropertySet; +};};};}; + + module com { module sun { module star { module sdbcx { + +// DocMerge from xml: interface com::sun::star::beans::com::sun::star::sdbcx::XDataDescriptorFactory +/** provides the creation of a descriptor for a definition object. + */ +[ uik(738880E7-974D-11d3-9EE50010-5AD7A5C4), + ident("XDataDescriptorFactory", 1.0) ] +interface XDataDescriptorFactory: com::sun::star::uno::XInterface +{ + + // DocMerge from xml: method com::sun::star::beans::com::sun::star::sdbcx::XDataDescriptorFactory::createDataDescriptor + /** returns a descriptor of a definition object. + */ + com::sun::star::beans::XPropertySet createDataDescriptor(); +}; + +//============================================================================= + +}; }; }; }; + +/*=========================================================================== + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:45 hjs + initial import + + Revision 1.5 2000/09/11 11:52:45 mi + documentation merged from XML + + Revision 1.3 1999/12/20 16:26:15 dg + #70278# new package name + + Revision 1.2 1999/11/24 11:33:54 dg + chk includes + + Revision 1.1 1999/11/24 08:42:10 dg + new StarDataDefinitionBeans + +===========================================================================*/ +#endif diff --git a/offapi/com/sun/star/sdbcx/XDeleteRows.idl b/offapi/com/sun/star/sdbcx/XDeleteRows.idl new file mode 100644 index 000000000000..9ab444b1cd54 --- /dev/null +++ b/offapi/com/sun/star/sdbcx/XDeleteRows.idl @@ -0,0 +1,120 @@ +/************************************************************************* + * + * $RCSfile: XDeleteRows.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:00 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_sdbcx_XDeleteRows_idl__ +#define __com_sun_star_sdbcx_XDeleteRows_idl__ + +#ifndef __com_sun_star_uno_XInterface_idl__ +#include <com/sun/star/uno/XInterface.idl> +#endif + +#ifndef __com_sun_star_sdbc_SQLException_idl__ +#include <com/sun/star/sdbc/SQLException.idl> +#endif + + module com { module sun { module star { module sdbcx { + + +// DocMerge from xml: interface com::sun::star::sdbcx::XDeleteRows +/** provides for the deletion of more than one rows at a time. + */ +[ uik(36BE6EE4-3EBC-11d3-8169C120-C5DDA22D), ident("XDeleteRows", 1.0) ] +interface XDeleteRows: com::sun::star::uno::XInterface +{ + + // DocMerge from idl: method com::sun::star::sdbcx::XDeleteRows::deleteRows + /** deletes one or more rows identified by their bookmarks. + @param rows + list of bookmark identifying the rows. + @returns + an array of update counts containing one element for each + row. The array is ordered according to the order in + which bookmarks were given. + @throws SQLException + if a fatal error occurs like the connection get lost if bookmarks + used which do not belong to the according result set. + */ + sequence<long> deleteRows([in]sequence<any> rows) + raises (com::sun::star::sdbc::SQLException); +}; + +//============================================================================= + +}; }; }; }; + +/*=========================================================================== + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:45 hjs + initial import + + Revision 1.4 2000/09/11 11:52:45 mi + documentation merged from XML + + Revision 1.2 2000/01/10 09:45:18 dg + #70278# return value change + + Revision 1.1 1999/12/20 16:27:19 dg + #70278# new files from sdbc + + Revision 1.1 1999/11/24 08:41:05 dg + new StarDataBaseConnectivity + +===========================================================================*/ +#endif diff --git a/offapi/com/sun/star/sdbcx/XDrop.idl b/offapi/com/sun/star/sdbcx/XDrop.idl new file mode 100644 index 000000000000..d21679c8de14 --- /dev/null +++ b/offapi/com/sun/star/sdbcx/XDrop.idl @@ -0,0 +1,124 @@ +/************************************************************************* + * + * $RCSfile: XDrop.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:00 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_sdbcx_XDrop_idl__ +#define __com_sun_star_sdbcx_XDrop_idl__ + +#ifndef __com_sun_star_uno_XInterface_idl__ +#include <com/sun/star/uno/XInterface.idl> +#endif + +#ifndef __com_sun_star_sdbc_SQLException_idl__ +#include <com/sun/star/sdbc/SQLException.idl> +#endif + +#ifndef __com_sun_star_container_NoSuchElementException_idl__ +#include <com/sun/star/container/NoSuchElementException.idl> +#endif + +#ifndef __com_sun_star_lang_IndexOutOfBoundsException_idl__ +#include <com/sun/star/lang/IndexOutOfBoundsException.idl> +#endif + + module com { module sun { module star { module sdbcx { + +// DocMerge from xml: interface com::sun::star::sdbcx::XDrop +/** provides methods to remove an element of its container and to drop it from + the related database. + */ +[ uik(B37BDA31-980A-11d3-9ECC0050-04D8BBD0), ident("XDrop", 1.0) ] +interface XDrop: com::sun::star::uno::XInterface +{ + + // DocMerge from xml: method com::sun::star::sdbcx::XDrop::dropByName + /** drops an object of the related container identified by its name. + */ + void dropByName([in]string elementName) raises + (com::sun::star::sdbc::SQLException, + com::sun::star::container::NoSuchElementException); + //------------------------------------------------------------------------- + + // DocMerge from xml: method com::sun::star::sdbcx::XDrop::dropByIndex + /** drops an object of the related container identified by its position. + */ + void dropByIndex([in]long index) raises (com::sun::star::sdbc::SQLException, + com::sun::star::lang::IndexOutOfBoundsException); +}; + +//============================================================================= + +}; }; }; }; + +/*=========================================================================== + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:45 hjs + initial import + + Revision 1.4 2000/09/11 11:52:45 mi + documentation merged from XML + + Revision 1.2 1999/12/20 16:26:15 dg + #70278# new package name + + Revision 1.1 1999/11/24 08:42:10 dg + new StarDataDefinitionBeans + +===========================================================================*/ +#endif diff --git a/offapi/com/sun/star/sdbcx/XDropCatalog.idl b/offapi/com/sun/star/sdbcx/XDropCatalog.idl new file mode 100644 index 000000000000..5b15b547a9ef --- /dev/null +++ b/offapi/com/sun/star/sdbcx/XDropCatalog.idl @@ -0,0 +1,120 @@ +/************************************************************************* + * + * $RCSfile: XDropCatalog.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:00 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_sdbcx_XDropCatalog_idl__ +#define __com_sun_star_sdbcx_XDropCatalog_idl__ + +#ifndef __com_sun_star_uno_XInterface_idl__ +#include <com/sun/star/uno/XInterface.idl> +#endif + +#ifndef __com_sun_star_sdbc_SQLException_idl__ +#include <com/sun/star/sdbc/SQLException.idl> +#endif + +#ifndef __com_sun_star_beans_PropertyValue_idl__ +#include <com/sun/star/beans/PropertyValue.idl> +#endif + +#ifndef __com_sun_star_container_NoSuchElementException_idl__ +#include <com/sun/star/container/NoSuchElementException.idl> +#endif + + module com { module sun { module star { module sdbcx { + + +// DocMerge from xml: interface com::sun::star::sdbcx::XDropCatalog +/** may be implemented to hide the complexity of droping a database catalog. Could + normally be used only in offline mode, no connection on the database. This + should be checked by the driver. + */ +[ uik(E6112CE5-9829-11d3-9ED10050-04D8BBD0), ident("XDropCatalog", 1.0) ] +interface XDropCatalog: com::sun::star::uno::XInterface +{ + + // DocMerge from xml: method com::sun::star::sdbcx::XDropCatalog::dropCatalog + /** drops a catalog identified by its name. + */ + void dropCatalog([in]string catalogName, + [in]sequence<com::sun::star::beans::PropertyValue> info) + raises (com::sun::star::sdbc::SQLException, + com::sun::star::container::NoSuchElementException); +}; + +//============================================================================= + +}; }; }; }; + +/*=========================================================================== + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:45 hjs + initial import + + Revision 1.4 2000/09/11 11:52:46 mi + documentation merged from XML + + Revision 1.2 1999/12/20 16:26:15 dg + #70278# new package name + + Revision 1.1 1999/11/24 08:42:10 dg + new StarDataDefinitionBeans + +===========================================================================*/ +#endif diff --git a/offapi/com/sun/star/sdbcx/XGroupsSupplier.idl b/offapi/com/sun/star/sdbcx/XGroupsSupplier.idl new file mode 100644 index 000000000000..664e597dcfd4 --- /dev/null +++ b/offapi/com/sun/star/sdbcx/XGroupsSupplier.idl @@ -0,0 +1,114 @@ +/************************************************************************* + * + * $RCSfile: XGroupsSupplier.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:00 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_sdbcx_XGroupsSupplier_idl__ +#define __com_sun_star_sdbcx_XGroupsSupplier_idl__ + +#ifndef __com_sun_star_uno_XInterface_idl__ +#include <com/sun/star/uno/XInterface.idl> +#endif + +#ifndef __com_sun_star_container_XNameAccess_idl__ +#include <com/sun/star/container/XNameAccess.idl> +#endif + + module com { module sun { module star { module sdbcx { + + +// DocMerge from xml: interface com::sun::star::sdbcx::XGroupsSupplier +/** provides the access to a container of groups, typically used for a database + definition object. + */ +[ uik(738880E5-974D-11d3-9EE50010-5AD7A5C4), ident("XGroupsSupplier", 1.0) ] +interface XGroupsSupplier: com::sun::star::uno::XInterface +{ + + // DocMerge from xml: method com::sun::star::sdbcx::XGroupsSupplier::getGroups + /** returns the container of groups. + */ + [const] com::sun::star::container::XNameAccess getGroups(); +}; + +//============================================================================= + +}; }; }; }; + +/*=========================================================================== + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:45 hjs + initial import + + Revision 1.6 2000/09/11 11:52:46 mi + documentation merged from XML + + Revision 1.4 1999/12/20 16:26:15 dg + #70278# new package name + + Revision 1.3 1999/11/30 17:26:51 dg + #70248# const as const can + + Revision 1.2 1999/11/29 12:15:46 dg + Documentation + + Revision 1.1 1999/11/24 08:42:10 dg + new StarDataDefinitionBeans + +===========================================================================*/ +#endif diff --git a/offapi/com/sun/star/sdbcx/XIndexesSupplier.idl b/offapi/com/sun/star/sdbcx/XIndexesSupplier.idl new file mode 100644 index 000000000000..ee9e2fd28669 --- /dev/null +++ b/offapi/com/sun/star/sdbcx/XIndexesSupplier.idl @@ -0,0 +1,114 @@ +/************************************************************************* + * + * $RCSfile: XIndexesSupplier.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:00 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_sdbcx_XIndexesSupplier_idl__ +#define __com_sun_star_sdbcx_XIndexesSupplier_idl__ + +#ifndef __com_sun_star_uno_XInterface_idl__ +#include <com/sun/star/uno/XInterface.idl> +#endif + +#ifndef __com_sun_star_container_XNameAccess_idl__ +#include <com/sun/star/container/XNameAccess.idl> +#endif + + module com { module sun { module star { module sdbcx { + + +// DocMerge from xml: interface com::sun::star::sdbcx::XIndexesSupplier +/** provides the access to a container of indexes, typically used for a table + definition object. + */ +[ uik(738880E3-974D-11d3-9EE50010-5AD7A5C4), ident("XIndexesSupplier", 1.0) ] +interface XIndexesSupplier: com::sun::star::uno::XInterface +{ + + // DocMerge from xml: method com::sun::star::sdbcx::XIndexesSupplier::getIndexes + /** returns the container of indexes. + */ + [const] com::sun::star::container::XNameAccess getIndexes(); +}; + +//============================================================================= + +}; }; }; }; + +/*=========================================================================== + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:45 hjs + initial import + + Revision 1.6 2000/09/11 11:52:46 mi + documentation merged from XML + + Revision 1.4 1999/12/20 16:26:15 dg + #70278# new package name + + Revision 1.3 1999/11/30 17:26:51 dg + #70248# const as const can + + Revision 1.2 1999/11/29 12:15:46 dg + Documentation + + Revision 1.1 1999/11/24 08:42:10 dg + new StarDataDefinitionBeans + +===========================================================================*/ +#endif diff --git a/offapi/com/sun/star/sdbcx/XKeysSupplier.idl b/offapi/com/sun/star/sdbcx/XKeysSupplier.idl new file mode 100644 index 000000000000..38fb6054883d --- /dev/null +++ b/offapi/com/sun/star/sdbcx/XKeysSupplier.idl @@ -0,0 +1,111 @@ +/************************************************************************* + * + * $RCSfile: XKeysSupplier.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:00 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_sdbcx_XKeysSupplier_idl__ +#define __com_sun_star_sdbcx_XKeysSupplier_idl__ + +#ifndef __com_sun_star_uno_XInterface_idl__ +#include <com/sun/star/uno/XInterface.idl> +#endif + +#ifndef __com_sun_star_container_XIndexAccess_idl__ +#include <com/sun/star/container/XIndexAccess.idl> +#endif + + module com { module sun { module star { module sdbcx { + + +// DocMerge from xml: interface com::sun::star::sdbcx::XKeysSupplier +/** provides the access to a container of keys, typically used for a table + definition object. + */ +[ uik(738880E4-974D-11d3-9EE50010-5AD7A5C4), ident("XKeysSupplier", 1.0) ] +interface XKeysSupplier: com::sun::star::uno::XInterface +{ + + // DocMerge from xml: method com::sun::star::sdbcx::XKeysSupplier::getKeys + /** returns the container of keys. + */ + [const] com::sun::star::container::XIndexAccess getKeys(); +}; + +//============================================================================= + +}; }; }; }; + +/*=========================================================================== + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:45 hjs + initial import + + Revision 1.5 2000/09/11 11:52:46 mi + documentation merged from XML + + Revision 1.3 1999/12/20 16:26:15 dg + #70278# new package name + + Revision 1.2 1999/11/30 17:26:51 dg + #70248# const as const can + + Revision 1.1 1999/11/24 08:42:11 dg + new StarDataDefinitionBeans + +===========================================================================*/ +#endif diff --git a/offapi/com/sun/star/sdbcx/XRename.idl b/offapi/com/sun/star/sdbcx/XRename.idl new file mode 100644 index 000000000000..626d6fd214ee --- /dev/null +++ b/offapi/com/sun/star/sdbcx/XRename.idl @@ -0,0 +1,115 @@ +/************************************************************************* + * + * $RCSfile: XRename.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:00 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_sdbcx_XRename_idl__ +#define __com_sun_star_sdbcx_XRename_idl__ + +#ifndef __com_sun_star_uno_XInterface_idl__ +#include <com/sun/star/uno/XInterface.idl> +#endif + +#ifndef __com_sun_star_sdbc_SQLException_idl__ +#include <com/sun/star/sdbc/SQLException.idl> +#endif + +#ifndef __com_sun_star_container_ElementExistException_idl__ +#include <com/sun/star/container/ElementExistException.idl> +#endif + + module com { module sun { module star { module sdbcx { + +// DocMerge from xml: interface com::sun::star::sdbcx::XRename +/** supports the renaming of definition objects. + <br> + This is a very desirable feature which is not supported by all databases. There is no + standard SQL statement provided for this feature. + */ +[ uik(E6112CE1-9829-11d3-9ED10050-04D8BBD0), ident("XRename", 1.0) ] +interface XRename: com::sun::star::uno::XInterface +{ + + // DocMerge from xml: method com::sun::star::sdbcx::XRename::rename + /** is intended to alter the name of a object. + */ + void rename([in]string newName) + raises (com::sun::star::sdbc::SQLException, + com::sun::star::container::ElementExistException); +}; + +//============================================================================= + +}; }; }; }; + +/*=========================================================================== + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:45 hjs + initial import + + Revision 1.4 2000/09/11 11:52:46 mi + documentation merged from XML + + Revision 1.2 1999/12/20 16:26:15 dg + #70278# new package name + + Revision 1.1 1999/11/24 08:42:11 dg + new StarDataDefinitionBeans + +===========================================================================*/ +#endif diff --git a/offapi/com/sun/star/sdbcx/XRowLocate.idl b/offapi/com/sun/star/sdbcx/XRowLocate.idl new file mode 100644 index 000000000000..6c8c4f75cb40 --- /dev/null +++ b/offapi/com/sun/star/sdbcx/XRowLocate.idl @@ -0,0 +1,180 @@ +/************************************************************************* + * + * $RCSfile: XRowLocate.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:00 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_sdbcx_XRowLocate_idl__ +#define __com_sun_star_sdbcx_XRowLocate_idl__ + +#ifndef __com_sun_star_uno_XInterface_idl__ +#include <com/sun/star/uno/XInterface.idl> +#endif + +#ifndef __com_sun_star_sdbc_SQLException_idl__ +#include <com/sun/star/sdbc/SQLException.idl> +#endif + + module com { module sun { module star { module sdbcx { + + +// DocMerge from xml: interface com::sun::star::sdbcx::XRowLocate +/** is used to identify rows within a result set and to find rows by a bookmark. + + + <p>Bookmarks are only valid in the scope of the current result set and + are not interchangeable between result sets. A bookmark could be a complex data + structure, so it could not be compared in a safe way. Because of that, a provider + has to implement the compare method for bookmarks.</p> + */ +[ uik(5FFEC2E0-9520-11d3-8168D521-22976675), ident("XRowLocate", 1.0) ] +interface XRowLocate: com::sun::star::uno::XInterface +{ + + // DocMerge from xml: method com::sun::star::sdbcx::XRowLocate::getBookmark + /** returns the bookmark of the current row of a result set. + */ + any getBookmark() raises (com::sun::star::sdbc::SQLException); + //------------------------------------------------------------------------- + + // DocMerge from xml: method com::sun::star::sdbcx::XRowLocate::moveToBookmark + /** moves the cursor to the row identified by an valid bookmark. + + + <p> If the bookmark could not be located, a result set will be positioned + behind the last record.<br> + If the bookmark is invalid or not generated by the current result set, than + the behaviour is not defined, even an abnormal termination is possible. + </p> + */ + boolean moveToBookmark([in]any bookmark) raises (com::sun::star::sdbc::SQLException); + //------------------------------------------------------------------------- + + // DocMerge from xml: method com::sun::star::sdbcx::XRowLocate::moveRelativeToBookmark + /** moves the cursor a relative number of rows, either positive or negative + starting at a given bookmark position. + + + <p> If the bookmark could not be located, a result set will be positioned + behind the last record.<br> + If the bookmark is invalid or not generated by the current result set, than + the behaviour is not defined, even an abnormal termination is possible. + </p> + */ + boolean moveRelativeToBookmark([in]any bookmark, [in]long rows) + raises (com::sun::star::sdbc::SQLException); + //------------------------------------------------------------------------- + + // DocMerge from xml: method com::sun::star::sdbcx::XRowLocate::compareBookmarks + /** compares two bookmarks and returns an indication of their relative values. + + + <p> + The bookmarks must apply to the same ResultSet. You cannot reliably + compare bookmarks from different ResultSet, even if they were created from + the same source or statement. <br> + A bookmark that is not valid or incorrectly formed will cause an exception. + </p>@see com::sun::star::sdbcx::CompareBookmark + */ + [const]long compareBookmarks([in]any first, [in]any second) + raises (com::sun::star::sdbc::SQLException); + //------------------------------------------------------------------------- + + // DocMerge from xml: method com::sun::star::sdbcx::XRowLocate::hasOrderedBookmarks + /** determines whether the bookmarks of a result set are ordered or not.@see com::sun::star::sdbc::CompareBookmark + */ + [const]boolean hasOrderedBookmarks() raises (com::sun::star::sdbc::SQLException); + //------------------------------------------------------------------------- + + // DocMerge from xml: method com::sun::star::sdbcx::XRowLocate::hashBookmark + /** returns the hash value for a specified bookmark. + */ + [const]long hashBookmark([in]any bookmark) raises (com::sun::star::sdbc::SQLException); +}; + +//============================================================================= + +}; }; }; }; + +/*=========================================================================== + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:45 hjs + initial import + + Revision 1.5 2000/09/11 11:52:46 mi + documentation merged from XML + + Revision 1.3 2000/01/14 10:02:09 mi + XML syntax error in documentation + + Revision 1.2 2000/01/06 07:30:58 dg + #70278# documentation + + Revision 1.1 1999/12/20 16:27:20 dg + #70278# new files from sdbc + + Revision 1.3 1999/12/01 21:20:30 dg + #70248# Documentation + + Revision 1.2 1999/12/01 21:18:00 dg + #70248# Documentation + + Revision 1.1 1999/11/24 08:41:10 dg + new StarDataBaseConnectivity + +===========================================================================*/ +#endif diff --git a/offapi/com/sun/star/sdbcx/XTablesSupplier.idl b/offapi/com/sun/star/sdbcx/XTablesSupplier.idl new file mode 100644 index 000000000000..45633826b6c0 --- /dev/null +++ b/offapi/com/sun/star/sdbcx/XTablesSupplier.idl @@ -0,0 +1,117 @@ +/************************************************************************* + * + * $RCSfile: XTablesSupplier.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:00 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_sdbcx_XTablesSupplier_idl__ +#define __com_sun_star_sdbcx_XTablesSupplier_idl__ + +#ifndef __com_sun_star_uno_XInterface_idl__ +#include <com/sun/star/uno/XInterface.idl> +#endif + +#ifndef __com_sun_star_container_XNameAccess_idl__ +#include <com/sun/star/container/XNameAccess.idl> +#endif + + module com { module sun { module star { module sdbcx { + + +// DocMerge from xml: interface com::sun::star::sdbcx::XTablesSupplier +/** provides the access to a container of tables, typically used for a database + definition object. + */ +[ uik(738880E1-974D-11d3-9EE50010-5AD7A5C4), ident("XTablesSupplier", 1.0) ] +interface XTablesSupplier: com::sun::star::uno::XInterface +{ + + // DocMerge from xml: method com::sun::star::sdbcx::XTablesSupplier::getTables + /** returns the container of tables. + */ + [const] com::sun::star::container::XNameAccess getTables(); +}; + +//============================================================================= + +}; }; }; }; + +/*=========================================================================== + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:45 hjs + initial import + + Revision 1.7 2000/09/11 11:52:46 mi + documentation merged from XML + + Revision 1.5 1999/12/20 16:26:15 dg + #70278# new package name + + Revision 1.4 1999/11/30 17:26:51 dg + #70248# const as const can + + Revision 1.3 1999/11/29 12:15:46 dg + Documentation + + Revision 1.2 1999/11/25 09:08:09 dg + adjustments + + Revision 1.1 1999/11/24 08:42:11 dg + new StarDataDefinitionBeans + +===========================================================================*/ +#endif diff --git a/offapi/com/sun/star/sdbcx/XUser.idl b/offapi/com/sun/star/sdbcx/XUser.idl new file mode 100644 index 000000000000..187a49a27a08 --- /dev/null +++ b/offapi/com/sun/star/sdbcx/XUser.idl @@ -0,0 +1,106 @@ +/************************************************************************* + * + * $RCSfile: XUser.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:00 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_sdbcx_XUser_idl__ +#define __com_sun_star_sdbcx_XUser_idl__ + +#ifndef __com_sun_star_sdbcx_XAuthorizable_idl__ +#include <com/sun/star/sdbcx/XAuthorizable.idl> +#endif + + module com { module sun { module star { module sdbcx { + +// DocMerge from xml: interface com::sun::star::sdbcx::XUser +/** allows to change a users password. + */ +[ uik(E6112CE3-9829-11d3-9ED10050-04D8BBD0), ident("XUser", 1.0) ] +interface XUser: XAuthorizable +{ + + // DocMerge from xml: method com::sun::star::sdbcx::XUser::changePassword + /** allows modifying a user password. + */ + void changePassword([in]string oldPassword, [in]string newPassword) + raises (com::sun::star::sdbc::SQLException); +}; + +//============================================================================= + +}; }; }; }; + +/*=========================================================================== + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:45 hjs + initial import + + Revision 1.5 2000/09/11 11:52:46 mi + documentation merged from XML + + Revision 1.3 2000/06/23 15:00:07 oj + #76405# rename parameter + + Revision 1.2 1999/12/20 16:26:16 dg + #70278# new package name + + Revision 1.1 1999/11/24 08:42:11 dg + new StarDataDefinitionBeans + +===========================================================================*/ +#endif diff --git a/offapi/com/sun/star/sdbcx/XUsersSupplier.idl b/offapi/com/sun/star/sdbcx/XUsersSupplier.idl new file mode 100644 index 000000000000..3913966a323e --- /dev/null +++ b/offapi/com/sun/star/sdbcx/XUsersSupplier.idl @@ -0,0 +1,118 @@ +/************************************************************************* + * + * $RCSfile: XUsersSupplier.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:00 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_sdbcx_XUsersSupplier_idl__ +#define __com_sun_star_sdbcx_XUsersSupplier_idl__ + +#ifndef __com_sun_star_uno_XInterface_idl__ +#include <com/sun/star/uno/XInterface.idl> +#endif + +#ifndef __com_sun_star_container_XNameAccess_idl__ +#include <com/sun/star/container/XNameAccess.idl> +#endif + +#ifndef __com_sun_star_sdbc_SQLException_idl__ +#include <com/sun/star/sdbc/SQLException.idl> +#endif + + module com { module sun { module star { module sdbcx { + + +// DocMerge from xml: interface com::sun::star::sdbcx::XUsersSupplier +/** provides the access to a container of users, typically used for a database + definition object. + */ +[ uik(738880E6-974D-11d3-9EE50010-5AD7A5C4), ident("XUsersSupplier", 1.0) ] +interface XUsersSupplier: com::sun::star::uno::XInterface +{ + + // DocMerge from xml: method com::sun::star::sdbcx::XUsersSupplier::getUsers + /** returns the container of users. + */ + [const] com::sun::star::container::XNameAccess getUsers(); +}; + +//============================================================================= + +}; }; }; }; + +/*=========================================================================== + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:45 hjs + initial import + + Revision 1.6 2000/09/11 11:52:46 mi + documentation merged from XML + + Revision 1.4 1999/12/20 16:26:16 dg + #70278# new package name + + Revision 1.3 1999/11/30 17:26:51 dg + #70248# const as const can + + Revision 1.2 1999/11/29 12:15:47 dg + Documentation + + Revision 1.1 1999/11/24 08:42:11 dg + new StarDataDefinitionBeans + +===========================================================================*/ +#endif diff --git a/offapi/com/sun/star/sdbcx/XViewsSupplier.idl b/offapi/com/sun/star/sdbcx/XViewsSupplier.idl new file mode 100644 index 000000000000..118128cacf53 --- /dev/null +++ b/offapi/com/sun/star/sdbcx/XViewsSupplier.idl @@ -0,0 +1,114 @@ +/************************************************************************* + * + * $RCSfile: XViewsSupplier.idl,v $ + * + * $Revision: 1.1 $ + * + * last change: $Author: mi $ $Date: 2000-11-06 09:22:00 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#ifndef __com_sun_star_sdbcx_XViewsSupplier_idl__ +#define __com_sun_star_sdbcx_XViewsSupplier_idl__ + +#ifndef __com_sun_star_uno_XInterface_idl__ +#include <com/sun/star/uno/XInterface.idl> +#endif + +#ifndef __com_sun_star_container_XNameAccess_idl__ +#include <com/sun/star/container/XNameAccess.idl> +#endif + + module com { module sun { module star { module sdbcx { + + +// DocMerge from xml: interface com::sun::star::sdbcx::XViewsSupplier +/** provides the access to a container of views, typically used for a database + definition object. + */ +[ uik(738880E2-974D-11d3-9EE50010-5AD7A5C4), ident("XViewsSupplier", 1.0) ] +interface XViewsSupplier: com::sun::star::uno::XInterface +{ + + // DocMerge from xml: method com::sun::star::sdbcx::XViewsSupplier::getViews + /** returns the container of views. + */ + [const] com::sun::star::container::XNameAccess getViews(); +}; + +//============================================================================= + +}; }; }; }; + +/*=========================================================================== + $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 23:35:45 hjs + initial import + + Revision 1.6 2000/09/11 11:52:46 mi + documentation merged from XML + + Revision 1.4 1999/12/20 16:26:16 dg + #70278# new package name + + Revision 1.3 1999/11/30 17:26:51 dg + #70248# const as const can + + Revision 1.2 1999/11/29 12:15:47 dg + Documentation + + Revision 1.1 1999/11/24 08:42:11 dg + new StarDataDefinitionBeans + +===========================================================================*/ +#endif diff --git a/offapi/com/sun/star/sdbcx/makefile.mk b/offapi/com/sun/star/sdbcx/makefile.mk new file mode 100644 index 000000000000..fc54cdcb0eed --- /dev/null +++ b/offapi/com/sun/star/sdbcx/makefile.mk @@ -0,0 +1,129 @@ +#************************************************************************* +# +# $RCSfile: makefile.mk,v $ +# +# $Revision: 1.1 $ +# +# last change: $Author: mi $ $Date: 2000-11-06 09:22:00 $ +# +# The Contents of this file are made available subject to the terms of +# either of the following licenses +# +# - GNU Lesser General Public License Version 2.1 +# - Sun Industry Standards Source License Version 1.1 +# +# Sun Microsystems Inc., October, 2000 +# +# GNU Lesser General Public License Version 2.1 +# ============================================= +# Copyright 2000 by Sun Microsystems, Inc. +# 901 San Antonio Road, Palo Alto, CA 94303, USA +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License version 2.1, as published by the Free Software Foundation. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, +# MA 02111-1307 USA +# +# +# Sun Industry Standards Source License Version 1.1 +# ================================================= +# The contents of this file are subject to the Sun Industry Standards +# Source License Version 1.1 (the "License"); You may not use this file +# except in compliance with the License. You may obtain a copy of the +# License at http://www.openoffice.org/license.html. +# +# Software provided under this License is provided on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, +# WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, +# MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. +# See the License for the specific provisions governing your rights and +# obligations concerning the Software. +# +# The Initial Developer of the Original Code is: Sun Microsystems, Inc. +# +# Copyright: 2000 by Sun Microsystems, Inc. +# +# All Rights Reserved. +# +# Contributor(s): _______________________________________ +# +# +# +#************************************************************************* + +PRJ=..$/..$/..$/.. + +PRJNAME=api + +TARGET=csssdbcx +PACKAGE=com$/sun$/star$/sdbcx + +# --- Settings ----------------------------------------------------- +.INCLUDE : $(PRJ)$/util$/makefile.pmk + +# ------------------------------------------------------------------------ +IDLFILES=\ + CheckOption.idl \ + CompareBookmark.idl \ + Column.idl \ + ColumnDescriptor.idl \ + Container.idl \ + DatabaseDefinition.idl \ + Descriptor.idl \ + Driver.idl \ + Group.idl \ + Index.idl \ + IndexColumn.idl \ + IndexColumnDescriptor.idl \ + IndexDescriptor.idl \ + Key.idl \ + KeyDescriptor.idl \ + KeyColumnDescriptor.idl \ + KeyDescriptor.idl \ + KeyType.idl \ + PreparedStatement.idl \ + Privilege.idl \ + PrivilegeObject.idl \ + ReferenceColumn.idl \ + ResultSet.idl \ + Statement.idl \ + Table.idl \ + TableDescriptor.idl \ + User.idl \ + UserDescriptor.idl \ + View.idl \ + ViewDescriptor.idl \ + XAlterTable.idl \ + XAppend.idl \ + XAuthorizable.idl \ + XColumnsSupplier.idl \ + XCreateCatalog.idl \ + XDeleteRows.idl \ + XDataDefinitionSupplier.idl \ + XDataDescriptorFactory.idl \ + XDrop.idl \ + XDropCatalog.idl \ + XGroupsSupplier.idl \ + XIndexesSupplier.idl \ + XKeysSupplier.idl \ + XRename.idl \ + XRowLocate.idl \ + XTablesSupplier.idl \ + XUser.idl \ + XUsersSupplier.idl \ + XViewsSupplier.idl \ + +# ------------------------------------------------------------------ +.INCLUDE : target.mk +.INCLUDE : $(PRJ)$/util$/target.pmk + + |