com.sap.netweaver.bc.serialize

Interface IRecursiveDeltaChecker


public interface IRecursiveDeltaChecker

Utility class to be used in the area of Delta-serializations and exports. It is provided to any IDeltaSerializer when it must check if a given IResource has been modified or not.


Method Summary
 IDeltaSerializer.DeltaSerializerParameters getParameters()
           
 boolean isModified(IResource resource)
          All IDeltaSerializer that are registered for this resource will be called via their IDeltaSerializer.isModified(IResource, IRecursiveDeltaChecker) method.
 boolean isModified(RID rid, IResourceContext context)
          see isModified(IResource).
 

Method Detail

isModified

boolean isModified(IResource resource)
                   throws WcmException
All IDeltaSerializer that are registered for this resource will be called via their IDeltaSerializer.isModified(IResource, IRecursiveDeltaChecker) method. If circle-references are not detected, by the implementation, this might result in a stack overflow!

Parameters:
resource - the resource to check modification for. Must not be null
Returns:
flag
Throws:
WcmException

isModified

boolean isModified(RID rid,
                   IResourceContext context)
                   throws WcmException
see isModified(IResource). This is a performance improvement method: If the implementation caches results, it might be able to return the flag without needing to do calculations. In this case, the resource's RID is sufficient information. A caller does not need to do the expensive resource instantiation in vain.

Parameters:
rid - the rid to check, must not be null
context - the current context, must not null
Returns:
flag
Throws:
WcmException

getParameters

IDeltaSerializer.DeltaSerializerParameters getParameters()
Returns:
the current delta parameters. Must not be null
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-CM [sap.com] tc/km/frwk api EP-KM-CM
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2014 SAP AG Complete Copyright Notice