View Javadoc

1   /**
2    * Copyright 2010 The Kuali Foundation Licensed under the
3    * Educational Community License, Version 2.0 (the "License"); you may
4    * not use this file except in compliance with the License. You may
5    * obtain a copy of the License at
6    *
7    * http://www.osedu.org/licenses/ECL-2.0
8    *
9    * Unless required by applicable law or agreed to in writing,
10   * software distributed under the License is distributed on an "AS IS"
11   * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
12   * or implied. See the License for the specific language governing
13   * permissions and limitations under the License.
14   */
15  
16  package org.kuali.student.r1.common.rice;
17  
18  import java.util.HashSet;
19  import java.util.Set;
20  
21  /**
22   * @author delyea
23   * 
24   */
25  public class StudentIdentityConstants {
26  
27      public static final String SYSTEM_USER_PRINCIPAL_NAME = "ks";
28  
29      public static final String QUALIFICATION_KS_PROPOSAL_ID = "ksProposalIdQualificationKey";
30  
31      public static final Set<String> QUALIFICATION_PROPOSAL_ID_REF_TYPES = new HashSet<String>();
32      static {
33          // this must contain all proposal reference types
34          QUALIFICATION_PROPOSAL_ID_REF_TYPES.add("referenceType.clu.proposal");
35      }
36  
37      public static final String QUALIFICATION_KEW_OBJECT_ID = "kualiStudentObjectWorkflowId";
38      public static final String QUALIFICATION_KEW_OBJECT_TYPE = "kualiStudentObjectWorkflowType";
39  
40      // this must be equal to Rice constant KimAttributes.DOCUMENT_NUMBER
41      public static final String DOCUMENT_NUMBER = "documentNumber";
42  
43      // this must be equal to Rice constant KimAttributes.DOCUMENT_TYPE_NAME
44      // TODO: It seems wrong to include DOCUMENT_TYPE_NAME in an identity constants class
45      public static final String DOCUMENT_TYPE_NAME = "documentTypeName";
46  
47      // this must be equal to Rice constant KimAttributes.ROUTE_STATUS_CODE
48      public static final String ROUTE_STATUS_CODE = "routeStatusCode";
49  
50      // this must be equal to Rice constant KimAttributes.ROUTE_NODE_NAME
51      public static final String ROUTE_NODE_NAME = "routeNodeName";
52  
53      public static final String KS_REFERENCE_TYPE_KEY = "ksReferenceTypeKey";
54  
55      public static final String QUALIFICATION_DATA_ID = "dataId";
56  
57      public static final String SCREEN_COMPONENT = "screenComponent";
58      
59      public static final String KSCM_ADMIN_ROLE_NAME = "Kuali Student CM Admin";
60      
61      public static final String KSCM_USER_ROLE_NAME = "Kuali Student CM User";
62      
63      public static final String KS_NAMESPACE_CD = "KS-SYS";
64  
65  }