CentraSite Documentation : CentraSite Administrator’s Guide : Object Type Management : Working with Composite Types : Semantics of Relationships and Operations : Composition Relationship : Operation: Deleting an Asset
Operation: Deleting an Asset
On deletion, if the root component is added to the set to be deleted, then the sub-components will also be added to the set to be deleted. The direction of the association does not play a role in defining the set, only the containing designation. This means it is possible for the deletion to fail if one of the assets added to the deletion set during this processing is referenced via the basic association relationship target rules.
This rule is applied recursively. For example, if we have three assets that have the relationships "A contains B contains C", then the following statements apply:
*When A is deleted, then B will be deleted and finally because B is deleted, C will also be deleted.
*When deleting C, only C will be deleted.
This fails if the deleting user does not have permission on any of the assets in the set acquired by traversing the graph. The delete is considered atomic - either all are deleted or none. This avoids inconsistencies in the outcome of the operation.
The relationship direction always plays a role in the deletion operation. An asset may not be deleted if it is the target of a relationship and the source is not part of the deletion set.
The deletion rules described here apply also when you purge old versions of an asset. In this case, the purge operation will be applied not only to the component being purged, but also to the related sub-components.
Copyright © 2005-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback