Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


:: 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 Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, 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.