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:updateentity [2023/04/04 05:51] – removed - external edit (Unknown date) 127.0.0.1pr_methods:updateentity [2023/05/03 04:53] (current) sean
Line 1: Line 1:
 +{{tag>Index Programmers_Reference Methods IExecutionEngine_Interface UpdateEntity}}
 +====updateEntity (IProcess, IEntity, String [], Object [], ChangedReference [])====
 +<code java>public void updateEntity (IProcessparent, IEntity entity, String [] changedAttributes, Object [] oldValues, ChangedReference [] changedRefs)
 +throws ServerTimeOutException, AccessDeniedException, ExecutionException;</code>
 +
 +This method updates the instance of the business object in the database. If there are any rules associated with the business object they are executed.
 +===Parameters===
 +|''entity''|an instance of the business object to write to the database|
 +|''changedAttributes''|an array of the attribute names of the business object that have been changed (null if unknown).|
 +|''oldValues''|an array of the old values of the changed attributes  (null if unknown). Must be of the same size as the changedAttributes parameter|
 +|''changedRefs''|should be null|