Class CompositeRuleResultProcessor
- java.lang.Object
- 
- com._1c.g5.aef2.standard.definitions.rules.CompositeRuleResultProcessor
 
- 
- All Implemented Interfaces:
- IRuleResultProcessor
 
 public final class CompositeRuleResultProcessor extends Object implements IRuleResultProcessor The composite rule result processor. Accumulates allIRuleResultProcessorinstances registered within a "com._1c.g5.aef2.standard.definitions.ruleResultProcessor" extension point.
- 
- 
Field SummaryFields Modifier and Type Field Description static IRuleResultProcessorINSTANCE
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisRefreshRequired(IRuleResult oldResult, IRuleResult newResult)Returnstrueif the processor cannot update enablement or visibility and the entire component refresh is required.booleanneedCreateComponent(IDefinition componentDefinition, IRuleResult ruleResult)Returnstrueif the component should be created by thecomponentDefinitionfor the givenruleResult.voidprocess(IComponent<?> component, IDefinition componentDefinition, IRuleResult oldRuleResult, IRuleResult newRuleResult)Processes the givenoldRuleResultandnewRuleResultfor the specifiedcomponentand correspondingcomponentDefinition.
 
- 
- 
- 
Field Detail- 
INSTANCEpublic static final IRuleResultProcessor INSTANCE 
 
- 
 - 
Method Detail- 
processpublic void process(IComponent<?> component, IDefinition componentDefinition, IRuleResult oldRuleResult, IRuleResult newRuleResult) Description copied from interface:IRuleResultProcessorProcesses the givenoldRuleResultandnewRuleResultfor the specifiedcomponentand correspondingcomponentDefinition.- Specified by:
- processin interface- IRuleResultProcessor
- Parameters:
- component- the component, cannot be- null.
- componentDefinition- the definition of the component, cannot be- null.
- oldRuleResult- the old rule result to process, cannot be- null
- newRuleResult- the new rule result to process, cannot be- null.
 
 - 
needCreateComponentpublic boolean needCreateComponent(IDefinition componentDefinition, IRuleResult ruleResult) Description copied from interface:IRuleResultProcessorReturnstrueif the component should be created by thecomponentDefinitionfor the givenruleResult.- Specified by:
- needCreateComponentin interface- IRuleResultProcessor
- Parameters:
- componentDefinition- the component definition, cannot be- null.
- ruleResult- the- IRuleResultinstance, cannot be- null.
- Returns:
- trueif the component should be created by the- componentDefinitionfor the given- ruleResult.
 
 - 
isRefreshRequiredpublic boolean isRefreshRequired(IRuleResult oldResult, IRuleResult newResult) Description copied from interface:IRuleResultProcessorReturnstrueif the processor cannot update enablement or visibility and the entire component refresh is required.- Specified by:
- isRefreshRequiredin interface- IRuleResultProcessor
- Parameters:
- oldResult- the old result, cannot be- null.
- newResult- the new result, cannot be- null.
- Returns:
- trueif the processor cannot update enablement or visibility and the entire component refresh is required.
 
 
- 
 
-