This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision |
| pr_methods:getentity [2023/04/04 05:51] – removed - external edit (Unknown date) 127.0.0.1 | pr_methods:getentity [2023/05/03 04:23] (current) – sean |
|---|
| | {{tag>Programmers_Reference Methods IExecutionEngine_Interface getEntity Index}} |
| | ====getEntity (IProcess, String, Long)==== |
| | <code java>public IEntity getEntity(IProcessparent, StringentityName, Long id) |
| | throws AccessDeniedException,ExecutionException;</code> |
| | |
| | This method retrieves the specified instance of the specified business object. |
| | <callout type="primary" title="note" icon="true">Any large binary attributes (of the Binary, Document and Picture types) are not retrieved by this method – the value of the corresponding attributes will be null. To retrieve the values of the binary attributes use the ''[[pr_methods:getbinarydata|getBinaryData]]'' method. The ''getEntity'' method also retrieves only single references of the object. To retrieve all references of the object, use ''[[pr_methods:getallreferences|getAllReferences]]'' method. |
| | </callout> |
| | ===Parameters=== |
| | |
| | |''entityName''|the name of the business object to retrieve| |
| | |''id''| the unique id of the instance to retrieve (the unique id is assigned to the instance automatically by the system when the instance is created) |
| | |
| | ===Returns=== |
| | The retrieved instance of the business object or null if the instance was not found. |
| |