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:getallreferences [2023/04/04 05:52] – ↷ Links adapted because of a move operation seanpr_methods:getallreferences [2023/05/08 06:55] (current) sean
Line 1: Line 1:
-{{tag>Programmers_Reference Methods IExecutionEngine_Interface IExecutionEngine_Interface_Methods GetAllReferences}}+{{tag>Index Programmers_Reference Methods IExecutionEngine_Interface GetAllReferences}}
 ====getAllReferences (IProcess, IEntity, String)==== ====getAllReferences (IProcess, IEntity, String)====
 <code java>public IEntity [] getAllReferences(IProcessparent, IEntity refOwner, String refOwnerAttr) <code java>public IEntity [] getAllReferences(IProcessparent, IEntity refOwner, String refOwnerAttr)
 throws AccessDeniedException, ExecutionException;</code> throws AccessDeniedException, ExecutionException;</code>
  
-This method retrieves all references of the specified instance of the business object referenced by the specified attribute of the reference type. The method ''[[progref:0300_add_custom_processes:0317_ientity_interface:getreferences|getReferences]]'' of the ''[[progref:0300_add_custom_processes:0317_ientity_interface|IEntity]]'' interface also returns the references of the business object, so it is possible to retrieve the object by calling ''[[pr_methods:getentity|getEntity]]'' and then call ''[[progref:0300_add_custom_processes:0317_ientity_interface:getreferences|getReferences]]'' method. However, calling the ''[[pr_methods:getentity|getEntity]]'' or ''[[pr_methods:getentities|getEntities]]'' methods will only retrieve single references and will not retrieve multiple references. The ''getAllReferences'' method, on the other hand, guarantees that all references of the business object referenced through the specified attribute are retrieved.+This method retrieves all references of the specified instance of the business object referenced by the specified attribute of the reference type. The method ''[[pr_methods:getreferences|getReferences]]'' of the ''[[docs:3500:0300:0317|IEntity]]'' interface also returns the references of the business object, so it is possible to retrieve the object by calling ''[[pr_methods:getentity|getEntity]]'' and then call ''[[pr_methods:getreferences|getReferences]]'' method. However, calling the ''[[pr_methods:getentity|getEntity]]'' or ''[[pr_methods:getentities|getEntities]]'' methods will only retrieve single references and will not retrieve multiple references. The ''getAllReferences'' method, on the other hand, guarantees that all references of the business object referenced through the specified attribute are retrieved.
  
 ===Parameters=== ===Parameters===