com.togethersoft.openapi.model.extension
Interface DeltaProvider


public interface DeltaProvider
extends Provider

This provider is responsible for collecting all changes, which have been done in model.
It must support this information in form of ModelDelta.

Author:
TogetherSoft

Method Summary
 voidfinishSavingChanges(ModelDelta modelDelta)
          This method is called, when provider must stop counting changes in modelDelta.
 ModelDeltastartSavingChanges()
          This method is called, when it's time to start recording of chages in system.

Method Detail

finishSavingChanges

public void finishSavingChanges(ModelDelta modelDelta)
This method is called, when provider must stop counting changes in modelDelta.
After this method run, modelDelta must no longer record any changes in model and
its methods can be invoked to retrieve changes in system.

startSavingChanges

public ModelDelta startSavingChanges()
This method is called, when it's time to start recording of chages in system. Provider must
return object, which implements ModelDelta interface. This object represents
changes collector. No method of it will be invoked before corresponding
finishSavingChanges method is called.