org.apache.cocoon.portal.util
Interface DeltaApplicable

All Known Subinterfaces:
DeltaApplicableReferencesAdjustable
All Known Implementing Classes:
CopletData, CopletDataManager

public interface DeltaApplicable

Interface for functionality of objects to be updated by a delta object.

Version:
CVS $Id: DeltaApplicable.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Björn Lütkemeier

Method Summary
 boolean applyDelta(Object object)
          Applies the specified delta.
 boolean deltaApplied()
          Checks if a delta has been applied.
 

Method Detail

applyDelta

boolean applyDelta(Object object)
Applies the specified delta.

Returns:
true if the delta could be successfully applied, false otherwise. false can be used if object references stored in maps must be replaced by the caller instead of a delta being applied.
Throws:
ClassCastException - If the object is not of the expected type.

deltaApplied

boolean deltaApplied()
Checks if a delta has been applied.



Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.