001 /** 002 * Copyright 2005-2013 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.krms.impl.util; 017 018 public class KrmsImplConstants { 019 020 /** 021 * Prefix used to identify parameterized term specification ids in lists that otherwise contain 022 * regular old term ids. 023 */ 024 public static final String PARAMETERIZED_TERM_PREFIX = "parameterized:"; 025 026 public static final String STUDENT_LOOKUP_VIEW = "StudentLookupView"; 027 public static final String STUDENT_INQUIRY_VIEW = "StudentInquiryView"; 028 029 public final static class WebPaths { 030 public static final String AGENDA_INQUIRY_PATH = "krmsAgendaInquiry"; 031 public static final String AGENDA_EDITOR_PATH = "krmsAgendaEditor"; 032 public static final String AGENDA_STUDENT_INQUIRY_PATH = "krmsAgendaStudentInquiry"; 033 public static final String AGENDA_STUDENT_EDITOR_PATH = "krmsAgendaStudentEditor"; 034 public static final String PROPOSITION_PATH = "krmsProposition"; 035 } 036 037 /** 038 * This class contains constants associated with the KRMS Repository 039 * 040 * @author Kuali Rice Team (rice.collab@kuali.org) 041 * 042 */ 043 public static final class PropertyNames { 044 045 public static final class Action { 046 public static final String ACTION_ID ="actionId"; 047 } 048 049 public static final class Agenda { 050 public static final String ID = "id"; 051 public static final String AGENDA_ID ="agendaId"; 052 } 053 054 public static final class Context { 055 public static final String CONTEXT_ID ="contextId"; 056 public static final String NAME = "name"; 057 public static final String NAMESPACE = "namespace"; 058 public static final String ATTRIBUTE_BOS = "attributeBos"; 059 } 060 061 public static final class TermResolver { 062 public static final String TERM_RESOLVER_ID ="termResolverId"; 063 public static final String NAME = "name"; 064 public static final String NAMESPACE = "namespace"; 065 public static final String ATTRIBUTE_BOS = "attributeBos"; 066 } 067 068 public static final class TermSpecification { 069 public static final String TERM_SPECIFICATION_ID ="termSpecificationId"; 070 public static final String NAME = "name"; 071 public static final String NAMESPACE = "namespace"; 072 public static final String ATTRIBUTE_BOS = "attributeBos"; 073 } 074 075 public static final class Term { 076 public static final String TERM_ID ="termId"; 077 public static final String NAME = "name"; 078 public static final String NAMESPACE = "namespace"; 079 public static final String ATTRIBUTE_BOS = "attributeBos"; 080 } 081 082 public static final class NaturalLanguageTemplate { 083 public static final String NATURAL_LANGUAGE_TEMPLATE_ID ="naturalLanguageTemplateId"; 084 } 085 086 public static final class NaturalLanguageUsage { 087 public static final String NATURAL_LANGUAGE_USAGE_ID ="naturalLanguageUsageId"; 088 } 089 090 public static final class ReferenceObjectBinding { 091 public static final String REFERENCE_OBJECT_BINDING_ID ="referenceObjectBindingId"; 092 } 093 094 public static final class Rule { 095 public static final String RULE_ID ="ruleId"; 096 } 097 098 public static final class KrmsAttributeDefinition { 099 public static final String NAME = "name"; 100 public static final String NAMESPACE = "namespace"; 101 } 102 103 public static final class BaseAttribute { 104 public static final String ATTRIBUTE_DEFINITION_ID = "attributeDefinitionId"; 105 public static final String VALUE = "value"; 106 public static final String ATTRIBUTE_DEFINITION = "attributeDefinition"; 107 } 108 109 } 110 111 }