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 * Copyright (c) 2009 Regents of the University of California
11 * Licensed under the Educational Community License (ECL), Version 2.0.
12 * You may not use this file except in compliance with this License.
14 * You may obtain a copy of the ECL 2.0 License at
15 * https://source.collectionspace.org/collection-space/LICENSE.txt
17 package org.collectionspace.services.common.workflow.client;
19 import org.collectionspace.services.client.AbstractPoxServiceClientImpl;
24 * $LastChangedRevision: 2108 $
25 * $LastChangedDate: 2010-05-17 18:25:37 -0700 (Mon, 17 May 2010) $
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;
35 public static final String WORKFLOWSTATE_DELETED = "deleted";
36 public static final String WORKFLOWSTATE_PROJECT = "project";
37 public static final String WORKFLOWSTATE_APPROVED = "approved";
41 public String getServiceName() {
46 public String getServicePathComponent() {
47 return SERVICE_PATH_COMPONENT;
51 public Class<WorkflowProxy> getProxyClass() {
52 // TODO Auto-generated method stub
53 return WorkflowProxy.class;