Package com._1c.g5.v8.derived.context
Interface IRemovalContextCollector
- 
- All Known Implementing Classes:
- RemovalContextCollectorAdapter,- SelfRemovalContextCollector
 
 public interface IRemovalContextCollectorCollects DD rebuilding context in case of BM object removal.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcollectContextOnObjectRemoval(long bmObjectId, org.eclipse.emf.ecore.EClass objectEClass, IContextCollectingSession contextSession, IBmModel model)This method allows to gather additional scope for after-removal clearings.voidcollectContextOnObjectRemoval(IBmObject bmObject, org.eclipse.emf.common.util.URI uri, IBmObject topObject, BmSubEvent bmEvent, IContextCollectingSession contextSession, IBmModel model)This method allows to gather additional scope for after-removal clearings.org.eclipse.emf.ecore.EClassgetSupportedType()Gets the type of the BM object this collector supports.
 
- 
- 
- 
Method Detail- 
collectContextOnObjectRemovalvoid collectContextOnObjectRemoval(IBmObject bmObject, org.eclipse.emf.common.util.URI uri, IBmObject topObject, BmSubEvent bmEvent, IContextCollectingSession contextSession, IBmModel model) This method allows to gather additional scope for after-removal clearings.- Parameters:
- bmObject- BM-detached object instance received in the process of the removal.
- uri- the URI the object had prior to removal. If the object is top, non-- nullvalue is supplied, otherwise not defined.
- bmTopObject- Top object that is an owner of a removed object. May be detached in case if the top object was removed as well. May be equal to the bmObject in case if bmObject is a top object. Never- null
- bmEvent- the event that has been fired by BM in response to the deassociation
- contextSession- Session of the context collection being used to access object contexts.
- model- The BM model.
 
 - 
collectContextOnObjectRemovalvoid collectContextOnObjectRemoval(long bmObjectId, org.eclipse.emf.ecore.EClass objectEClass, IContextCollectingSession contextSession, IBmModel model)This method allows to gather additional scope for after-removal clearings.- Parameters:
- bmObjectId- The identifier of the object to register the removal for.
- objectEClass- The- EClassof the object to register the removal for. Cannot be- null
- contextSession- Session of the context collection being used to access object contexts.
- model- The BM model.
 
 - 
getSupportedTypeorg.eclipse.emf.ecore.EClass getSupportedType() Gets the type of the BM object this collector supports.- Returns:
- The type of supported BM object.
 
 
- 
 
-