01: package example;
02:
03: import javax.jws.*;
04: import example.data.*;
05:
06: public interface FlickrAPI {
07: @WebMethod(operationName="flickr.people.findByEmail")
08: public FlickrResponse findByEmail(@WebParam(name="api_key")
09: String api_key, @WebParam(name="find_email")
10: String find_email);
11:
12: @WebMethod(operationName="flickr.people.findByUsername")
13: public FlickrResponse findByUsername(@WebParam(name="api_key")
14: String api_key, @WebParam(name="username")
15: String username);
16:
17: @WebMethod(operationName="flickr.people.getInfo")
18: public FlickrResponse getInfo(@WebParam(name="api_key")
19: String api_key, @WebParam(name="user_id")
20: String user_id);
21:
22: @WebMethod(operationName="flickr.people.getPublicGroups")
23: public FlickrResponse getPublicGroups(@WebParam(name="api_key")
24: String api_key, @WebParam(name="user_id")
25: String user_id);
26:
27: @WebMethod(operationName="flickr.people.getPublicPhotos")
28: public FlickrResponse getPublicPhotos(@WebParam(name="api_key")
29: String api_key, @WebParam(name="user_id")
30: String user_id, @WebParam(name="extras")
31: String extras, @WebParam(name="per_page")
32: int per_page, @WebParam(name="page")
33: int page);
34: }
|