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 theParameters
object. SeeParameters.hasBinaryProperty(String)
orParameters.getBinaryProperty()
- Parameters:
entityId
- unique idstream
- An inputstreamcontentInfo
- Basic information about the content streamparams
-Parameters
-