{{tag>Index Programmers_Reference Methods IExecutionEngine_Interface GetAllReferences}} ====getAllReferences (IProcess, IEntity, String)==== public IEntity [] getAllReferences(IProcessparent, IEntity refOwner, String refOwnerAttr) throws AccessDeniedException, ExecutionException; 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=== |''refOwner''|the instance of the business object the references of which are retrieved| |''refOwnerAttr''|the name of the attribute of the business object () the references of which are retrieved (must be of the reference type)| ===Returns=== The instances of the business objects referenced through the specified attribute or null if no instances are referenced through the specified attribute.