Package com._1c.g5.v8.derived.context
Class AggregatingContextCollector
- java.lang.Object
- 
- com._1c.g5.v8.derived.context.AggregatingContextCollector
 
- 
- All Implemented Interfaces:
- ICaseSpecificContextCollector
 
 public class AggregatingContextCollector extends Object implements ICaseSpecificContextCollector Scope collector being built from separate scope collecting aggregates. Separate aggregates could publish changes incrementally for the same object.
- 
- 
Constructor SummaryConstructors Constructor Description AggregatingContextCollector(ICaseSpecificContextCollector... aggregates)Creates an instance of the aggregating collector using provided set of collecting aggregates.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcollectContext(IBmObject contextObject, BmSubEvent bmEvent, IContextCollectingSession contextSession)Gets called to perform custom scope collection.String[]fullRebuildScope()Collects DD segments that are being affected by the rebuild scope collecting procedure of this collector.
 
- 
- 
- 
Constructor Detail- 
AggregatingContextCollectorpublic AggregatingContextCollector(ICaseSpecificContextCollector... aggregates) Creates an instance of the aggregating collector using provided set of collecting aggregates.- Parameters:
- aggregates- The set of aggregates.
 
 
- 
 - 
Method Detail- 
collectContextpublic void collectContext(IBmObject contextObject, BmSubEvent bmEvent, IContextCollectingSession contextSession) Description copied from interface:ICaseSpecificContextCollectorGets called to perform custom scope collection.- Specified by:
- collectContextin interface- ICaseSpecificContextCollector
- Parameters:
- contextObject- the bmObject to perform scope collection for
- bmEvent- the BM event that caused the necessity of derived data computation. The event may be used to extract some additional information.
- contextSession- Session of the context collection being used to access object contexts.
 
 - 
fullRebuildScopepublic String[] fullRebuildScope() Description copied from interface:ICaseSpecificContextCollectorCollects DD segments that are being affected by the rebuild scope collecting procedure of this collector.- Specified by:
- fullRebuildScopein interface- ICaseSpecificContextCollector
- Returns:
- Arrays of affected DD segments if any; Null/empty array in case if this collector doesn't provide rebuild scope collection.
 
 
- 
 
-