Package com._1c.g5.v8.derived
Interface IDerivedDataConfigurationContributor
- All Known Implementing Classes:
AdditionalIndexDerivedDataContributor
,AggregatesDerivedDataContributor
,CheckDerivedDataContributor
,CmiDerivedDataContributor
,CoreDerivedDataContributor
,FormDerivedDataContributor
,FormExtensionDerivedDataContributor
,GraphicalSchemeDerivedDataContributor
,MarkerReindexDerivedDataContributor
,MdDerivedDataContributor
,MdExtensionDerivedDataContributor
,ModelUpdaterDerivedDataContributor
,StyleDerivedDataContributor
,TextSearchDerivedDataContributor
,XdtoDerivedDataContributor
public interface IDerivedDataConfigurationContributor
A component that contributes configuration elements for the derived data
computation mechanism.
- See Also:
-
DerivedDataBmProvider
IContextCollector
IPreconditionsChecker
IDerivedDataComputer
-
Method Summary
Modifier and TypeMethodDescriptionGets the set of factories producing DD contexts specific for given segments and object types.default Collection<IContextDeactivationController>
Gets a collection ofIContextDeactivationController
'sdefault Collection<IDerivedDataUpdate>
Gets the collection of derived data updates that must be called in case of library/base configuration is being attached/updated They could be used to restore data that can't be updated using normal async data computation facility tools (reactive context collectors, etc)default Collection<IDerivedDataUpdate>
Gets the collection of derived data updates that must be called in case of the system restoration.default Collection<DerivedDataSegmentDefinition>
Gets definitions of the DD pipeline segments.default Collection<DerivedDataSegmentDefinitionV2>
Gets definitions of the DD pipeline segments.default void
init()
Performs initial data settings for contributors (usually extensible ones).
-
Method Details
-
init
default void init()Performs initial data settings for contributors (usually extensible ones). This method called only once per contributor per EDT session -
getComputers
Collection<IDerivedDataComputer> getComputers()- Returns:
- the contributed computers. Implementation should return empty collection in case if no computers are provided.
-
getContextCollectors
Collection<IContextCollector> getContextCollectors()- Returns:
- the contributed context collectors. Implementation should return empty collection in case if no descriptors are provided.
-
getContextFactories
Collection<ITypeSpecificObjectContextFactory> getContextFactories()Gets the set of factories producing DD contexts specific for given segments and object types.- Returns:
- The set of supported DD context factories. Null safe (implementations could return null collections).
-
getRemovalContextCollectors
Collection<IRemovalContextCollector> getRemovalContextCollectors()- Returns:
- the contributed removal context collectors. Implementation should return empty collection in case if no descriptors are provided.
-
getSegmentDefinitions
Gets definitions of the DD pipeline segments.- Returns:
- Collection of separate segment definitions. Cannot be
null
-
getSegmentDefinitionsV2
Gets definitions of the DD pipeline segments. V2 API version based on segment dependencies- Returns:
- Collection of separate segment definitions. Cannot be
null
-
getRestorationUpdates
Gets the collection of derived data updates that must be called in case of the system restoration. They could be used to restore non-reliable indexes, etc- Returns:
- Contributed updates. Never
null
, could be empty.
-
getDeactivationControllers
Gets a collection ofIContextDeactivationController
's- Returns:
- Collection of
IContextDeactivationController
's. Cannot benull
-
getForcedDataUpdates
Gets the collection of derived data updates that must be called in case of library/base configuration is being attached/updated They could be used to restore data that can't be updated using normal async data computation facility tools (reactive context collectors, etc)- Returns:
- Contributed updates. Never
null
, could be empty.
-