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.krms.impl.util;
17  
18  public class KrmsImplConstants {
19  
20      /**
21       * Prefix used to identify parameterized term specification ids in lists that otherwise contain
22       * regular old term ids.
23       */
24      public static final String PARAMETERIZED_TERM_PREFIX = "parameterized:";
25  
26      public static final String STUDENT_LOOKUP_VIEW = "StudentLookupView";
27      public static final String STUDENT_INQUIRY_VIEW = "StudentInquiryView";
28  
29      public final static class WebPaths {
30          public static final String AGENDA_INQUIRY_PATH = "krmsAgendaInquiry";
31          public static final String AGENDA_EDITOR_PATH = "krmsAgendaEditor";
32          public static final String AGENDA_STUDENT_INQUIRY_PATH = "krmsAgendaStudentInquiry";
33          public static final String AGENDA_STUDENT_EDITOR_PATH = "krmsAgendaStudentEditor";
34          public static final String PROPOSITION_PATH = "krmsProposition";
35      }
36  
37      /**
38       * This class contains constants associated with the KRMS Repository
39       *
40       * @author Kuali Rice Team (rice.collab@kuali.org)
41       *
42       */
43      public static final class PropertyNames {
44  
45          public static final class Action {
46              public static final String ACTION_ID ="actionId";
47          }
48  
49          public static final class Agenda {
50              public static final String ID = "id";
51              public static final String AGENDA_ID ="agendaId";
52          }
53  
54          public static final class Context {
55              public static final String CONTEXT_ID ="contextId";
56              public static final String NAME = "name";
57              public static final String NAMESPACE = "namespace";
58              public static final String ATTRIBUTE_BOS = "attributeBos";
59          }
60          
61          public static final class TermResolver {
62              public static final String TERM_RESOLVER_ID ="termResolverId";
63              public static final String NAME = "name";
64              public static final String NAMESPACE = "namespace";
65              public static final String ATTRIBUTE_BOS = "attributeBos";
66          }
67  
68          public static final class TermSpecification {
69              public static final String TERM_SPECIFICATION_ID ="termSpecificationId";
70              public static final String NAME = "name";
71              public static final String NAMESPACE = "namespace";
72              public static final String ATTRIBUTE_BOS = "attributeBos";
73          }
74          
75          public static final class Term {
76              public static final String TERM_ID ="termId";
77              public static final String NAME = "name";
78              public static final String NAMESPACE = "namespace";
79              public static final String ATTRIBUTE_BOS = "attributeBos";
80          }
81  
82          public static final class NaturalLanguageTemplate {
83              public static final String NATURAL_LANGUAGE_TEMPLATE_ID ="naturalLanguageTemplateId";
84          }
85  
86          public static final class NaturalLanguageUsage {
87              public static final String NATURAL_LANGUAGE_USAGE_ID ="naturalLanguageUsageId";
88          }
89  
90          public static final class ReferenceObjectBinding {
91              public static final String REFERENCE_OBJECT_BINDING_ID ="referenceObjectBindingId";
92          }
93  
94          public static final class Rule {
95              public static final String RULE_ID ="ruleId";
96          }
97  
98          public static final class KrmsAttributeDefinition {
99              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 }