01: /*
02: * Copyright 2005-2006 The Kuali Foundation.
03: *
04: * Licensed under the Educational Community License, Version 1.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.opensource.org/licenses/ecl1.php
09: *
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.core.authorization;
17:
18: import org.kuali.core.JstlConstants;
19:
20: /**
21: * Defines constants used in authorization-related code.
22: *
23: *
24: */
25: public class AuthorizationConstants extends JstlConstants {
26: public static class EditMode {
27: public static final String UNVIEWABLE = "unviewable";
28: public static final String VIEW_ONLY = "viewOnly";
29: public static final String FULL_ENTRY = "fullEntry";
30: }
31:
32: public static class TransactionalEditMode extends EditMode {
33: public static final String EXPENSE_ENTRY = "expenseEntry";
34: public static final String EXPENSE_SPECIAL_ENTRY = "expenseSpecialEntry";
35: }
36:
37: public static class DisbursementVoucherEditMode extends
38: TransactionalEditMode {
39: public static final String TAX_ENTRY = "taxEntry";
40: public static final String FRN_ENTRY = "frnEntry";
41: public static final String WIRE_ENTRY = "wireEntry";
42: public static final String TRAVEL_ENTRY = "travelEntry";
43: public static final String ADMIN_ENTRY = "adminEntry";
44: }
45:
46: public static class MaintenanceEditMode extends EditMode {
47: public static final String APPROVER_EDIT_ENTRY = "approverEditEntry";
48: public static final String SSN_EDIT_ENTRY = "ssnEditEntry";
49: }
50:
51: public static class CashManagementEditMode extends EditMode {
52: public static final String ALLOW_ADDITIONAL_DEPOSITS = "allowAdditionalDeposits";
53: public static final String ALLOW_CANCEL_DEPOSITS = "allowCancelDeposits";
54: }
55:
56: public static class BudgetAdjustmentEditMode extends EditMode {
57: public static final String BASE_AMT_ENTRY = "baseAmtEntry";
58: }
59:
60: public static class BudgetConstructionEditMode extends EditMode {
61: public static final String SYSTEM_VIEW_ONLY = "systemViewOnly";
62: public static final String USER_BELOW_DOC_LEVEL = "userBelowDocLevel";
63: }
64:
65: }
|