AssocAction Class |
This .NET class wraps the OdDbAssocAction class.
Every object that needs to show associative behavior, i.e. when objects that rely on change are automatically evaluated by the associative mechanism, must be derived from an AssocActionBody class and owned by a parent AssocAction entity. The action body is owned by its parent action, for example when the parent action is deleted, it also erases the action body that is owned.
The AssocAction class does not have virtual methods that can be overridden, therefore it should be done internally when there is no chance that objects of the derived action classes can become proxies.
The AssocAction type exposes the following members.
Name | Description | |
---|---|---|
![]() |
AssocAction |
Default constructor for the AssocAction class.
Wraps the result of the corresponding C++ createObject() method call.
|
Name | Description | |
---|---|---|
![]() |
AddContext | (Inherited from DBObject.) |
![]() |
AddDependency |
Adds the specified dependency to this
action.
|
![]() |
AddMoreObjectsToDeepClone |
Adds more objects to be deep cloned. Call just
before the end of the main deep-cloning loop, when the objects are
already cloned but their identifiers aren't translated yet.
|
![]() |
AddPersistentReactor | (Inherited from DBObject.) |
![]() |
ApplyPartialUndo | (Inherited from DBObject.) |
![]() |
AreDependenciesEqual |
Checks whether the specified dependencies are
equal.
|
![]() |
AreDependenciesOnTheSameThing |
Checks whether the specified dependencies are
dependent on the same "thing."
|
![]() |
AssertNotifyEnabled | (Inherited from DBObject.) |
![]() |
AssertReadEnabled | (Inherited from DBObject.) |
![]() |
AssertWriteEnabled | (Inherited from DBObject.) |
![]() |
Audit | (Inherited from DBObject.) |
![]() |
Cancel | Obsolete. (Inherited from DBObject.) |
![]() |
Clone | (Inherited from RXObject.) |
![]() |
Close | Obsolete. (Inherited from DBObject.) |
![]() |
CloseAndPage | Obsolete. (Inherited from DBObject.) |
![]() |
CompareTo | (Inherited from RXObject.) |
![]() |
CopyFrom | (Inherited from RXObject.) |
![]() |
CreateExtensionDictionary | (Inherited from DBObject.) |
![]() |
CreateObjRef |
Creates an object that contains all the
relevant information required to generate a proxy used to
communicate with a remote object.
(Inherited from MarshalByRefObject.) |
![]() |
DecomposeForSave | (Inherited from DBObject.) |
![]() |
DeepClone | (Inherited from DBObject.) |
![]() |
DeleteUnmanagedObject | (Inherited from DBObject.) |
![]() |
DependentObjectCloned |
Notifies the owning action that an object,
that the action has a dependency on, is cloned. All cloning types
are accepted (shallow, deep or wblock).
|
![]() |
DisableUndoRecording | (Inherited from DBObject.) |
![]() |
Dispose | (Inherited from DisposableWrapper.) |
![]() |
Dispose(Boolean) | (Inherited from DBObject.) |
![]() |
DowngradeOpen | (Inherited from DBObject.) |
![]() |
DowngradeToNotify | (Inherited from DBObject.) |
![]() |
DragStatus |
Notifies the action when there is a drag
operation in progress for objects that the action depends on.
|
![]() |
DwgIn | (Inherited from DBObject.) |
![]() |
DwgInFields | (Inherited from DBObject.) |
![]() |
DwgOut | (Inherited from DBObject.) |
![]() |
DwgOutFields | (Inherited from DBObject.) |
![]() |
DxfIn | (Inherited from DBObject.) |
![]() |
DxfInFields | (Inherited from DBObject.) |
![]() |
DxfOut | (Inherited from DBObject.) |
![]() |
DxfOutFields | (Inherited from DBObject.) |
![]() |
Equals | (Inherited from DisposableWrapper.) |
![]() |
Erase | (Inherited from DBObject.) |
![]() |
Erase(Boolean) | (Inherited from DBObject.) |
![]() |
EvaluateDependencies |
Should be called from the client code via the
evaluateOverride() method, usually after
analyzing dependencies, detecting changes, determining which are on
erased objects, etc.
|
![]() |
EvaluateDependency |
Allows the owner action to do the work instead
of the dependency itself.
|
![]() |
EvaluationPriority |
Determines the evaluation priority of this
action.
|
![]() |
Finalize | (Inherited from DisposableWrapper.) |
![]() ![]() |
GetActionBody |
Retrieves the object identifier of the action
body. Currently not implemented.
|
![]() ![]() |
GetActionsDependentOnObject(DBObject, Boolean, Boolean) |
Retrieves the actions depending on the
specified database object.
|
![]() ![]() |
GetActionsDependentOnObject(DBObject, Boolean, Boolean, ObjectIdCollection) |
Retrieves the actions depending on the
specified database object.
|
![]() |
GetDependencies |
Retrieves dependencies of this action.
|
![]() |
GetDependentObjects |
Retrieves objects that this action depends on
or modifies.
|
![]() |
GetEventExtender | (Inherited from DBObject.) |
![]() |
GetField | (Inherited from DBObject.) |
![]() |
GetField(String) | (Inherited from DBObject.) |
![]() |
GetHashCode | (Inherited from DisposableWrapper.) |
![]() |
GetLifetimeService |
Retrieves the current lifetime service object
that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.) |
![]() |
GetObjectSaveVersion(DwgFiler) | (Inherited from DBObject.) |
![]() |
GetObjectSaveVersion(DxfFiler) | (Inherited from DBObject.) |
![]() |
GetPersistentReactorIds | (Inherited from DBObject.) |
![]() |
GetReactors | Obsolete. (Inherited from DBObject.) |
![]() |
GetRXClass | (Inherited from RXObject.) |
![]() |
GetTransientReactors | (Inherited from DBObject.) |
![]() |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
![]() |
GetXDataForApplication | (Inherited from DBObject.) |
![]() |
HandOverTo | (Inherited from DBObject.) |
![]() |
HasContext | (Inherited from DBObject.) |
![]() |
HasDependencyCachedValue |
Checks whether the specified dependency has a
cached value.
|
![]() |
HasPersistentReactor | (Inherited from DBObject.) |
![]() |
InitializeLifetimeService |
Obtains a lifetime service object to control
the lifetime policy for this instance.
(Inherited from MarshalByRefObject.) |
![]() |
IsEqualTo |
Checks whether the specified action is equal
to this action. Does nothing in the current implementation.
|
![]() |
IsExternalDependency |
Checks whether the specified dependency, which
is owned by this action, depends on the database object that is not
this action and is not owned by this action. If the dependency
doesn't depend on any object, it's also assumed external.
|
![]() |
IsOwnedDependency |
Checks whether the specified dependency is
owned by this action.
|
![]() |
IsRelevantDependencyChange |
Allows the owning action, instead of the
dependency, to determine whether the object change is relevant to
the specified dependency.
|
![]() |
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
![]() |
MemberwiseClone(Boolean) |
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.) |
![]() |
ObjectThatOwnsNetworkInstance |
Searches for the object that owns the network
instance, i.e. finds the database object for which the GetInstanceFromObject() method returns the
AssocNetwork.
|
![]() |
OwnedDependencyStatusChanged |
Informs the dependency-owning action that the
dependency status is modified. Usually called from the AssocDependency.SetStatus() method.
|
![]() |
PostProcessAfterDeepClone |
Informs the source actions that they are
cloned, so that they can update the clones or perform other tasks
if needed. Usually called from the reactor notification
method.
|
![]() |
PostProcessAfterDeepCloneCancel |
Cancels the post processing of the cloned
action after deep cloning.
|
![]() |
QueryX | (Inherited from RXObject.) |
![]() |
ReleaseExtensionDictionary | (Inherited from DBObject.) |
![]() ![]() |
RemoveActionsControllingObject(ObjectId) |
Detaches the write dependencies of the
specified object. The dependencies are detached in reverse order,
starting from the object's last write dependency and finishing with
the first. Currently not implemented.
|
![]() ![]() |
RemoveActionsControllingObject(ObjectId, Int32) |
Detaches the write dependencies of the
specified object. The dependencies are detached in reverse order,
starting from the object's last write dependency and finishing with
the first. Currently not implemented.
|
![]() ![]() |
RemoveActionsControllingObject(ObjectId, Int32, ObjectId) |
Detaches the write dependencies of the
specified object. The dependencies are detached in reverse order,
starting from the object's last write dependency and finishing with
the first. Currently not implemented.
|
![]() |
RemoveAllDependencies |
Removes all dependencies associated with this
action.
|
![]() |
RemoveContext | (Inherited from DBObject.) |
![]() |
RemoveDependency |
Removes the specified dependency associated
with this action.
|
![]() |
RemoveField | (Inherited from DBObject.) |
![]() |
RemoveField(String) | (Inherited from DBObject.) |
![]() |
RemoveField(ObjectId) | (Inherited from DBObject.) |
![]() |
RemovePersistentReactor | (Inherited from DBObject.) |
![]() |
ResetScaleDependentProperties | (Inherited from DBObject.) |
![]() |
SetAttributes | (Inherited from Drawable.) |
![]() |
SetField(Field) | (Inherited from DBObject.) |
![]() |
SetField(String, Field) | (Inherited from DBObject.) |
![]() |
SetFromStyle | (Inherited from DBObject.) |
![]() |
SetObjectIdsInFlux | (Inherited from DBObject.) |
![]() |
SetOwningNetwork |
Sets the owning network for this action.
Should not be called directly, instead it is called from the
AssocNetwork.AddAction() and AssocNetwork.RemoveAction() methods.
|
![]() |
SetPaperOrientation | (Inherited from DBObject.) |
![]() |
SetStatus |
Sets the status for this action.
|
![]() |
SubSetAttributes | (Inherited from DBObject.) |
![]() |
SubViewportDraw | (Inherited from DBObject.) |
![]() |
SubViewportDrawLogicalFlags | (Inherited from DBObject.) |
![]() |
SubWorldDraw | (Inherited from DBObject.) |
![]() |
SupportsCollection | (Inherited from DBObject.) |
![]() |
SwapIdWith | (Inherited from DBObject.) |
![]() |
SwapReferences | (Inherited from DBObject.) |
![]() |
ToString |
Returns a string that represents the current
object.
(Inherited from Object.) |
![]() |
TransformActionBy |
Notifes the action that the owner of the
action is transformed.
|
![]() |
UpgradeFromNotify | (Inherited from DBObject.) |
![]() |
UpgradeOpen | (Inherited from DBObject.) |
![]() |
ViewportDraw | (Inherited from Drawable.) |
![]() |
ViewportDrawLogicalFlags | (Inherited from Drawable.) |
![]() |
WblockClone | (Inherited from DBObject.) |
![]() |
WorldDraw | (Inherited from Drawable.) |
![]() |
X | (Inherited from RXObject.) |
![]() |
XDataTransformBy | (Inherited from DBObject.) |
Name | Description | |
---|---|---|
![]() |
Cancelled | (Inherited from DBObject.) |
![]() |
Copied | (Inherited from DBObject.) |
![]() |
Erased | (Inherited from DBObject.) |
![]() |
Goodbye | (Inherited from DBObject.) |
![]() |
Modified | (Inherited from DBObject.) |
![]() |
ModifiedXData | (Inherited from DBObject.) |
![]() |
ModifyUndone | (Inherited from DBObject.) |
![]() |
ObjectClosed | (Inherited from DBObject.) |
![]() |
OpenedForModify | (Inherited from DBObject.) |
![]() |
Reappended | (Inherited from DBObject.) |
![]() |
SubObjectModified | (Inherited from DBObject.) |
![]() |
Unappended | (Inherited from DBObject.) |
© Bricsys NV. All rights reserved. |