]> git.aero2k.de Git - tmp/jakarta-migration.git/blob
a1f470806eb516a7de7f038e84d6585a2c789c35
[tmp/jakarta-migration.git] /
1 package org.collectionspace.services.client;
2
3 import javax.ws.rs.GET;
4 import javax.ws.rs.Produces;
5 import javax.ws.rs.QueryParam;
6
7 import org.collectionspace.services.client.workflow.WorkflowClient;
8 import org.collectionspace.services.jaxb.AbstractCommonList;
9 import org.jboss.resteasy.client.ClientResponse;
10
11 public interface CollectionSpaceCommonListPoxProxy extends CollectionSpacePoxProxy<AbstractCommonList> {
12     @GET
13     ClientResponse<AbstractCommonList> readList();
14     
15     @Override
16         @GET
17     @Produces({"application/xml"})
18     ClientResponse<AbstractCommonList> readIncludeDeleted(
19             @QueryParam(WorkflowClient.WORKFLOWSTATE_QUERY) String workflowState);
20
21     @Override
22     @GET
23     @Produces({"application/xml"})
24     ClientResponse<AbstractCommonList> keywordSearchIncludeDeleted(
25             @QueryParam(IQueryManager.SEARCH_TYPE_KEYWORDS_KW) String keywords,
26             @QueryParam(WorkflowClient.WORKFLOWSTATE_QUERY) String workflowState);
27
28     @Override
29         @GET
30         @Produces({ "application/xml" })
31         ClientResponse<AbstractCommonList> advancedSearchIncludeDeleted(
32                         @QueryParam(IQueryManager.SEARCH_TYPE_KEYWORDS_AS) String whereClause,
33                         @QueryParam(WorkflowClient.WORKFLOWSTATE_QUERY) String workflowState);
34 }