service DefinitionContainer in module com::sun::star::sdb::

(Global Index)

Syntax

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.

Exported Interfaces

com::sun::star::container::XNameAccess

Description

is used to access named objects within a container.


com::sun::star::container::XNameContainer

Description

This is the generic interface for supporting the insertion and removal of named elements.


com::sun::star::container::XIndexAccess

Description

provides access to the elements of a collection through an index.


com::sun::star::container::XEnumerationAccess

Description

used to enumerate objects in a container which contains objects.


com::sun::star::util::XRefreshable [ OPTIONAL ]

Description

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


com::sun::star::lang::XSingleServiceFactory [ 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