CentraSite 10.7 | CentraSite Developer's Guide | API for JAXR | CentraSite API for JAXR Reference Information | Semantics of Remove Operations
 
Semantics of Remove Operations
There are several methods that allow an object to be removed from its parent. Depending on the kind of object, the remove operation has different effects.
*Associations, Classifications, External Identifiers, Service Bindings, Specification Links. If such an object is removed from its parent and the parent is then saved, the object is automatically deleted as it cannot exist as a standalone object. Remove these objects using the following methods:
*RegistryObject.removeClassification()
*RegistryObject.setClassifications()
*RegistryObject.removeAssociation()
*RegistryObject.setAssociations()
*RegistryObject.removeExternalIdentifier()
*RegistryObject.setExternalIdentifiers()
*ServiceBinding.removeSpecificationLink()
*Service.removeServiceBinding()
*Other Objects. Other objects are de-linked from their parents during the remove operation. They continue to exist as separate objects. If the parent object is saved, the removed objects are also automatically saved.
The remove operations for these objects are:
*ClassificationScheme.removeChildConcept()
*Concept.removeChildConcept()
*Organization.removeUser()
*Organization.removeService()
*Organization.removeChildOrganization()
*RegistryObject.removeExternalLink()
*RegistryObject.setExternalLinks()
*RegistryPackage.removeRegistryObject()