(incubating) | The Free and Open Productivity Suite
Announcing Apache OpenOffice 3.4

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: com :: sun :: star :: sdb ::

service DefinitionContainer
Description
describes a container which provides access to database related definitions like commands, forms, and reports.

The container supports access to its elements by the elements name or by the elements position.

Simple enumeration must be supported as well.

To reflect the changes with the underlying database, a refresh mechanism needs to be supported.

Developers Guide
Database - Adding and Editing Predefined Queries

Exported Interfaces - Summary
::com::sun::star::container::XNameAccess
(referenced entity's summary:)
is used to access named objects within a container.
::com::sun::star::container::XNameContainer
(referenced entity's summary:)
This is the generic interface for supporting the insertion and removal of named elements.
::com::sun::star::container::XIndexAccess
(referenced entity's summary:)
provides access to the elements of a collection through an index.
::com::sun::star::container::XEnumerationAccess
(referenced entity's summary:)
used to enumerate objects in a container which contains objects.
::com::sun::star::util::XRefreshable

is used to refresh the container, to reflect changes in the underlying database. (details)

::com::sun::star::lang::XSingleServiceFactory

can be used to create container elements. (details)

Exported Interfaces - Details
::com::sun::star::container::XNameAccess
(referenced entity's summary:)
is used to access named objects within a container.
::com::sun::star::container::XNameContainer
(referenced entity's summary:)
This is the generic interface for supporting the insertion and removal of named elements.
::com::sun::star::container::XIndexAccess
(referenced entity's summary:)
provides access to the elements of a collection through an index.
::com::sun::star::container::XEnumerationAccess
(referenced entity's summary:)
used to enumerate objects in a container which contains objects.
::com::sun::star::util::XRefreshable
Usage Restrictions
optional
Description
is used to refresh the container, to reflect changes in the underlying database.
::com::sun::star::lang::XSingleServiceFactory
Usage Restrictions
optional
Description
can be used to create container elements.

If this interface is supported, the object created using it (e.g., the object returned by XSingleServiceFactory::createInstance() ) can be used as container elements.


 
Top of Page

Apache Feather

Copyright & License | Privacy | Contact Us

Apache and the Apache feather logos are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.