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, 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.boolean
supportsAsync()
Checks if this collector supports collecting of context for async.boolean
supportsSync()
Checks if this collector supports collecting of context for sync.
-
-
-
Method Detail
-
collectContextOnObjectRemoval
void collectContextOnObjectRemoval(IBmObject bmObject, org.eclipse.emf.common.util.URI uri, 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.contextSession
- 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.
-
supportsSync
boolean supportsSync()
Checks if this collector supports collecting of context for sync. DD mode.- Returns:
- True if the sync. collection mode supported.
-
supportsAsync
boolean supportsAsync()
Checks if this collector supports collecting of context for async. DD mode.- Returns:
- True if the async. collection mode supported.
-
-