]> git.aero2k.de Git - tmp/jakarta-migration.git/blob
2f470777cce4969fb38636a8e4d4bb4b8db70c7d
[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.common.workflow.client;
18
19 import org.collectionspace.services.client.AbstractPoxServiceClientImpl;
20
21 /**
22  * WorkflowClient.java
23  *
24  * $LastChangedRevision: 2108 $
25  * $LastChangedDate: 2010-05-17 18:25:37 -0700 (Mon, 17 May 2010) $
26  *
27  */
28 public class WorkflowClient extends AbstractPoxServiceClientImpl<WorkflowProxy> {
29         public static final String SERVICE_NAME = "workflows";
30         public static final String SERVICE_PATH_COMPONENT = SERVICE_NAME;       
31         public static final String SERVICE_PATH = "/" + SERVICE_PATH_COMPONENT;
32         public static final String SERVICE_PAYLOAD_NAME = SERVICE_NAME;
33         public static final String SERVICE_COMMONPART_NAME = SERVICE_NAME + PART_LABEL_SEPARATOR + PART_COMMON_LABEL;
34
35         @Override
36         public String getServiceName() {
37                 return SERVICE_NAME;
38         }
39         
40         @Override
41     public String getServicePathComponent() {
42         return SERVICE_PATH_COMPONENT;
43     }    
44
45         @Override
46         public Class<WorkflowProxy> getProxyClass() {
47                 // TODO Auto-generated method stub
48                 return WorkflowProxy.class;
49         }
50 }