001 /** 002 * Copyright 2005-2014 The Kuali Foundation 003 * 004 * Licensed under the Educational Community License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.opensource.org/licenses/ecl2.php 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 */ 016 package org.kuali.rice.ken.api; 017 018 import org.kuali.rice.core.api.CoreConstants; 019 020 /** 021 * Names of services published on the bus 022 * 023 * @author Kuali Rice Team (rice.collab@kuali.org) 024 */ 025 public final class KenApiConstants { 026 public static final String KENAPI_SERVICE = "KEN-KENAPIService"; 027 028 public final static String SERVICE_PATH_SOAP = "soap/" + Namespaces.MODULE_NAME + "/" + CoreConstants.Versions.VERSION_2_0; 029 030 031 public static final class Namespaces { 032 public static final String MODULE_NAME = "ken"; 033 034 public static final String KEN_NAMESPACE_PREFIX = CoreConstants.Namespaces.ROOT_NAMESPACE_PREFIX + "/ken"; 035 036 /** 037 * Namespace for the core module which is compatible with Kuali Rice 2.0.x. 038 */ 039 public static final String KEN_NAMESPACE_2_0 = KEN_NAMESPACE_PREFIX + "/" + CoreConstants.Versions.VERSION_2_0; 040 041 private Namespaces() { 042 throw new UnsupportedOperationException("do not call"); 043 } 044 } 045 046 public static final class ServiceNames { 047 public static final String SEND_NOTIFICATION_SERVICE = "sendNotificationService"; 048 } 049 050 public static final class NotificationConstants { 051 052 } 053 054 public static final class RESPONSE_STATUSES { 055 public static final String SUCCESS = "Success"; 056 public static final String FAILURE = "Failure"; 057 058 private RESPONSE_STATUSES() { 059 throw new UnsupportedOperationException("do not call"); 060 } 061 } 062 063 private KenApiConstants() { 064 throw new UnsupportedOperationException("do not call"); 065 } 066 }