Overview | Module | Use | Devguide | Index

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

:: com :: sun :: star :: configuration :: backend ::
interface XUpdatableLayer
  Base Hierarchy
      ::com::sun::star::uno::XInterface
       |
       +-XLayer
          |
          +-XUpdatableLayer
Description Provides access to a read-write layer of configuration data for a given component and entity. Since version OpenOffice.org 1.1.1

Methods' Summary
replaceWith | Replaces the current layer with the layer given as input parameter.

Methods' Details
replaceWith
void replaceWith( | [in] XLayer raises( | aNewLayer ) ::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 © 2003 Sun Microsystems, Inc.