]> git.aero2k.de Git - tmp/jakarta-migration.git/blob
7337bdd7d2b577bb8315ae0215ba185aeba87fee
[tmp/jakarta-migration.git] /
1 package org.collectionspace.services.client;\r
2 \r
3 import javax.ws.rs.core.Response;\r
4 \r
5 import org.collectionspace.services.contact.ContactsCommonList;\r
6 import org.collectionspace.services.jaxb.AbstractCommonList;\r
7 import org.jboss.resteasy.client.ClientResponse;\r
8 \r
9 /*\r
10  * LT - List type\r
11  * ILT - Authority item list type\r
12  * P - Proxy type\r
13  */\r
14 public interface AuthorityWithContactsClient<LT extends AbstractCommonList, ILT extends AbstractCommonList, P extends AuthorityProxy<LT, ILT>>\r
15         extends AuthorityClient<LT, ILT, P> {\r
16     /**\r
17      * Creates the contact.\r
18      *\r
19      * @param parentcsid the parentcsid\r
20      * @param itemcsid the itemcsid\r
21      * @param multipart the multipart\r
22      * @return the client response\r
23      */\r
24     public ClientResponse<Response> createContact(String parentcsid,\r
25             String itemcsid, PoxPayloadOut xmlPayload);\r
26     \r
27     /**\r
28      * Creates the contact.\r
29      *\r
30      * @param parentcsid\r
31      * @param itemspecifier (shortIdentifier)\r
32      * @param multipart\r
33      * @return the client response\r
34      */\r
35     public ClientResponse<Response> createContactForNamedItem(\r
36                 String parentcsid,\r
37                 String itemspecifier,\r
38                 PoxPayloadOut xmlPayload);\r
39     \r
40     /**\r
41      * Creates the contact.\r
42      *\r
43      * @param parentspecifier (shortIdentifier)\r
44      * @param itemcsid\r
45      * @param multipart\r
46      * @return the client response\r
47      */\r
48     public ClientResponse<Response> createContactForItemInNamedAuthority(\r
49                 String parentspecifier,\r
50                 String itemcsid,\r
51                 PoxPayloadOut xmlPayload);\r
52     \r
53     /**\r
54      * Creates the contact.\r
55      *\r
56      * @param parentspecifier (shortIdentifier)\r
57      * @param itemspecifier (shortIdentifier)\r
58      * @param multipart\r
59      * @return the client response\r
60      */\r
61     public ClientResponse<Response> createContactForNamedItemInNamedAuthority(\r
62                 String parentspecifier,\r
63                 String itemspecifier,\r
64                 PoxPayloadOut xmlPayload);\r
65     \r
66     /**\r
67      * Read contact.\r
68      *\r
69      * @param parentcsid the parentcsid\r
70      * @param itemcsid the itemcsid\r
71      * @param csid the csid\r
72      * @return the client response\r
73      */\r
74     public ClientResponse<String> readContact(String parentcsid,\r
75             String itemcsid, String csid);\r
76     \r
77     /**\r
78      * Read contact.\r
79      *\r
80      * @param parentcsid\r
81      * @param itemspecifier (shortIdentifier)\r
82      * @param csid\r
83      * @return the client response\r
84      */\r
85     public ClientResponse<String> readContactForNamedItem(\r
86                 String parentcsid,\r
87                 String itemspecifier,\r
88                 String csid);\r
89 \r
90     /**\r
91      * Read contact.\r
92      *\r
93      * @param parentspecifier (shortIdentifier)\r
94      * @param itemcsid\r
95      * @param csid\r
96      * @return the client response\r
97      */\r
98     public ClientResponse<String> readContactInNamedAuthority(\r
99                 String parentspecifier,\r
100                 String itemcsid,\r
101                 String csid);\r
102 \r
103     /**\r
104      * Read contact.\r
105      *\r
106      * @param parentspecifier (shortIdentifier)\r
107      * @param itemspecifier (shortIdentifier)\r
108      * @param csid\r
109      * @return the client response\r
110      */\r
111     public ClientResponse<String> readContactForNamedItemInNamedAuthority(\r
112                 String parentspecifier,\r
113                 String itemspecifier,\r
114                 String csid);\r
115             \r
116 \r
117     /**\r
118      * Read contact list.\r
119      *\r
120      * @param parentcsid the parentcsid\r
121      * @param itemcsid the itemcsid\r
122      * @return the client response\r
123      */\r
124     public ClientResponse<ContactsCommonList> readContactList(String parentcsid,\r
125             String itemcsid);\r
126     \r
127     /**\r
128      * Read contact list.\r
129      *\r
130      * @param parentcsid\r
131      * @param itemspecifier (shortIdentifier)\r
132      * @return the client response\r
133      */\r
134     public ClientResponse<ContactsCommonList> readContactListForNamedItem(\r
135                 String parentcsid,\r
136                 String itemspecifier);\r
137 \r
138     /**\r
139      * Read contact list.\r
140      *\r
141      * @param parentspecifier (shortIdentifier)\r
142      * @param itemcsid\r
143      * @return the client response\r
144      */\r
145     public ClientResponse<ContactsCommonList> readContactListForItemInNamedAuthority(\r
146                 String parentspecifier,\r
147                 String itemcsid);\r
148 \r
149     /**\r
150      * Read contact list.\r
151      *\r
152      * @param parentspecifier (shortIdentifier)\r
153      * @param itemspecifier (shortIdentifier)\r
154      * @return the client response\r
155      */\r
156     public ClientResponse<ContactsCommonList> readContactListForNamedItemInNamedAuthority(\r
157                 String parentspecifier,\r
158                 String itemspecifier);\r
159 \r
160     /**\r
161      * Update contact.\r
162      *\r
163      * @param parentcsid the parentcsid\r
164      * @param itemcsid the itemcsid\r
165      * @param csid the csid\r
166      * @param multipart the multipart\r
167      * @return the client response\r
168      */\r
169     public ClientResponse<String> updateContact(String parentcsid,\r
170             String itemcsid, String csid, PoxPayloadOut xmlPayload);\r
171     \r
172     /**\r
173      * Update contact.\r
174      *\r
175      * @param parentcsid the parentcsid\r
176      * @param itemspecifier (shortIdentifier)\r
177      * @param csid the csid\r
178      * @param multipart the multipart\r
179      * @return the client response\r
180      */\r
181     public ClientResponse<String> updateContactForNamedItem(\r
182                 String parentcsid,\r
183                 String itemspecifier,\r
184                 String csid,\r
185                 PoxPayloadOut xmlPayload);\r
186 \r
187     /**\r
188      * Update contact.\r
189      *\r
190      * @param parentspecifier (shortIdentifier)\r
191      * @param itemcsid the itemcsid\r
192      * @param csid the csid\r
193      * @param multipart the multipart\r
194      * @return the client response\r
195      */\r
196     public ClientResponse<String> updateContactInNamedAuthority(\r
197                 String parentspecifier,\r
198                 String itemcsid,\r
199                 String csid,\r
200                 PoxPayloadOut xmlPayload);\r
201 \r
202     /**\r
203      * Update contact.\r
204      *\r
205      * @param parentspecifier (shortIdentifier)\r
206      * @param itemspecifier (shortIdentifier)\r
207      * @param csid the csid\r
208      * @param multipart the multipart\r
209      * @return the client response\r
210      */\r
211     public ClientResponse<String> updateContactForNamedItemInNamedAuthority(\r
212                 String parentspecifier,\r
213                 String itemspecifier,\r
214                 String csid,\r
215                 PoxPayloadOut xmlPayload);\r
216 \r
217     /**\r
218      * Delete contact.\r
219      *\r
220      * @param parentcsid the parentcsid\r
221      * @param itemcsid the itemcsid\r
222      * @param csid the csid\r
223      * @return the client response\r
224      */\r
225     public ClientResponse<Response> deleteContact(String parentcsid,\r
226         String itemcsid, String csid);\r
227     \r
228     /**\r
229      * Delete contact.\r
230      *\r
231      * @param parentcsid the parentcsid\r
232      * @param itemspecifier (shortIdentifier)\r
233      * @param csid the csid\r
234      * @return the client response\r
235      */\r
236     public ClientResponse<Response> deleteContactForNamedItem(\r
237                 String parentcsid,\r
238                 String itemspecifier,\r
239                 String csid);\r
240 \r
241     /**\r
242      * Delete contact.\r
243      *\r
244      * @param parentspecifier (shortIdentifier)\r
245      * @param itemcsid the itemcsid\r
246      * @param csid the csid\r
247      * @return the client response\r
248      */\r
249     public ClientResponse<Response> deleteContactInNamedAuthority(\r
250                 String parentspecifier,\r
251                 String itemcsid,\r
252                 String csid);\r
253 \r
254     /**\r
255      * Delete contact.\r
256      *\r
257      * @param parentspecifier (shortIdentifier)\r
258      * @param itemspecifier (shortIdentifier)\r
259      * @param csid the csid\r
260      * @return the client response\r
261      */\r
262     public ClientResponse<Response> deleteContactForNamedItemInNamedAuthority(\r
263                 String parentspecifier,\r
264                 String itemspecifier,\r
265                 String csid);\r
266     \r
267 }\r