interface XChangesBatch in module com::sun::star::util::

(Global Index)

Syntax

interface XChangesBatch : com::sun::star::uno::XInterface ;

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

See also

XChangesSet

See also

XCancellable

Method 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.

Known Services Which Export this Interface

com::sun::star::ucb::HierarchyDataReadWriteAccess

com::sun::star::configuration::UpdateRootElement

com::sun::star::packages::Package

Method Details



commitChanges

Syntax

void commitChanges ();
raises ( com::sun::star::lang::WrappedTargetException );

Description

Commits any pending changes.

The meaning of 'commit', especially any transactional guarantees, depend on the service.


hasPendingChanges

Syntax

boolean hasPendingChanges ();

Description

checks whether this object has any pending changes that can be committed.


getPendingChanges

Syntax

com::sun::star::util::ChangesSet getPendingChanges ();

Description

queries for any pending changes that can be committed.

Top of Page