01: /*
02: * Copyright 2007 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.module.purap;
17:
18: import org.kuali.core.authorization.AuthorizationConstants;
19:
20: /**
21: * Defines constants used in authorization-related code.
22: */
23: public class PurapAuthorizationConstants extends AuthorizationConstants {
24:
25: public static class RequisitionEditMode extends EditMode {
26: public static final String LOCK_VENDOR_ENTRY = "lockVendorEntry";
27: public static final String LOCK_CONTENT_ENTRY = "lockContentEntry";
28: public static final String ALLOW_FISCAL_ENTRY = "allowFiscalEntry";
29: public static final String ALLOW_ITEM_ENTRY = "allowItemEntry";
30: }
31:
32: public static class PurchaseOrderEditMode extends EditMode {
33: public static final String LOCK_VENDOR_ENTRY = "lockVendorEntry";
34: public static final String LOCK_INTERNAL_PURCHASING_ENTRY = "lockInternalPurchasingEntry";
35: public static final String DISPLAY_RETRANSMIT_TAB = "displayRetransmitTab";
36: public static final String AMENDMENT_ENTRY = "amendmentEntry";
37: public static final String PRE_ROUTE_CHANGEABLE = "preRouteChangeable";
38: }
39:
40: public static class PaymentRequestEditMode extends EditMode {
41: public static final String LOCK_VENDOR_ENTRY = "lockVendorEntry";
42: public static final String DISPLAY_INIT_TAB = "displayInitTab";
43: public static final String ALLOW_FISCAL_ENTRY = "allowFiscalEntry";
44: public static final String SHOW_AMOUNT_ONLY = "showAmountOnly";
45: public static final String EDIT_PRE_EXTRACT = "editPreExtract";
46: }
47:
48: public static class CreditMemoEditMode extends EditMode {
49: public static final String LOCK_VENDOR_ENTRY = "lockVendorEntry";
50: public static final String DISPLAY_INIT_TAB = "displayInitTab";
51: public static final String ALLOW_FISCAL_ENTRY = "allowFiscalEntry";
52: }
53: }
|