Class FormDerivedDataContributor
java.lang.Object
com._1c.g5.v8.dt.internal.form.bm.derived.FormDerivedDataContributor
- All Implemented Interfaces:
IDerivedDataConfigurationContributor
public class FormDerivedDataContributor
extends Object
implements IDerivedDataConfigurationContributor
Configuration contributor for derived data processing of the BSL subsystem.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFormDerivedDataContributor
(FormCommandSourceInferrer commandSourceInferrer, FormEObjectEmfIndexBuilder formEObjectEmfIndexBuilder, FormImplicitRefInferrer formImplicitRefInferrer, FormBackRefInferrer formBackRefInferrer, FormItemPropertyContextDefInferrer formItemContextDefInferrer, FormDerivedDataRemover formDerivedDataRemover, IPathIndexManager pathIndexManager, IBmModelManager modelManager, IFormExtensionService formExtensionService, IV8ProjectManager v8ProjectManager) Constructs IoC instrumented instance of the form contributor. -
Method Summary
Modifier and TypeMethodDescriptionGets the set of factories producing DD contexts specific for given segments and object types.Gets the collection of derived data updates that must be called in case of the system restoration.Gets definitions of the DD pipeline segments.Gets definitions of the DD pipeline segments.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com._1c.g5.v8.derived.IDerivedDataConfigurationContributor
getDeactivationControllers, getForcedDataUpdates, init
-
Field Details
-
NORMAL_MODEL_CHECKS_SEGMENT_ID
- See Also:
-
-
Constructor Details
-
FormDerivedDataContributor
@Inject public FormDerivedDataContributor(FormCommandSourceInferrer commandSourceInferrer, FormEObjectEmfIndexBuilder formEObjectEmfIndexBuilder, FormImplicitRefInferrer formImplicitRefInferrer, FormBackRefInferrer formBackRefInferrer, FormItemPropertyContextDefInferrer formItemContextDefInferrer, FormDerivedDataRemover formDerivedDataRemover, IPathIndexManager pathIndexManager, IBmModelManager modelManager, IFormExtensionService formExtensionService, IV8ProjectManager v8ProjectManager) Constructs IoC instrumented instance of the form contributor.- Parameters:
commandSourceInferrer
-FormCommandSourceInferrer
computer reference. May not benull
formEObjectEmfIndexBuilder
-FormEObjectEmfIndexBuilder
computer reference. May not benull
formImplicitRefInferrer
-FormImplicitRefInferrer
computer reference. May not benull
formBackRefInferrer
-FormBackRefInferrer
computer reference. May not benull
formItemContextDefInferrer
-FormItemPropertyContextDefInferrer
computer reference. May not benull
formDerivedDataRemover
-FormDerivedDataRemover
computer reference. May not benull
pathIndexManager
-PathIndexManager
computer reference. May not benull
modelManager
-IBmModelManager
service reference. May not benull
formExtensionService
-IFormExtensionService
service reference. May not benull
v8ProjectManager
-IV8ProjectManager
service reference. May not benull
-
-
Method Details
-
getComputers
- Specified by:
getComputers
in interfaceIDerivedDataConfigurationContributor
- Returns:
- the contributed computers. Implementation should return empty collection in case if no computers are provided.
-
getContextCollectors
- Specified by:
getContextCollectors
in interfaceIDerivedDataConfigurationContributor
- Returns:
- the contributed context collectors. Implementation should return empty collection in case if no descriptors are provided.
-
getContextFactories
Description copied from interface:IDerivedDataConfigurationContributor
Gets the set of factories producing DD contexts specific for given segments and object types.- Specified by:
getContextFactories
in interfaceIDerivedDataConfigurationContributor
- Returns:
- The set of supported DD context factories. Null safe (implementations could return null collections).
-
getRemovalContextCollectors
- Specified by:
getRemovalContextCollectors
in interfaceIDerivedDataConfigurationContributor
- Returns:
- the contributed removal context collectors. Implementation should return empty collection in case if no descriptors are provided.
-
getSegmentDefinitions
Description copied from interface:IDerivedDataConfigurationContributor
Gets definitions of the DD pipeline segments.- Specified by:
getSegmentDefinitions
in interfaceIDerivedDataConfigurationContributor
- Returns:
- Collection of separate segment definitions. Cannot be
null
-
getSegmentDefinitionsV2
Description copied from interface:IDerivedDataConfigurationContributor
Gets definitions of the DD pipeline segments. V2 API version based on segment dependencies- Specified by:
getSegmentDefinitionsV2
in interfaceIDerivedDataConfigurationContributor
- Returns:
- Collection of separate segment definitions. Cannot be
null
-
getRestorationUpdates
Description copied from interface:IDerivedDataConfigurationContributor
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- Specified by:
getRestorationUpdates
in interfaceIDerivedDataConfigurationContributor
- Returns:
- Contributed updates. Never
null
, could be empty.
-