|
LibreOffice
LibreOffice 24.8 SDK API Reference
|
This is the generic interface for supporting the creation and removal of elements with unique identifiers. More...
import "XIdentifierContainer.idl";
Public Member Functions | |
| 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. | |
| void | removeByIdentifier ([in] long Identifier) raises ( com::sun::star::container::NoSuchElementException, com::sun::star::lang::WrappedTargetException ) |
| removes the element with the specified identifier. | |
| Public Member Functions inherited from XIdentifierReplace | |
| 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. | |
| Public Member Functions inherited from XIdentifierAccess | |
| any | getByIdentifier ([in] long Identifier) raises ( com::sun::star::container::NoSuchElementException, com::sun::star::lang::WrappedTargetException ) |
| sequence< long > | getIdentifiers () |
| Public Member Functions inherited from XElementAccess | |
| type | getElementType () |
| boolean | hasElements () |
| Public Member Functions inherited from XInterface | |
| any | queryInterface ([in] type aType) |
| queries for a new interface to an existing UNO object. | |
| void | acquire () |
| increases the reference counter by one. | |
| void | release () |
| decreases the reference counter by one. | |
This is the generic interface for supporting the creation and removal of elements with unique identifiers.
| 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.
| aElement | The new element that will be inserted. |
| com::sun::star::lang::IllegalArgumentException | if the argument is not valid for this container. |
| com::sun::star::lang::WrappedTargetException | If the implementation has internal reasons for exceptions, then wrap these in a com::sun::star::lang::WrappedTargetException exception. |
| void removeByIdentifier | ( | [in] long | Identifier | ) | ||
| raises | ( | com::sun::star::container::NoSuchElementException, | ||||
| com::sun::star::lang::WrappedTargetException ) | ||||||
removes the element with the specified identifier.
| Identifier | The identifier that should be removed. |
| com::sun::star::lang::NoSuchElementException | If the identifier does not exist. |
| com::sun::star::lang::WrappedTargetException | If the implementation has internal reasons for exceptions, then wrap these in a com::sun::star::lang::WrappedTargetException exception. |