mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Fix APIService compile issue - SVN madness.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4670 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -28,6 +28,20 @@ import javax.servlet.ServletContext;
|
|||||||
public interface APIService
|
public interface APIService
|
||||||
{
|
{
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Initialise the Service
|
||||||
|
*
|
||||||
|
* @param context
|
||||||
|
*/
|
||||||
|
public void init(ServletContext context);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the name of this service
|
||||||
|
*
|
||||||
|
* @return service name
|
||||||
|
*/
|
||||||
|
public String getName();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the required authentication level for execution of this service
|
* Gets the required authentication level for execution of this service
|
||||||
*
|
*
|
||||||
@@ -48,7 +62,7 @@ public interface APIService
|
|||||||
* @return HTTP uri
|
* @return HTTP uri
|
||||||
*/
|
*/
|
||||||
public String getHttpUri();
|
public String getHttpUri();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Execute service
|
* Execute service
|
||||||
*
|
*
|
||||||
@@ -59,7 +73,4 @@ public interface APIService
|
|||||||
public void execute(APIRequest req, APIResponse res)
|
public void execute(APIRequest req, APIResponse res)
|
||||||
throws IOException;
|
throws IOException;
|
||||||
|
|
||||||
public String getName();
|
|
||||||
|
|
||||||
public void init(ServletContext sc);
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user