Package com._1c.g5.v8.dt.md
Class CommonAttributeCacheProvider
- java.lang.Object
- 
- com._1c.g5.v8.derived.computer.AbstractDerivedDataPartComputer
- 
- com._1c.g5.v8.dt.md.CommonAttributeCacheProvider
 
 
- 
- All Implemented Interfaces:
- IDerivedDataPartComputer,- ICommonAttributeCacheProvider,- IManagedService
 
 @LifecycleService(name="COMMON_ATTRIBUTE_CACHE_PROVIDER") public class CommonAttributeCacheProvider extends AbstractDerivedDataPartComputer implements ICommonAttributeCacheProvider Special cache forCommonAttributeindex elements. Contains index elements sorted in lexicographical order by name
- 
- 
Constructor SummaryConstructors Constructor Description CommonAttributeCacheProvider()Constructor
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactivate()protected voidclearCacheItems()Clears cache itemsvoidcompute(IBmObject bmObject, IPartBasedObjectContext context, org.eclipse.core.runtime.IProgressMonitor progressMonitor)Computes part of the given object derived data.protected Collection<org.eclipse.xtext.resource.IEObjectDescription>computeCacheItems(IBmObject target)ComputesCommonAttributeindex elements by context objectvoiddeactivate()Collection<org.eclipse.xtext.resource.IEObjectDescription>getCommonAttributeCacheItems(IBmObject target)GetsCommonAttributeindex elements- 
Methods inherited from class com._1c.g5.v8.derived.computer.AbstractDerivedDataPartComputergetSupportedPartId
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com._1c.g5.v8.derived.computer.IDerivedDataPartComputercomputeForRemovedObject, getSupportedPartId, isSeparateContainmentContextComputation
 
- 
 
- 
- 
- 
Method Detail- 
computepublic void compute(IBmObject bmObject, IPartBasedObjectContext context, org.eclipse.core.runtime.IProgressMonitor progressMonitor) Description copied from interface:IDerivedDataPartComputerComputes part of the given object derived data.- Specified by:
- computein interface- IDerivedDataPartComputer
- Parameters:
- bmObject- Context of the derived data computing. Cannot be- null
- context- The context of the DD computation. May not be- null
- progressMonitor- Controls the computation of the derived data. Cannot be- null
 
 - 
getCommonAttributeCacheItemspublic Collection<org.eclipse.xtext.resource.IEObjectDescription> getCommonAttributeCacheItems(IBmObject target) Description copied from interface:ICommonAttributeCacheProviderGetsCommonAttributeindex elements- Specified by:
- getCommonAttributeCacheItemsin interface- ICommonAttributeCacheProvider
- Parameters:
- target- context- EObjectfor getting index elements, can't be- null 
- Returns:
- CommonAttributeindex elements, never- null
 
 - 
activatepublic void activate() - Specified by:
- activatein interface- IManagedService
 
 - 
deactivatepublic void deactivate() - Specified by:
- deactivatein interface- IManagedService
 
 - 
clearCacheItemsprotected void clearCacheItems() Clears cache items
 - 
computeCacheItemsprotected Collection<org.eclipse.xtext.resource.IEObjectDescription> computeCacheItems(IBmObject target) ComputesCommonAttributeindex elements by context object- Parameters:
- target-
- Returns:
 
 
- 
 
-