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