3.1.1.1.43.2.4 UpdateAssociationEntry

The UpdateAssociationEntry procedure updates an association entry appropriately for the objects on which access scope associations can be done.

The following input parameters are used:

Param_objectId: A signed 64-bit integer that specifies the RecordId of the corresponding object for which the association entry is updated.

Param_objectType: An IpamObjectType that identifies the object type of the entity for which the association entry is updated.

Param_accessScopeId: A signed 64-bit integer that specifies the AccessScope.AccessScopeId to which the association is done.

Param_inheritanceId: A signed 64-bit integer that specifies the AssociationId of the parent object of the object which is under consideration.

Param_isInheriting: A Boolean that signifies whether the object under consideration inherits the AccessScope of its parent.

There is no output parameter from this procedure.

The following processing steps are performed:

  1. Look up all the rows in the ADM_AccessScopeAssociationTable that have ObjectId as Param_objectId and ObjectType as Param_objectType. If no such row is found, then return.

  2. If such a row is found, then make the following assignments:

  3. Set Param_inheritanceId to InheritanceId.

  4. Set Param_accessScopeId to AccessScopeId.

  5. Set Param_isInheriting to IsInheriting.

  6. Update the corresponding row in the table.