001: /*
002: * Copyright 2006-2007 The Kuali Foundation.
003: *
004: * Licensed under the Educational Community License, Version 1.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/ecl1.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.module.purap.document;
017:
018: import java.sql.Date;
019:
020: import org.kuali.core.bo.Campus;
021: import org.kuali.core.util.KualiDecimal;
022: import org.kuali.module.purap.bo.AccountsPayableItem;
023: import org.kuali.module.purap.bo.PurchaseOrderItem;
024: import org.kuali.module.purap.service.AccountsPayableDocumentSpecificService;
025:
026: /**
027: * Accounts Payable Document Interface
028: */
029: public interface AccountsPayableDocument extends
030: PurchasingAccountsPayableDocument {
031:
032: public Integer getPurchaseOrderIdentifier();
033:
034: public void setPurchaseOrderIdentifier(
035: Integer purchaseOrderIdentifier);
036:
037: public String getAccountsPayableProcessorIdentifier();
038:
039: public void setAccountsPayableProcessorIdentifier(
040: String accountsPayableProcessorIdentifier);
041:
042: public String getLastActionPerformedByUniversalUserId();
043:
044: public void setLastActionPerformedByUniversalUserId(
045: String lastActionPerformedByUniversalUserId);
046:
047: public String getProcessingCampusCode();
048:
049: public void setProcessingCampusCode(String processingCampusCode);
050:
051: public Date getAccountsPayableApprovalDate();
052:
053: public void setAccountsPayableApprovalDate(
054: Date accountsPayableApprovalDate);
055:
056: public Date getExtractedDate();
057:
058: public void setExtractedDate(Date extractedDate);
059:
060: public boolean isHoldIndicator();
061:
062: public void setHoldIndicator(boolean holdIndicator);
063:
064: public String getNoteLine1Text();
065:
066: public void setNoteLine1Text(String noteLine1Text);
067:
068: public String getNoteLine2Text();
069:
070: public void setNoteLine2Text(String noteLine2Text);
071:
072: public String getNoteLine3Text();
073:
074: public void setNoteLine3Text(String noteLine3Text);
075:
076: public Campus getProcessingCampus();
077:
078: public PurchaseOrderDocument getPurchaseOrderDocument();
079:
080: public void setPurchaseOrderDocument(
081: PurchaseOrderDocument purchaseOrderDocument);
082:
083: /**
084: * Determines if review route node is required.
085: *
086: * @return - true if review is required, false otherwise.
087: */
088: public boolean requiresAccountsPayableReviewRouting();
089:
090: /**
091: * Determines if approval is an option during review.
092: *
093: * @return - true if approval is available during review, false otherwise.
094: */
095: public boolean approvalAtAccountsPayableReviewAllowed();
096:
097: public boolean isUnmatchedOverride();
098:
099: public void setUnmatchedOverride(boolean unmatchedOverride);
100:
101: /**
102: * Retrieves grand total amount for document.
103: *
104: * @return - grand total
105: */
106: public KualiDecimal getGrandTotal();
107:
108: /**
109: * Returns the amount entered on the initial screen.
110: *
111: * @return - amount entered by user on initial screen
112: */
113: public KualiDecimal getInitialAmount();
114:
115: public boolean isContinuationAccountIndicator();
116:
117: public void setContinuationAccountIndicator(
118: boolean continuationAccountIndicator);
119:
120: /**
121: * Determines if document has been extracted.
122: *
123: * @return - true if document has been extracted, false otherwise.
124: */
125: public boolean isExtracted();
126:
127: public AccountsPayableItem getAPItemFromPOItem(PurchaseOrderItem poi);
128:
129: public abstract AccountsPayableDocumentSpecificService getDocumentSpecificService();
130:
131: }
|