Coverage Report - org.kuali.student.kim.identity.mock.IdentityServiceConstants
 
Classes in this File Line Coverage Branch Coverage Complexity
IdentityServiceConstants
0%
0/16
N/A
0
 
 1  
 /*
 2  
  * Copyright 2011 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.osedu.org/licenses/ECL-2.0
 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.student.kim.identity.mock;
 17  
 
 18  
 /**
 19  
  * @author nwright
 20  
  */
 21  0
 public class IdentityServiceConstants {
 22  
 
 23  
     /**
 24  
      * Affiliation Types
 25  
      */
 26  0
     public static final String STUDENT_AFFILIATION_TYPE_KEY = AffiliationTypeEnum.STUDENT.getCode();
 27  0
     public static final String FACULTY_AFFILIATION_TYPE_KEY = AffiliationTypeEnum.FACULTY.getCode();
 28  0
     public static final String STAFF_AFFILIATION_TYPE_KEY = AffiliationTypeEnum.STAFF.getCode();
 29  0
     public static final String AFFILIATE_AFFILIATION_TYPE_KEY = AffiliationTypeEnum.AFFILIATE.getCode();
 30  
     /**
 31  
      * Address Types
 32  
      */
 33  0
     public static final String HOME_ADDRESS_TYPE_KEY = AddressTypeEnum.HOME.getCode();
 34  0
     public static final String WORK_ADDRESS_TYPE_KEY = AddressTypeEnum.WORK.getCode();
 35  0
     public static final String OTHER_ADDRESS_TYPE_KEY = AddressTypeEnum.OTHER.getCode();
 36  
     /**
 37  
      * Email Types
 38  
      */
 39  0
     public static final String HOME_EMAIL_TYPE_KEY = EmailTypeEnum.HOME.getCode();
 40  0
     public static final String WORK_EMAIL_TYPE_KEY = EmailTypeEnum.WORK.getCode();
 41  0
     public static final String OTHER_EMAIL_TYPE_KEY = EmailTypeEnum.OTHER.getCode();
 42  
     /**
 43  
      * Phone Types
 44  
      */
 45  0
     public static final String HOME_PHONE_TYPE_KEY = PhoneTypeEnum.HOME.getCode();
 46  0
     public static final String WORK_PHONE_TYPE_KEY = PhoneTypeEnum.WORK.getCode();
 47  0
     public static final String MOBILE_PHONE_TYPE_KEY = PhoneTypeEnum.MOBILE.getCode();
 48  0
     public static final String OTHER_PHONE_TYPE_KEY = PhoneTypeEnum.OTHER.getCode();
 49  
     /**
 50  
      * Search constants
 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  0
     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