View Javadoc
1   /*
2    * Copyright 2007 The Kuali Foundation
3    * 
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    * 
8    * http://www.opensource.org/licenses/ecl2.php
9    * 
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.ole.module.purap;
17  
18  
19  /**
20   * Defines constants used in authorization-related code.
21   */
22  public class PurapAuthorizationConstants {
23  
24      public static class RequisitionEditMode {
25          public static final String ALLOW_POSTING_YEAR_ENTRY = "allowPostingYearEntry";
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          public static final String DISPLAY_RECEIVING_ADDRESS = "displayReceivingAddress";
31          public static final String LOCK_ADDRESS_TO_VENDOR = "lockAddressToVendor";
32          public static final String LOCK_TAX_AMOUNT_ENTRY = "lockTaxAmountEntry";
33          public static final String CLEAR_ALL_TAXES = "clearAllTaxes";
34          public static final String LOCK_B2B_ENTRY = "lockB2BEntry";
35          public static final String RESTRICT_FISCAL_ENTRY = "restrictFiscalEntry";
36          public static final String ENABLE_COMMODITY_CODE = "enableCommodityCode";
37          public static final String ENABLE_CREATE_BIBEDITOR = "enableCreateBibEditor";
38          public static final String ENABLE_EDIT_BIBEDITOR = "enableEditBibEditor";
39          //public static final String ENABLE_LICENSE_INDICATOR = "enableLicenseIndicator";
40          public static final String ENABLE_ROUTE_BUTTONS = "enableRouteButtons";
41  
42      }
43  
44      public static class PurchaseOrderEditMode {
45          public static final String ALLOW_POSTING_YEAR_ENTRY = "allowPostingYearEntry";
46          public static final String LOCK_VENDOR_ENTRY = "lockVendorEntry";
47          public static final String LOCK_INTERNAL_PURCHASING_ENTRY = "lockInternalPurchasingEntry";
48          public static final String DISPLAY_RETRANSMIT_TAB = "displayRetransmitTab";
49          public static final String AMENDMENT_ENTRY = "amendmentEntry";
50          public static final String PRE_ROUTE_CHANGEABLE = "preRoute";
51          public static final String DISPLAY_RECEIVING_ADDRESS = "displayReceivingAddress";
52          public static final String SPLITTING_ITEM_SELECTION = "splittingItemSelection";
53          public static final String UNORDERED_ITEM_ACCOUNT_ENTRY = "unorderedItemAccountEntry";
54          public static final String LOCK_TAX_AMOUNT_ENTRY = "lockTaxAmountEntry";
55          public static final String CLEAR_ALL_TAXES = "clearAllTaxes";
56          public static final String LOCK_B2B_ENTRY = "lockB2BEntry";
57          public static final String PRINT_PURCHASE_ORDER = "printPurchaseOrder";
58          public static final String PREVIEW_PRINT_PURCHASE_ORDER = "previewPrintPurchaseOrder";
59          public static final String RESEND_PURCHASE_ORDER = "resendPurchaseOrder";
60          public static final String ASSIGN_SENSITIVE_DATA = "assignSensitiveData";
61          public static final String ENABLE_COMMODITY_CODE = "enableCommodityCode";
62          public static final String EDITABLE_FUNDING_SOURCE = "editableFundingSource";
63      }
64  
65      public static class PaymentRequestEditMode {
66          public static final String PURAP_TAX_ENABLED = "purapTaxEnabled";
67          public static final String LOCK_VENDOR_ENTRY = "lockVendorEntry";
68          public static final String DISPLAY_INIT_TAB = "displayInitTab";
69          public static final String ALLOW_FISCAL_ENTRY = "allowFiscalEntry";
70          public static final String EDIT_PRE_EXTRACT = "editPreExtract";
71          public static final String LOCK_TAX_AMOUNT_ENTRY = "lockTaxAmountEntry";
72          public static final String CLEAR_ALL_TAXES = "clearAllTaxes";
73          public static final String TAX_INFO_VIEWABLE = "taxInfoViewable";
74          public static final String TAX_AREA_EDITABLE = "taxAreaEditable";
75          public static final String RESTRICT_FISCAL_ENTRY = "restrictFiscalEntry";
76          public static final String ALLOW_CLOSE_PURCHASE_ORDER = "allowClosePurchaseOrder";
77          public static final String ACCOUNTS_PAYABLE_PROCESSOR_CANCEL = "processorCancel";
78          public static final String ACCOUNTS_PAYABLE_MANAGER_CANCEL = "managerCancel";
79          public static final String REQUEST_CANCEL = "requestPaymentRequestCancel";
80          public static final String HOLD = "requestPaymentRequestHold";
81          public static final String REMOVE_HOLD = "paymentRequestHoldCancelRemoval";
82          public static final String REMOVE_REQUEST_CANCEL = "paymentRequestHoldCancelRemoval";
83          public static final String FULL_DOCUMENT_ENTRY_COMPLETED = "fullDocumentEntryCompleted";
84      }
85  
86      public static class InvoiceEditMode {
87          public static final String PURAP_TAX_ENABLED = "purapTaxEnabled";
88          public static final String LOCK_VENDOR_ENTRY = "lockVendorEntry";
89          public static final String DISPLAY_INIT_TAB = "displayInitTab";
90          public static final String ALLOW_FISCAL_ENTRY = "allowFiscalEntry";
91          public static final String EDIT_PRE_EXTRACT = "editPreExtract";
92          public static final String LOCK_TAX_AMOUNT_ENTRY = "lockTaxAmountEntry";
93          public static final String CLEAR_ALL_TAXES = "clearAllTaxes";
94          public static final String TAX_INFO_VIEWABLE = "taxInfoViewable";
95          public static final String TAX_AREA_EDITABLE = "taxAreaEditable";
96          public static final String RESTRICT_FISCAL_ENTRY = "restrictFiscalEntry";
97          public static final String ALLOW_CLOSE_PURCHASE_ORDER = "allowClosePurchaseOrder";
98          public static final String ACCOUNTS_PAYABLE_PROCESSOR_CANCEL = "processorCancel";
99          public static final String ACCOUNTS_PAYABLE_MANAGER_CANCEL = "managerCancel";
100         public static final String REQUEST_CANCEL = "requestPaymentRequestCancel";
101         public static final String HOLD = "requestPaymentRequestHold";
102         public static final String REMOVE_HOLD = "paymentRequestHoldCancelRemoval";
103         public static final String REMOVE_REQUEST_CANCEL = "paymentRequestHoldCancelRemoval";
104         public static final String FULL_DOCUMENT_ENTRY_COMPLETED = "fullDocumentEntryCompleted";
105     }
106 
107 
108     public static class CreditMemoEditMode {
109         public static final String LOCK_VENDOR_ENTRY = "lockVendorEntry";
110         public static final String DISPLAY_INIT_TAB = "displayInitTab";
111         public static final String EDIT_PRE_EXTRACT = "editPreExtract";
112         public static final String ALLOW_FISCAL_ENTRY = "allowFiscalEntry";
113         public static final String LOCK_TAX_AMOUNT_ENTRY = "lockTaxAmountEntry";
114         public static final String CLEAR_ALL_TAXES = "clearAllTaxes";
115         public static final String ALLOW_REOPEN_PURCHASE_ORDER = "allowReopenPurchaseOrder";
116         public static final String HOLD = "requestVendorCreditMemoHold";
117         public static final String REMOVE_HOLD = "vendorCreditMemoHoldRemoval";
118         public static final String ACCOUNTS_PAYABLE_PROCESSOR_CANCEL = "processorCancel";
119         public static final String FULL_DOCUMENT_ENTRY_COMPLETED = "fullDocumentEntryCompleted";
120     }
121 
122     public static class LineItemReceivingEditMode {
123         public static final String DISPLAY_INIT_TAB = "displayInitTab";
124     }
125 
126     public static class CorrectionReceivingEditMode {
127         public static final String LOCK_VENDOR_ENTRY = "lockVendorEntry";
128     }
129 
130     public static class BulkReceivingEditMode {
131         public static final String DISPLAY_INIT_TAB = "displayInitTab";
132         public static final String LOCK_PO_DETAILS = "lockPODetails";
133         public static final String LOCK_VENDOR_ENTRY = "lockVendorEntry";
134     }
135 
136     public static final String PURAP_TAX_ENABLED = "purapTaxEnabled";
137 
138 
139 }