(incubating) | The Free and Open Productivity Suite
Announcing Apache OpenOffice 3.4

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: 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 cancelled.

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

Apache Feather

Copyright & License | Privacy | Contact Us

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

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.