getObjectReferences (IProcess, IEntity, String)
public Vector getObjectReferences (IProcessparent, IEntity refOwner, String refOwnerAttr) throws AccessDeniedException, ExecutionException;
This method is very similar to the getAllReferences
method. However, it returns references as a collection of ObjectReference
objects rather than IEntity
objects. ObjectReference
is a structure containing an object name and ID. If only names and ID's of the references are required calling this method is much more efficient than calling getAllReferences
, which retrieves the values of all attributes.
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 names and ID's of business objects referenced through the specified attribute as a vector of the ObjectReference
objects or null if no instances are referenced through the specified attribute.