View Javadoc
1   /*
2    * Copyright 2011 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.select.document.validation.impl;
17  
18  import org.kuali.ole.select.businessobject.*;
19  import org.kuali.rice.krad.document.Document;
20  import org.kuali.rice.krad.rules.rule.BusinessRule;
21  
22  public interface OleValidationRule extends BusinessRule {
23  
24      public boolean processCustomAddDiscountRequisitionBusinessRules(Document document, OleRequisitionItem reqItem);
25  
26      public boolean processCustomAddDiscountPurchaseOrderBusinessRules(Document document, OlePurchaseOrderItem purItem);
27  
28      public boolean processCustomAddDiscountPaymentRequestBusinessRules(Document document, OlePaymentRequestItem payItem);
29  
30      public boolean processCustomAddDiscountInvoiceBusinessRules(Document document, OleInvoiceItem payItem);
31  
32      public boolean processCustomForeignCurrencyRequisitionBusinessRules(Document document, OleRequisitionItem reqItem);
33  
34      public boolean processCustomForeignCurrencyPurchaseOrderBusinessRules(Document document, OlePurchaseOrderItem purItem);
35  
36      public boolean processCustomForeignCurrencyPaymentRequestBusinessRules(Document document, OlePaymentRequestItem payItem);
37  
38      public boolean processCustomForeignCurrencyInvoiceBusinessRules(Document document, OleInvoiceItem payItem);
39  
40      public boolean processCustomForeignCurrencyCreditMemoBusinessRules(Document document, OleCreditMemoItem creditMemoItem);
41  
42      public boolean processCustomPaymentRequestDescriptionBusinessRules(Document document, OlePaymentRequestItem payItem);
43  
44      public boolean processCustomInvoiceDescriptionBusinessRules(Document document, OleInvoiceItem payItem);
45  
46      public boolean processCustomPurchaseOrderDescriptionBusinessRules(Document document, OlePurchaseOrderItem purItem);
47  
48      public boolean processCustomCreditMemoDescriptionBusinessRules(Document document, OleCreditMemoItem creditMemoItem);
49  
50      public boolean processCustomAddCopiesRequisitionBusinessRules(Document document, OleRequisitionItem reqItem);
51  
52      public boolean processCustomAddCopiesPurchaseOrderBusinessRules(Document document, OlePurchaseOrderItem purItem);
53  
54      public boolean processInvoiceSubscriptionOverlayBusinessRules(Document document, OleInvoiceItem invoiceItem);
55  
56  
57  }