Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: configuration :: backend ::

interface XUpdatableLayer
Base Interfaces
XUpdatableLayerXLayer

XLayer
(referenced interface's summary:)
provides read access to the data contained in a layer.
Description
Provides access to a read-write layer of configuration data for a given component and entity.
Since
OOo 1.1.2

Methods' Summary
replaceWith Replaces the current layer with the layer given as input parameter.  
Methods' Details
replaceWith
void
replaceWith( [in] XLayer  aNewLayer )
raises( ::com::sun::star::lang::NullPointerException,
::com::sun::star::lang::WrappedTargetException,
MalformedDataException );

Description
Replaces the current layer with the layer given as input parameter.

After the replacement has been performed, reading the layer will return the new content. Some implementations may not support this, so after an update XLayer::readData() may fail.

Parameter aNewLayer
replacement layer
Throws
com::sun::star::lang::NullPointerException if a NULL handler is passed.
Throws
com::sun::star::lang::WrappedTargetException if an error occurs during the replacement.
Throws
com::sun::star::configuration::backend::MalformedDataException if the layer contains invalid data.
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.