public byte [] getBinaryData (IProcessparent,StringentityName, Long id, String attributeName)
throws AccessDeniedException, ExecutionException;

This method retrieves the value of the specified binary attribute of the specified instance of the business object. Normally if an instance of a business object is retrieved using getEntity or getEntities methods the values of attributes of the Binary, Document or Picture types are not retrieved. The above method will retrieve the binary value of the specified attribute.

Parameters

entityNamethe name of the business object to retrieve
idthe unique id of the instance to retrieve (the unique id is assigned to the instance automatically by the system when the instance is created)
attributeNamethe name of the attribute the value of which is retrieved (must be of the binary type). For attributes of the Document and Picture types the attribute name must be specified using the “dot” notation as attributes of these types are complex attributes consisting of the file name and file data. The file data part of the attribute is binary: attributeName.DOCDATA where attributeName is the name of the attribute of the Document or Picture type. The returned bytes are the bytes of the document or image.

Returns

The bytes representing the document, image or binary data for the attribute.

  • Last modified: 2023/05/03 04:19