This is the generic interface for supporting the creation and removal of elements with unique identifiers.
More...
import"XIdentifierContainer.idl";
|
| long | insert ([in] any aElement) raises ( com::sun::star::lang::IllegalArgumentException, com::sun::star::lang::WrappedTargetException ) |
| | inserts an element and creates a new unique identifier for it. More...
|
| |
| void | removeByIdentifier ([in] long Identifier) raises ( com::sun::star::container::NoSuchElementException, com::sun::star::lang::WrappedTargetException ) |
| | removes the element with the specified identifier. More...
|
| |
| void | replaceByIdentifer ([in] long Identifier, [in] any aElement) raises ( com::sun::star::lang::IllegalArgumentException, com::sun::star::container::NoSuchElementException, com::sun::star::lang::WrappedTargetException ) |
| | replaces the element with the specified identifier. More...
|
| |
| any | getByIdentifier ([in] long Identifier) raises ( com::sun::star::container::NoSuchElementException, com::sun::star::lang::WrappedTargetException ) |
| |
| sequence< long > | getIdentifiers () |
| |
| type | getElementType () |
| |
| boolean | hasElements () |
| |
| any | queryInterface ([in] type aType) |
| | queries for a new interface to an existing UNO object. More...
|
| |
| void | acquire () |
| | increases the reference counter by one. More...
|
| |
| void | release () |
| | decreases the reference counter by one. More...
|
| |
This is the generic interface for supporting the creation and removal of elements with unique identifiers.
- See also
- XContainer
◆ insert()
inserts an element and creates a new unique identifier for it.
- Returns
- the newly created identifier under which the element is inserted.
- Parameters
-
| aElement | The new element that will be inserted. |
- Exceptions
-
◆ removeByIdentifier()
removes the element with the specified identifier.
- Parameters
-
| Identifier | The identifier that should be removed. |
- Exceptions
-
The documentation for this interface was generated from the following file: