]> git.aero2k.de Git - tmp/jakarta-migration.git/blob
9b43bc46570a32e53dc31bbd0d6239544f00c3f8
[tmp/jakarta-migration.git] /
1 /*
2  *  This document is a part of the source code and related artifacts
3  *  for CollectionSpace, an open source collections management system
4  *  for museums and related institutions:
5  *
6  *  http://www.collectionspace.org
7  *  http://wiki.collectionspace.org
8  *
9  *  Licensed under the Educational Community License (ECL), Version 2.0.
10  *  You may not use this file except in compliance with this License.
11  *
12  *  You may obtain a copy of the ECL 2.0 License at
13  *
14  *  https://source.collectionspace.org/collection-space/LICENSE.txt
15  *
16  *  Unless required by applicable law or agreed to in writing, software
17  *  distributed under the License is distributed on an "AS IS" BASIS,
18  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19  *  See the License for the specific language governing permissions and
20  *  limitations under the License.
21  */
22 package org.collectionspace.services.repatriationclaim;
23
24 import javax.ws.rs.Consumes;
25 import javax.ws.rs.Path;
26 import javax.ws.rs.Produces;
27 import org.collectionspace.services.client.RepatriationClaimClient;
28 import org.collectionspace.services.common.NuxeoBasedResource;
29
30 @Path(RepatriationClaimClient.SERVICE_PATH)
31 @Consumes("application/xml")
32 @Produces("application/xml")
33 public class RepatriationClaimResource extends NuxeoBasedResource {
34
35     @Override
36     protected String getVersionString() {
37         return "$LastChangedRevision$";
38     }
39
40     @Override
41     public String getServiceName() {
42         return RepatriationClaimClient.SERVICE_NAME;
43     }
44
45     @Override
46     public Class<RepatriationClaimsCommon> getCommonPartClass() {
47         return RepatriationClaimsCommon.class;
48     }
49 }