Overview | Module | Use | Devguide | Index

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

:: com :: sun :: star :: util ::
interface XChangesBatch
Description this interface enables applying a set of changes in one batch transaction. An object implementing this interface allows other interfaces to change its state locally. It will keep a list of pending changes until such changes are committed or canceled. Only when they are explicitly committed will these changes take effect persistently or globally. See also XChangesNotifier, XChangesSet, XCancellable Developers Guide WritingUNO - Disable Commands - Disabling Commands at Runtime

Methods' Summary
commitChanges | commits any pending changes.
hasPendingChanges | checks whether this object has any pending changes that can be committed.
getPendingChanges | queries for any pending changes that can be committed.

Methods' Details
commitChanges
void
commitChanges()
raises( | ::com::sun::star::lang::WrappedTargetException );
Description commits any pending changes. The exact action depends on the concrete service.
hasPendingChanges
boolean
hasPendingChanges();
Description checks whether this object has any pending changes that can be committed.
getPendingChanges
ChangesSet
getPendingChanges();
Description queries for any pending changes that can be committed.

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.