001/** 002 * Copyright 2005-2016 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 */ 016package org.kuali.rice.ken.api; 017 018import 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 */ 025public 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 public static final String CODE = "KR-NTFCN"; 042 043 private Namespaces() { 044 throw new UnsupportedOperationException("do not call"); 045 } 046 } 047 048 public static final class ServiceNames { 049 public static final String SEND_NOTIFICATION_SERVICE = "sendNotificationService"; 050 } 051 052 public static final class NotificationConstants { 053 054 } 055 056 public static final class RESPONSE_STATUSES { 057 public static final String SUCCESS = "Success"; 058 public static final String FAILURE = "Failure"; 059 060 private RESPONSE_STATUSES() { 061 throw new UnsupportedOperationException("do not call"); 062 } 063 } 064 065 public static final class KIMTypes { 066 public static final class Channel { 067 public static final String CHANNEL_ID = "Channel ID"; 068 069 private Channel() { 070 throw new UnsupportedOperationException("do not call"); 071 } 072 } 073 074 private KIMTypes() { 075 throw new UnsupportedOperationException("do not call"); 076 } 077 } 078 079 public static final class Permissions { 080 081 public static final String VIEW_NOTIFICATION = "View Notification"; 082 083 private Permissions() { 084 throw new UnsupportedOperationException("do not call"); 085 } 086 } 087 088 private KenApiConstants() { 089 throw new UnsupportedOperationException("do not call"); 090 } 091}