View Javadoc

1   /**
2    * Copyright 2005-2012 The Kuali Foundation
3    *
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    * http://www.opensource.org/licenses/ecl2.php
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.kuali.rice.ken.api;
17  
18  import org.kuali.rice.core.api.CoreConstants;
19  
20  /**
21   * Names of services published on the bus 
22   * 
23   * @author Kuali Rice Team (rice.collab@kuali.org)
24   */
25  public final class KenApiConstants {
26      public static final String KENAPI_SERVICE = "KEN-KENAPIService";
27  
28      public final static String SERVICE_PATH_SOAP = "soap/" + Namespaces.MODULE_NAME + "/" + CoreConstants.Versions.VERSION_2_0;
29  
30  
31      public static final class Namespaces {
32          public static final String MODULE_NAME = "ken";
33  
34          public static final String KEN_NAMESPACE_PREFIX = CoreConstants.Namespaces.ROOT_NAMESPACE_PREFIX + "/ken";
35  
36          /**
37           * Namespace for the core module which is compatible with Kuali Rice 2.0.x.
38           */
39          public static final String KEN_NAMESPACE_2_0 = KEN_NAMESPACE_PREFIX + "/" + CoreConstants.Versions.VERSION_2_0;
40  
41          private Namespaces() {
42              throw new UnsupportedOperationException("do not call");
43          }
44      }
45  
46      public static final class ServiceNames {
47          public static final String SEND_NOTIFICATION_SERVICE = "sendNotificationService";
48      }
49  
50      public static final class NotificationConstants {
51  
52      }
53  
54      public static final class RESPONSE_STATUSES {
55          public static final String SUCCESS = "Success";
56          public static final String FAILURE = "Failure";
57  
58          private RESPONSE_STATUSES() {
59              throw new UnsupportedOperationException("do not call");
60          }
61      }
62  
63      private KenApiConstants() {
64          throw new UnsupportedOperationException("do not call");
65      }
66  }