001/** 002 * Copyright 2004-2014 The Kuali Foundation 003 * 004 * Licensed under the Educational Community License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.opensource.org/licenses/ecl2.php 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 */ 016package org.kuali.kpme.core.role; 017 018public enum KPMERole { 019 020 REVIEWER ("Reviewer"), 021 APPROVER ("Approver"), 022 APPROVER_DELEGATE ("Approver Delegate"), 023 TIME_DEPARTMENT_VIEW_ONLY ("Time Department View Only"), 024 TIME_DEPARTMENT_ADMINISTRATOR ("Time Department Administrator"), 025 LEAVE_DEPARTMENT_VIEW_ONLY ("Leave Department View Only"), 026 LEAVE_DEPARTMENT_ADMINISTRATOR ("Leave Department Administrator"), 027 TIME_LOCATION_VIEW_ONLY ("Time Location View Only"), 028 TIME_LOCATION_ADMINISTRATOR ("Time Location Administrator"), 029 LEAVE_LOCATION_VIEW_ONLY ("Leave Location View Only"), 030 LEAVE_LOCATION_ADMINISTRATOR ("Leave Location Administrator"), 031 TIME_SYSTEM_VIEW_ONLY ("Time System View Only"), 032 TIME_SYSTEM_ADMINISTRATOR ("Time System Administrator"), 033 LEAVE_SYSTEM_VIEW_ONLY ("Leave System View Only"), 034 LEAVE_SYSTEM_ADMINISTRATOR ("Leave System Administrator"), 035 PAYROLL_PROCESSOR ("Payroll Processor"), 036 PAYROLL_PROCESSOR_DELEGATE ("Payroll Processor Delegate"), 037 038 // derived roles 039 DERIVED_ROLE_POSITION ("Derived Role : Position"), 040 041 // PROXY roles 042 /*KPME_PROXY_ROLE("Derived Role : KPME Role Proxy"), 043 APPROVER_PROXY_ROLE("Derived Role: Approver Proxy"), 044 APPROVER_DELEGATE_PROXY_ROLE("Derived Role: Approver Delegate Proxy"),*/ 045 046 // KPME-3198 047 POSITION_SYSTEM_ADMINISTRATOR ("Position System Administrator"), 048 POSITION_SYSTEM_VIEW_ONLY ("Position System View Only"), 049 KOHR_INSTITUTION_ADMINISTRATOR ("KOHR Institution Administrator"), 050 KOHR_ACADEMIC_HR_ADMINISTRATOR ("KOHR Academic HR Administrator"), 051 KOHR_INSTITUTION_VIEW_ONLY ("KOHR Institution View Only"), 052 KOHR_LOCATION_ADMINISTRATOR ("KOHR Location Administrator"), 053 KOHR_LOCATION_VIEW_ONLY ("KOHR Location View Only"), 054 KOHR_ORG_ADMINISTRATOR ("KOHR Organization Administrator"), 055 KOHR_ORG_VIEW_ONLY ("KOHR Organization View Only"), 056 HR_DEPARTMENT_ADMINISTRATOR ("HR Department Administrator"), 057 HR_DEPARTMENT_VIEW_ONLY ("HR Department View Only"), 058 HR_INSTITUTION_APPROVER ("HR Institution Approver"), 059 ACADEMIC_HR_INSTITUTION_APPROVER ("Academic HR Institution Approver"), 060 BUDGET_APPROVER ("Budget Approver"), 061 PAYROLL_APPROVER ("Payroll Approver"), 062 HR_LOCATION_APPROVER ("HR Location Approver"), 063 ACADEMIC_HR_LOCATION_APPROVER ("Academic HR Location Approver"), 064 FISCAL_LOCATION_APPROVER ("Fiscal Location Approver"), 065 HR_ORG_APPROVER ("HR Organization Approver"), 066 FISCAL_ORG_APPROVER ("Fiscal Organization Approver"), 067 DEPARTMENT_APPROVER ("Department Approver"), 068 FISCAL_DEPARTMENT_APPROVER ("Fiscal Department Approver"), 069 070 // eDossier roles 071 CANDIDATE ("Candidate"), 072 CANDIDATE_DELEGATE ("Candidate Delegate"), 073 GUEST_DOSSIER ("Guest Dossier"), 074 EDO_SUPER_USER ("Edo Super User"); 075 076 private String roleName; 077 078 private KPMERole(String roleName) { 079 this.roleName = roleName; 080 } 081 082 public String getRoleName() { 083 return roleName; 084 } 085 086 public void setRoleName(String roleName) { 087 this.roleName = roleName; 088 } 089 090}