com.ibm.mashups.enabler
Interface Commitable


public Commitable

An interface that adds methods for checking for changes and appyling them.

Since:
2.4

Method Summary
 boolean isDirty()
           States whether this object is "dirty", meaning changes where done on this object.
 DeferredOperation commit()
           Commits the modifications applied to this object.
 

Method Detail

isDirty

boolean isDirty()
States whether this object is "dirty", meaning changes where done on this object.

Returns:
true if changes where made to the object, false otherwise.

commit

DeferredOperation commit()
Commits the modifications applied to this object.

Returns:
a deferred object used to start this operation. The return value when executed through the deferred object is null


Copyright IBM Corp. 2010 All Rights Reserved.