Interface BinaryResourceAction.Update<E>
- All Superinterfaces:
ResourceAction
- All Known Implementing Classes:
NodesEntityResource,PeopleEntityResource
- Enclosing interface:
BinaryResourceAction
HTTP PUT - Updates a binary resource if it exists, error if not
-
Method Summary
Modifier and TypeMethodDescriptionupdateProperty(String entityId, BasicContentInfo contentInfo, InputStream stream, Parameters params) Updates a binary property.
-
Method Details
-
updateProperty
E updateProperty(String entityId, BasicContentInfo contentInfo, InputStream stream, Parameters params) Updates a binary property. The specific property is specified in theParametersobject. SeeParameters.hasBinaryProperty(String)orParameters.getBinaryProperty()- Parameters:
entityId- unique idcontentInfo- Basic information about the content streamstream- An inputstreamparams-Parameters
-