]> git.aero2k.de Git - tmp/jakarta-migration.git/blob
09eb8e1ae35d03219193919e6f6d66d04dea2292
[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 package org.collectionspace.services.client;
18
19 import org.collectionspace.services.servicegroup.ServicegroupsCommon;
20
21 /**
22  * ServiceGroupClient.java
23  *
24  * $LastChangedRevision: 2108 $
25  * $LastChangedDate: 2010-05-17 18:25:37 -0700 (Mon, 17 May 2010) $
26  *
27  */
28 public class ServiceGroupClient extends AbstractCommonListPoxServiceClientImpl<ServiceGroupProxy, ServicegroupsCommon> {
29         
30         public static final String SERVICE_NAME = "servicegroups";
31         public static final String SERVICE_PATH_COMPONENT = SERVICE_NAME;       
32         public static final String SERVICE_PATH = "/" + SERVICE_PATH_COMPONENT;
33         public static final String SERVICE_PATH_PROXY = SERVICE_PATH + "/";     
34         public static final String SERVICE_PAYLOAD_NAME = SERVICE_NAME; 
35
36         public ServiceGroupClient() {
37                 super();
38         }
39
40         public ServiceGroupClient(String clientPropertiesFilename) {
41                 super(clientPropertiesFilename);
42         }
43
44         @Override
45         public String getServiceName() {
46                 return SERVICE_NAME;
47         }
48         
49         @Override
50     public String getServicePathComponent() {
51         return SERVICE_PATH_COMPONENT;
52     }
53
54         @Override
55         public Class<ServiceGroupProxy> getProxyClass() {
56                 return ServiceGroupProxy.class;
57         }
58 }