Package com._1c.g5.v8.derived.context
Interface IRemovalContextCollector
-
- All Known Implementing Classes:
RemovalContextCollectorAdapter
,SelfRemovalContextCollector
public interface IRemovalContextCollector
Collects DD rebuilding context in case of BM object removal.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
collectContextOnObjectRemoval(long bmObjectId, org.eclipse.emf.ecore.EClass objectEClass, IContextCollectingSession contextSession, IBmModel model)
This method allows to gather additional scope for after-removal clearings.void
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.org.eclipse.emf.ecore.EClass
getSupportedType()
Gets the type of the BM object this collector supports.
-
-
-
Method Detail
-
collectContextOnObjectRemoval
void 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-null
value 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. Nevernull
bmEvent
- the event that has been fired by BM in response to the deassociationcontextSession
- Session of the context collection being used to access object contexts.model
- The BM model.
-
collectContextOnObjectRemoval
void 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
- TheEClass
of the object to register the removal for. Cannot benull
contextSession
- Session of the context collection being used to access object contexts.model
- The BM model.
-
getSupportedType
org.eclipse.emf.ecore.EClass getSupportedType()
Gets the type of the BM object this collector supports.- Returns:
- The type of supported BM object.
-
-