Overview | Module | Use | Devguide | Index

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

:: com :: sun :: star :: configuration :: backend ::
interface XSingleLayerStratum
Description Handles access to a stratum consisting of a single layer in a configuration data repository The interface provides timestamp-checking capabilities for efficient caching. Since OOo 1.1.2 See also ::com::sun::star::util::XTimeStamped, XSchemaSupplier, XMultiLayerStratum

Methods' Summary
getLayer | retrieves the layer data for a component, if newer than indicated.
getUpdatableLayer | retrieves a writable representation of the layer for a component.

Methods' Details
getLayer
XLayer
getLayer( | [in] string | aComponent,
| [in] string | aTimestamp )
raises( | BackendAccessException, ::com::sun::star::lang::IllegalArgumentException );
Description retrieves the layer data for a component, if newer than indicated. A timestamp can be provided, which is used to indicate a point in time. The layer should be returned only if is modified since that time. Parameter aComponent The name of the component to access. Parameter aTimestamp a timestamp for the layer. An empty timestamp indicates, that the layer should be retrieved irrespective of its modification time. The format and meaning of a timestamp depends on the implementation. Timestamps can be obtained using ::com::sun::star::util::XTimeStamped::getTimestamp(). Returns a Layer object providing access to the layer data, NULL if the layer is newer than indicated by the timestamp. Throws com::sun::star::lang::IllegalArgumentException if the component identifier is invalid or if the timestamp is invalid. Throws com::sun::star::configuration::backend::BackendAccessException if an error occurs while accessing the data. See also ::com::sun::star::util::XTimeStamped
getUpdatableLayer
XUpdatableLayer
getUpdatableLayer( | [in] string | aComponent )
raises( | BackendAccessException, ::com::sun::star::lang::NoSupportException, ::com::sun::star::lang::IllegalArgumentException );
Description retrieves a writable representation of the layer for a component. Parameter aComponent The name of the component to access. Returns an UpdatableLayer object providing write access to the layer Throws com::sun::star::lang::IllegalArgumentException if the component identifier is invalid. Throws com::sun::star::lang::NoSupportException if the implementation does not support updates. Throws com::sun::star::configuration::backend::BackendAccessException if an error occurs while accessing the data.

Top of Page

Copyright © 2000, 2013 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.