Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
pr_methods:deletereferences [2023/04/04 05:51] – removed - external edit (Unknown date) 127.0.0.1pr_methods:deletereferences [2023/05/08 06:51] (current) sean
Line 1: Line 1:
 +{{tag>Index Programmers_Reference Methods IExecutionEngine_Interface deleteReferences}}
 +[<10>]
 +====deleteReferences (IProcess, String, Long, String, EntityIdAndName [])====
 +<code java>public void deleteReferences(IProcessparent, String refOwnerName, Long refOwnerId, String refOwnerAttr, EntityIdAndName [] refsToDelete)
 +throws ServerTimeOutException, AccessDeniedException,ExecutionException;</code>
 +
 +The method is similar to the [[#addReferences|addReferences]]method. However, it deletes the specified references rather than adds them.
 +
 +===Parameters===
 +
 +|''refOwnerName''|the instance of the business object that references are deleted from|
 +|''refOwnerAttr''|the name of the attribute of the business object the references of which are being deleted (must be of the reference type)|
 +|''refOwnerId''|the unique ID of the instance of the business object that references are deleted from|
 +|''refsToDelete''|the references to be deleted as an array of business object names and ID’s. If null all existing references of the business object’s instance are deleted.|