Interface BinaryResourceAction.Read
-
- All Superinterfaces:
ResourceAction
- All Known Implementing Classes:
NodesEntityResource,PeopleEntityResource,ProcessDefinitionsRestEntityResource,ProcessesRestEntityResource,QuickShareLinkEntityResource,TrashcanEntityResource
- Enclosing interface:
- BinaryResourceAction
public static interface BinaryResourceAction.Read extends ResourceAction
HTTP GET - Retrieve a binary resource
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BinaryResourcereadProperty(String entityId, Parameters parameters)Retrieves a binary property by returning a BinaryResource object.
-
-
-
Method Detail
-
readProperty
BinaryResource readProperty(String entityId, Parameters parameters) throws EntityNotFoundException
Retrieves a binary property by returning a BinaryResource object. The specific property is specified in theParametersobject. SeeParameters.hasBinaryProperty(String)orParameters.getBinaryProperty()- Parameters:
entityId- unique idparameters-Parameters- Returns:
- BinaryResource - Either
FileBinaryResourceorNodeBinaryResource - Throws:
EntityNotFoundException
-
-