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

122630 gjames: RA-211: Moving the response callback down a level


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126488 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Jamal Kaabi-Mofrad
2016-05-10 11:10:50 +00:00
parent 5e0d82127d
commit 72dacb9c79
7 changed files with 12 additions and 10 deletions

View File

@@ -4,6 +4,7 @@ import org.alfresco.rest.framework.core.HttpMethodSupport;
import org.alfresco.rest.framework.core.ResourceWithMetadata;
import org.alfresco.rest.framework.resource.content.ContentInfo;
import org.alfresco.rest.framework.resource.parameters.Params;
import org.alfresco.rest.framework.webscripts.ResponseCallBack;
import org.springframework.extensions.webscripts.Status;
import org.springframework.extensions.webscripts.WebScriptResponse;
@@ -21,6 +22,6 @@ public interface ActionExecutor extends HttpMethodSupport
* @param params Params
*/
@SuppressWarnings("rawtypes")
public Object executeAction(ResourceWithMetadata resource, Params params) throws Throwable;
public Object executeAction(ResourceWithMetadata resource, Params params, ResponseCallBack withResponse) throws Throwable;
}