001 /*
002 * Copyright 2011 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 */
016 package org.kuali.kfs.sys;
017
018 import org.kuali.rice.core.util.JSTLConstants;
019 import org.kuali.rice.kns.authorization.AuthorizationConstants.EditMode;
020
021 public class KfsAuthorizationConstants extends JSTLConstants {
022
023 public static class TransactionalEditMode extends EditMode {
024 public static final String EXPENSE_ENTRY = "expenseEntry";
025 }
026
027 public static class DisbursementVoucherEditMode extends TransactionalEditMode {
028 public static final String PAYEE_ENTRY = "payeeEntry";
029 public static final String TAX_ENTRY = "taxEntry";
030 public static final String FRN_ENTRY = "frnEntry";
031 public static final String WIRE_ENTRY = "wireEntry";
032 public static final String TRAVEL_ENTRY = "travelEntry";
033 public static final String FULL_ENTRY = "fullEntry";
034 public static final String PAYMENT_HANDLING_ENTRY = "paymentHandlingEntry";
035 public static final String VOUCHER_DEADLINE_ENTRY = "voucherDeadlineEntry";
036 public static final String SPECIAL_HANDLING_CHANGING_ENTRY = "specialHandlingChangingEntry";
037 }
038
039 public static class DistributionOfIncomeAndExpenseEditMode extends EditMode {
040 public static final String SOURCE_LINE_READ_ONLY_MODE = "sourceLinesReadOnlyMode";
041 }
042
043 public static class CashManagementEditMode extends EditMode {
044 public static final String ALLOW_ADDITIONAL_DEPOSITS = "allowAdditionalDeposits";
045 public static final String ALLOW_CANCEL_DEPOSITS = "allowCancelDeposits";
046 }
047
048 public static class BudgetAdjustmentEditMode extends EditMode {
049 public static final String BASE_AMT_ENTRY = "baseAmtEntry";
050 }
051
052 }