Package com._1c.g5.v8.derived.context
Class PartBasedContextFactory
- java.lang.Object
-
- com._1c.g5.v8.derived.context.PartBasedContextFactory
-
- All Implemented Interfaces:
ITypeSpecificObjectContextFactory
public abstract class PartBasedContextFactory extends Object implements ITypeSpecificObjectContextFactory
Implementation of the context factory which producesPartBasedObjectContext
.
-
-
Constructor Summary
Constructors Constructor Description PartBasedContextFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IObjectDerivedDataContext
createContext(String segmentId, long bmObjectId, org.eclipse.emf.ecore.EClass objectEClass, Object computationCause)
Creates a new instance of the DD object context.IObjectDerivedDataContext
createContext(String segmentId, Object objectId, org.eclipse.emf.ecore.EClass objectEClass, Object computationCause)
Creates a new instance of the DD object context.-
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.context.ITypeSpecificObjectContextFactory
getSupportedTypes
-
-
-
-
Method Detail
-
createContext
public IObjectDerivedDataContext createContext(String segmentId, long bmObjectId, org.eclipse.emf.ecore.EClass objectEClass, Object computationCause)
Description copied from interface:ITypeSpecificObjectContextFactory
Creates a new instance of the DD object context.- Specified by:
createContext
in interfaceITypeSpecificObjectContextFactory
- Parameters:
segmentId
- The DD segment identifier.bmObjectId
- The identifier of the object to register the removal for.objectEClass
- TheEClass
of the object to register the removal for. Cannot benull
computationCause
- Session id the DD context is being collected for. Used only in case if syncContext == true- Returns:
- A new context instance.
-
createContext
public IObjectDerivedDataContext createContext(String segmentId, Object objectId, org.eclipse.emf.ecore.EClass objectEClass, Object computationCause)
Description copied from interface:ITypeSpecificObjectContextFactory
Creates a new instance of the DD object context.- Specified by:
createContext
in interfaceITypeSpecificObjectContextFactory
- Parameters:
segmentId
- The DD segment identifier. May not benull
objectId
- The object to register the removal for. May not benull
objectEClass
- TheEClass
of the object to register the removal for. Cannot benull
computationCause
- The identifier of the service the DD is computed for. May benull
- Returns:
- A new context instance, never
null
-
-