1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.student.kim.identity.mock;
17
18
19
20
21 public class IdentityServiceConstants {
22
23
24
25
26 public static final String STUDENT_AFFILIATION_TYPE_KEY = AffiliationTypeEnum.STUDENT.getCode();
27 public static final String FACULTY_AFFILIATION_TYPE_KEY = AffiliationTypeEnum.FACULTY.getCode();
28 public static final String STAFF_AFFILIATION_TYPE_KEY = AffiliationTypeEnum.STAFF.getCode();
29 public static final String AFFILIATE_AFFILIATION_TYPE_KEY = AffiliationTypeEnum.AFFILIATE.getCode();
30
31
32
33 public static final String HOME_ADDRESS_TYPE_KEY = AddressTypeEnum.HOME.getCode();
34 public static final String WORK_ADDRESS_TYPE_KEY = AddressTypeEnum.WORK.getCode();
35 public static final String OTHER_ADDRESS_TYPE_KEY = AddressTypeEnum.OTHER.getCode();
36
37
38
39 public static final String HOME_EMAIL_TYPE_KEY = EmailTypeEnum.HOME.getCode();
40 public static final String WORK_EMAIL_TYPE_KEY = EmailTypeEnum.WORK.getCode();
41 public static final String OTHER_EMAIL_TYPE_KEY = EmailTypeEnum.OTHER.getCode();
42
43
44
45 public static final String HOME_PHONE_TYPE_KEY = PhoneTypeEnum.HOME.getCode();
46 public static final String WORK_PHONE_TYPE_KEY = PhoneTypeEnum.WORK.getCode();
47 public static final String MOBILE_PHONE_TYPE_KEY = PhoneTypeEnum.MOBILE.getCode();
48 public static final String OTHER_PHONE_TYPE_KEY = PhoneTypeEnum.OTHER.getCode();
49
50
51
52 public static final int BOUNDED_SEARCH_MAX_RESULTS = 100;
53 public static final String KIM_PERSON_FIRST_NAME = "names.firstName";
54 public static final String KIM_PERSON_MIDDLE_NAME = "names.middleName";
55 public static final String KIM_PERSON_LAST_NAME = "names.lastName";
56 public static final String KIM_PRINCIPALS_PRINCIPALNAME = "principals.principalName";
57 public static final String KIM_PRINCIPALS_PRINCIPALID = "principals.principalId";
58 public static final String KIM_PERSON_AFFILIATION_TYPE_CODE = "affiliationTypeCode";
59 public static final String[] SUPPORTED_SEARCH_FIELD_KEYS = {
60 KIM_PRINCIPALS_PRINCIPALNAME,
61 KIM_PRINCIPALS_PRINCIPALID,
62 KIM_PERSON_FIRST_NAME,
63 KIM_PERSON_MIDDLE_NAME,
64 KIM_PERSON_LAST_NAME,
65 KIM_PERSON_AFFILIATION_TYPE_CODE
66 };
67 }
68