The following is an example of how you implement doDeleteAssocs:
public void doDeleteAssocs(final ObjectInfo objInfo, final Object context) throws NamingException
{
doAssocUpdateReferencesTo(objInfo, null, connector);
}
This command has the following format:
Specifies the object modified or deleted.
(Optional) Provides additional context for the requested updates. For example, transactional connectors may want the updates of the associative relationships to occur within a larger transaction.
The method following method constructs the search filter and invokes the doSearch method of this connector’s attribute-style processor to retrieve the associative objects (for example, Account):
com.ca.jcs.assoc.DefaultAssocDirectAttributeOpProcessor.doAssocUpdateReferencesTo()
It then constructs the modification item and invokes the doModify() method to update the associative attribute for the associative object (group members attribute in the Account).
Copyright © 2013 CA.
All rights reserved.
|
|