LibreOffice
LibreOffice 24.2 SDK API Reference
|
Handles access to layered data stored in a repository. More...
import"XBackend.idl";
Public Member Functions | |
sequence< XLayer > | listOwnLayers ([in] string aComponent) raises (BackendAccessException, com::sun::star::lang::IllegalArgumentException) |
retrieves the layers associated to the owner entity for a component. More... | |
XUpdateHandler | getOwnUpdateHandler ([in] string aComponent) raises (BackendAccessException, com::sun::star::lang::NoSupportException, com::sun::star::lang::IllegalArgumentException) |
creates an update handler for the owner entity layer for a component. More... | |
sequence< XLayer > | listLayers ([in] string aComponent, [in] string aEntity) raises (BackendAccessException, com::sun::star::lang::IllegalArgumentException) |
retrieves the layers associated to an entity for a component. More... | |
XUpdateHandler | getUpdateHandler ([in] string aComponent, [in] string aEntity) raises (BackendAccessException, com::sun::star::lang::NoSupportException, com::sun::star::lang::IllegalArgumentException) |
creates an update handler on an entity's layer for a component. More... | |
Public Member Functions inherited from XInterface | |
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... | |
Handles access to layered data stored in a repository.
Data can be retrieved on behalf of one or more entities.
There is an implied owner entity associated to the object when it is created. This entity should be used for normal data access. For administrative operations data of other entities can be accessed.
XUpdateHandler getOwnUpdateHandler | ( | [in] string | aComponent | ) | |
raises | ( | BackendAccessException, | |||
com::sun::star::lang::NoSupportException, | |||||
com::sun::star::lang::IllegalArgumentException | |||||
) |
creates an update handler for the owner entity layer for a component.
aComponent | component whose data will be updated |
com::sun::star::lang::IllegalArgumentException | if the component identifier is invalid |
com::sun::star::lang::NoSupportException | if updates are not supported for this backend |
com::sun::star::configuration::backend::BackendAccessException | if an error occurs while accessing the data. |
XUpdateHandler getUpdateHandler | ( | [in] string | aComponent, |
[in] string | aEntity | ||
) | |||
raises | ( | BackendAccessException, | |
com::sun::star::lang::NoSupportException, | |||
com::sun::star::lang::IllegalArgumentException | |||
) |
creates an update handler on an entity's layer for a component.
aComponent | component whose data will be updated |
aEntity | entity whose data will be updated |
com::sun::star::lang::IllegalArgumentException | if the component identifier is invalid or if the entity doesn't exist. |
com::sun::star::lang::NoSupportException | if updates are not supported for this backend |
com::sun::star::configuration::backend::BackendAccessException | if an error occurs while accessing the data. |
sequence<XLayer> listLayers | ( | [in] string | aComponent, |
[in] string | aEntity | ||
) | |||
raises | ( | BackendAccessException, | |
com::sun::star::lang::IllegalArgumentException | |||
) |
retrieves the layers associated to an entity for a component.
aComponent | component whose data will be accessed |
aEntity | entity whose data will be accessed |
com::sun::star::lang::IllegalArgumentException | if the component identifier is invalid or if the entity doesn't exist. |
com::sun::star::configuration::backend::BackendAccessException | if an error occurs while accessing the data. |
sequence<XLayer> listOwnLayers | ( | [in] string | aComponent | ) | |
raises | ( | BackendAccessException, | |||
com::sun::star::lang::IllegalArgumentException | |||||
) |
retrieves the layers associated to the owner entity for a component.
aComponent | component whose data will be accessed |
com::sun::star::lang::IllegalArgumentException | if the component identifier is invalid |
com::sun::star::configuration::backend::BackendAccessException | if an error occurs while accessing the data. |