mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-21 18:09:20 +00:00
Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
120084 jkaabimofrad: RA-640, RA-681: made "update node content" API to return the default JSON representation of the file node. Also added a test. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126380 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -54,7 +54,7 @@ public interface BinaryResourceAction
|
||||
/**
|
||||
* HTTP PUT - Updates a binary resource if it exists, error if not
|
||||
*/
|
||||
public static interface Update extends ResourceAction
|
||||
public static interface Update<E> extends ResourceAction
|
||||
{
|
||||
|
||||
/**
|
||||
@@ -65,7 +65,7 @@ public interface BinaryResourceAction
|
||||
* @param contentInfo Basic information about the content stream
|
||||
* @param params {@link Parameters}
|
||||
*/
|
||||
public void updateProperty (String entityId, BasicContentInfo contentInfo, InputStream stream, Parameters params);
|
||||
public E updateProperty (String entityId, BasicContentInfo contentInfo, InputStream stream, Parameters params);
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user