Overview | Module | Use | Devguide | Index

Methods' Summary | Attributes' Summary | Methods' Details | Attributes' Details

:: com :: sun :: star :: configuration :: backend ::
interface XUpdatableLayer
  Base Interfaces
      XUpdatableLayer
      ┗ XLayer
  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

Copyright © 2000, 2014 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.