View Javadoc

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