Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)

119623 jvonka: RA-663: Update REST fwk - fix BinaryResource update (currently masks entity PUT operation)
   - use "updateProperty" (instead of "update") to be consistent with other binary resource methods
   - note: REST fwk relies on unique method names across the resource actions


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126358 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Jamal Kaabi-Mofrad
2016-05-10 10:30:30 +00:00
parent 840c1ba969
commit 0b75a49b73
5 changed files with 5 additions and 5 deletions

View File

@@ -22,7 +22,7 @@ public class FlockEntityResource implements BinaryResourceAction.Read, BinaryRes
@Override
@WebApiDescription(title = "Updates a photo")
@BinaryProperties("photo")
public void update(String entityId, BasicContentInfo contentInfo, InputStream stream, Parameters params)
public void updateProperty(String entityId, BasicContentInfo contentInfo, InputStream stream, Parameters params)
{
return;
}

View File

@@ -18,7 +18,7 @@ public class FlocketEntityResource implements BinaryResourceAction.Read, BinaryR
@Override
@WebApiDescription(title = "Updates a flocket")
@BinaryProperties({"photo","album"})
public void update(String entityId, BasicContentInfo contentInfo, InputStream stream, Parameters params)
public void updateProperty(String entityId, BasicContentInfo contentInfo, InputStream stream, Parameters params)
{
return;
}