Merge Web Scripts from BRANCHES/DEV/DAVE

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5349 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
David Caruana
2007-03-08 14:36:34 +00:00
parent d5b82c15a7
commit 570cbb6606
37 changed files with 1788 additions and 1483 deletions

View File

@@ -33,46 +33,7 @@ import java.io.IOException;
*/
public interface APIService
{
/**
* Gets the name of this service
*
* @return service name
*/
public String getName();
/**
* Gets the description of this service
*/
public String getDescription();
/**
* Gets the required authentication level for execution of this service
*
* @return the required authentication level
*/
public APIRequest.RequiredAuthentication getRequiredAuthentication();
/**
* Gets the HTTP method this service is bound to
*
* @return HTTP method
*/
public APIRequest.HttpMethod getHttpMethod();
/**
* Gets the HTTP uri this service is bound to
*
* @return HTTP uri
*/
public String getHttpUri();
/**
* Gets the default response format
*
* @return response format
*/
public String getDefaultFormat();
public APIDescription getDescription();
/**
* Execute service
@@ -83,5 +44,5 @@ public interface APIService
*/
public void execute(APIRequest req, APIResponse res)
throws IOException;
}