LibreOffice
LibreOffice 24.2 SDK API Reference
|
implements BackendAdapter that maintains a cache so it can operate even if the SingleBackend holding the data is inaccessible. More...
import"OfflineBackend.idl";
Included Services | |
service | BackendAdapter |
provides access to configuration data from a SingleBackend. More... | |
Included Services inherited from BackendAdapter | |
service | Backend |
provides access to configuration data. More... | |
Additional Inherited Members | |
Exported Interfaces inherited from BackendAdapter | |
interface | XBackendEntities |
This interface, that is optional in Backend, is mandatory in this service. More... | |
interface | com::sun::star::lang::XInitialization |
allows initializing the backend to use. More... | |
Exported Interfaces inherited from Backend | |
interface | XSchemaSupplier |
provides access to configuration schemas. More... | |
interface | XBackend |
provides access to the layer data. More... | |
interface | XBackendEntities |
provides information about supported and special entities. More... | |
Public Member Functions inherited from XSchemaSupplier | |
XSchema | getComponentSchema ([in] string aComponent) raises (BackendAccessException, com::sun::star::lang::IllegalArgumentException) |
Returns the schema information (component + templates) for a particular 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... | |
Public Member Functions inherited from XBackend | |
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... | |
Protected Member Functions inherited from XBackendEntities | |
string | getOwnerEntity () |
provides the entity id of the owner entity of the backend. More... | |
string | getAdminEntity () |
provides the entity id of an entity for general administrative access. More... | |
boolean | supportsEntity ([in] string aEntity) raises ( BackendAccessException ) |
determines, if a given entity id exists in this backend. More... | |
boolean | isEqualEntity ([in] string aEntity, [in] string aOtherEntity) raises ( BackendAccessException, com::sun::star::lang::IllegalArgumentException) |
determines, if two given entity ids denote the same entity. More... | |
Protected Member Functions inherited from XInitialization | |
void | initialize ([in] sequence< any > aArguments) raises ( com::sun::star::uno::Exception ) |
initializes the object. More... | |
implements BackendAdapter that maintains a cache so it can operate even if the SingleBackend holding the data is inaccessible.
service BackendAdapter |
provides access to configuration data from a SingleBackend.
If no backend is provided during initialization or if the context contains an Offline
flag that is TRUE
, then off-line mode is activated. This may fail, if the off-line cache has not been filled during a previous execution.
Less entities may be available from XBackendEntities, when operating in off-line mode than when operating with an on-line SingleBackend.
If off-line mode is not invoked, the implementation behaves like any other BackendAdapter.