| 1 | |
|
| 2 | |
|
| 3 | |
|
| 4 | |
|
| 5 | |
|
| 6 | |
|
| 7 | |
|
| 8 | |
|
| 9 | |
|
| 10 | |
|
| 11 | |
|
| 12 | |
|
| 13 | |
|
| 14 | |
|
| 15 | |
|
| 16 | |
package org.kuali.rice.kim.bo.options; |
| 17 | |
|
| 18 | |
import java.util.ArrayList; |
| 19 | |
import java.util.List; |
| 20 | |
|
| 21 | |
import org.kuali.rice.core.util.KeyLabelPair; |
| 22 | |
import org.kuali.rice.kim.util.KimConstants; |
| 23 | |
import org.kuali.rice.kns.lookup.keyvalues.KeyValuesBase; |
| 24 | |
|
| 25 | |
|
| 26 | |
|
| 27 | |
|
| 28 | |
|
| 29 | |
|
| 30 | 0 | public class MemberTypeValuesFinder extends KeyValuesBase { |
| 31 | |
|
| 32 | 0 | static final List<KeyLabelPair> labels = new ArrayList<KeyLabelPair>( 3 ); |
| 33 | |
static { |
| 34 | 0 | labels.add(new KeyLabelPair(KimConstants.KimUIConstants.MEMBER_TYPE_PRINCIPAL_CODE, KimConstants.KimUIConstants.MEMBER_TYPE_PRINCIPAL)); |
| 35 | 0 | labels.add(new KeyLabelPair(KimConstants.KimUIConstants.MEMBER_TYPE_GROUP_CODE, KimConstants.KimUIConstants.MEMBER_TYPE_GROUP)); |
| 36 | 0 | labels.add(new KeyLabelPair(KimConstants.KimUIConstants.MEMBER_TYPE_ROLE_CODE, KimConstants.KimUIConstants.MEMBER_TYPE_ROLE)); |
| 37 | 0 | } |
| 38 | |
|
| 39 | |
|
| 40 | |
|
| 41 | |
|
| 42 | |
public List<KeyLabelPair> getKeyValues() { |
| 43 | 0 | return labels; |
| 44 | |
} |
| 45 | |
|
| 46 | |
} |