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