]> git.aero2k.de Git - tmp/jakarta-migration.git/blob
59a62bb725d5fc9584a68c9831f77346cab827fb
[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  * Copyright (c) 2009 Regents of the University of California
10  *
11  * Licensed under the Educational Community License (ECL), Version 2.0.
12  * You may not use this file except in compliance with this License.
13  *
14  * You may obtain a copy of the ECL 2.0 License at
15  * https://source.collectionspace.org/collection-space/LICENSE.txt
16  *
17  * Unless required by applicable law or agreed to in writing, software
18  * distributed under the License is distributed on an "AS IS" BASIS,
19  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20  * See the License for the specific language governing permissions and
21  * limitations under the License.
22  */
23 package org.collectionspace.services.client;
24
25 import org.collectionspace.services.heldintrust.HeldintrustsCommon;
26
27 /**
28  * HeldInTrustClient
29  *
30  * $LastChangedRevision: $
31  * $LastChangedDate: $
32  */
33 public class HeldintrustClient extends AbstractCommonListPoxServiceClientImpl<HeldintrustProxy, HeldintrustsCommon> {
34
35     public static final String SERVICE_NAME = "heldintrusts";
36     public static final String SERVICE_PATH_COMPONENT = SERVICE_NAME;
37     public static final String SERVICE_PATH = "/" + SERVICE_PATH_COMPONENT;
38     public static final String SERVICE_PATH_PROXY = SERVICE_PATH + "/";
39     public static final String SERVICE_PAYLOAD_NAME = SERVICE_NAME;
40
41     public HeldintrustClient() throws Exception {
42         super();
43     }
44
45     public HeldintrustClient(String clientPropertiesFilename) throws Exception {
46         super(clientPropertiesFilename);
47     }
48
49     @Override
50     public String getServiceName() {
51         return SERVICE_NAME;
52     }
53
54     @Override
55     public String getServicePathComponent() {
56         return SERVICE_PATH_COMPONENT;
57     }
58
59     @Override
60     public Class<HeldintrustProxy> getProxyClass() {
61         return HeldintrustProxy.class;
62     }
63 }