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:
6 * http://www.collectionspace.org
7 * http://wiki.collectionspace.org
9 * Licensed under the Educational Community License (ECL), Version 2.0.
10 * You may not use this file except in compliance with this License.
12 * You may obtain a copy of the ECL 2.0 License at
14 * https://source.collectionspace.org/collection-space/LICENSE.txt
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.
22 package org.collectionspace.services.nagpraclaim;
24 import javax.ws.rs.Consumes;
25 import javax.ws.rs.Path;
26 import javax.ws.rs.Produces;
27 import org.collectionspace.services.client.NagpraClaimClient;
28 import org.collectionspace.services.common.NuxeoBasedResource;
29 import org.slf4j.Logger;
30 import org.slf4j.LoggerFactory;
32 @Path(NagpraClaimClient.SERVICE_PATH)
33 @Consumes("application/xml")
34 @Produces("application/xml")
35 public class NagpraClaimResource extends NuxeoBasedResource {
37 final Logger logger = LoggerFactory.getLogger(NagpraClaimResource.class);
40 protected String getVersionString() {
41 final String lastChangeRevision = "$LastChangedRevision$";
42 return lastChangeRevision;
46 public String getServiceName() {
47 return NagpraClaimClient.SERVICE_NAME;
51 public Class<NagpraclaimsCommon> getCommonPartClass() {
52 return NagpraclaimsCommon.class;