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: import java.util.List;
020:
021: import org.kuali.core.bo.Campus;
022: import org.kuali.core.util.KualiDecimal;
023: import org.kuali.module.chart.bo.Account;
024: import org.kuali.module.chart.bo.Chart;
025: import org.kuali.module.chart.bo.Org;
026: import org.kuali.module.purap.bo.BillingAddress;
027: import org.kuali.module.purap.bo.DeliveryRequiredDateReason;
028: import org.kuali.module.purap.bo.FundingSource;
029: import org.kuali.module.purap.bo.PurApItem;
030: import org.kuali.module.purap.bo.PurchaseOrderTransmissionMethod;
031: import org.kuali.module.purap.bo.RecurringPaymentType;
032: import org.kuali.module.purap.bo.RequisitionSource;
033: import org.kuali.module.vendor.bo.PurchaseOrderCostSource;
034: import org.kuali.module.vendor.bo.VendorContract;
035: import org.kuali.module.vendor.bo.VendorDetail;
036:
037: /**
038: * Interface for Purchasing Documents.
039: */
040: public interface PurchasingDocument extends
041: PurchasingAccountsPayableDocument {
042:
043: public String getFundingSourceCode();
044:
045: public void setFundingSourceCode(String fundingSourceCode);
046:
047: public String getRequisitionSourceCode();
048:
049: public void setRequisitionSourceCode(String requisitionSourceCode);
050:
051: public String getPurchaseOrderTransmissionMethodCode();
052:
053: public void setPurchaseOrderTransmissionMethodCode(
054: String purchaseOrderTransmissionMethodCode);
055:
056: public String getPurchaseOrderCostSourceCode();
057:
058: public void setPurchaseOrderCostSourceCode(
059: String purchaseOrderCostSourceCode);
060:
061: public String getDeliveryRequiredDateReasonCode();
062:
063: public void setDeliveryRequiredDateReasonCode(
064: String deliveryRequiredDateReasonCode);
065:
066: public String getRecurringPaymentTypeCode();
067:
068: public void setRecurringPaymentTypeCode(
069: String recurringPaymentTypeCode);
070:
071: public String getChartOfAccountsCode();
072:
073: public void setChartOfAccountsCode(String chartOfAccountsCode);
074:
075: public String getOrganizationCode();
076:
077: public void setOrganizationCode(String organizationCode);
078:
079: public String getDeliveryCampusCode();
080:
081: public void setDeliveryCampusCode(String deliveryCampusCode);
082:
083: public KualiDecimal getPurchaseOrderTotalLimit();
084:
085: public void setPurchaseOrderTotalLimit(
086: KualiDecimal purchaseOrderTotalLimit);
087:
088: public String getVendorName();
089:
090: public void setVendorName(String vendorName);
091:
092: public String getVendorLine1Address();
093:
094: public void setVendorLine1Address(String vendorLine1Address);
095:
096: public String getVendorLine2Address();
097:
098: public void setVendorLine2Address(String vendorLine2Address);
099:
100: public String getVendorCityName();
101:
102: public void setVendorCityName(String vendorCityName);
103:
104: public String getVendorStateCode();
105:
106: public void setVendorStateCode(String vendorStateCode);
107:
108: public String getVendorPostalCode();
109:
110: public void setVendorPostalCode(String vendorPostalCode);
111:
112: public String getVendorCountryCode();
113:
114: public void setVendorCountryCode(String vendorCountryCode);
115:
116: public Boolean getVendorRestrictedIndicator();
117:
118: public void setVendorRestrictedIndicator(
119: Boolean vendorRestrictedIndicator);
120:
121: public String getVendorPhoneNumber();
122:
123: public void setVendorPhoneNumber(String vendorPhoneNumber);
124:
125: public String getVendorFaxNumber();
126:
127: public void setVendorFaxNumber(String vendorFaxNumber);
128:
129: public Integer getVendorContractGeneratedIdentifier();
130:
131: public void setVendorContractGeneratedIdentifier(
132: Integer vendorContractGeneratedIdentifier);
133:
134: public String getVendorNoteText();
135:
136: public void setVendorNoteText(String vendorNoteText);
137:
138: public String getRequestorPersonName();
139:
140: public void setRequestorPersonName(String requestorPersonName);
141:
142: public String getRequestorPersonEmailAddress();
143:
144: public void setRequestorPersonEmailAddress(
145: String requestorPersonEmailAddress);
146:
147: public String getRequestorPersonPhoneNumber();
148:
149: public void setRequestorPersonPhoneNumber(
150: String requestorPersonPhoneNumber);
151:
152: public String getNonInstitutionFundOrgChartOfAccountsCode();
153:
154: public void setNonInstitutionFundOrgChartOfAccountsCode(
155: String nonInstitutionFundOrgChartOfAccountsCode);
156:
157: public String getNonInstitutionFundOrganizationCode();
158:
159: public void setNonInstitutionFundOrganizationCode(
160: String nonInstitutionFundOrganizationCode);
161:
162: public String getNonInstitutionFundChartOfAccountsCode();
163:
164: public void setNonInstitutionFundChartOfAccountsCode(
165: String nonInstitutionFundChartOfAccountsCode);
166:
167: public String getNonInstitutionFundAccountNumber();
168:
169: public void setNonInstitutionFundAccountNumber(
170: String nonInstitutionFundAccountNumber);
171:
172: public String getDeliveryBuildingCode();
173:
174: public void setDeliveryBuildingCode(String deliveryBuildingCode);
175:
176: public String getDeliveryBuildingName();
177:
178: public void setDeliveryBuildingName(String deliveryBuildingName);
179:
180: public String getDeliveryBuildingRoomNumber();
181:
182: public void setDeliveryBuildingRoomNumber(
183: String deliveryBuildingRoomNumber);
184:
185: public String getDeliveryBuildingLine1Address();
186:
187: public void setDeliveryBuildingLine1Address(
188: String deliveryBuildingLine1Address);
189:
190: public String getDeliveryBuildingLine2Address();
191:
192: public void setDeliveryBuildingLine2Address(
193: String deliveryBuildingLine2Address);
194:
195: public String getDeliveryCityName();
196:
197: public void setDeliveryCityName(String deliveryCityName);
198:
199: public String getDeliveryStateCode();
200:
201: public void setDeliveryStateCode(String deliveryStateCode);
202:
203: public String getDeliveryPostalCode();
204:
205: public void setDeliveryPostalCode(String deliveryPostalCode);
206:
207: public String getDeliveryCountryCode();
208:
209: public void setDeliveryCountryCode(String deliveryCountryCode);
210:
211: public String getDeliveryToName();
212:
213: public void setDeliveryToName(String deliveryToName);
214:
215: public String getDeliveryToEmailAddress();
216:
217: public void setDeliveryToEmailAddress(String deliveryToEmailAddress);
218:
219: public String getDeliveryToPhoneNumber();
220:
221: public void setDeliveryToPhoneNumber(String deliveryToPhoneNumber);
222:
223: public Date getDeliveryRequiredDate();
224:
225: public void setDeliveryRequiredDate(Date deliveryRequiredDate);
226:
227: public String getDeliveryInstructionText();
228:
229: public void setDeliveryInstructionText(
230: String deliveryInstructionText);
231:
232: public Date getPurchaseOrderBeginDate();
233:
234: public void setPurchaseOrderBeginDate(Date purchaseOrderBeginDate);
235:
236: public Date getPurchaseOrderEndDate();
237:
238: public void setPurchaseOrderEndDate(Date purchaseOrderEndDate);
239:
240: public String getInstitutionContactName();
241:
242: public void setInstitutionContactName(String institutionContactName);
243:
244: public String getInstitutionContactPhoneNumber();
245:
246: public void setInstitutionContactPhoneNumber(
247: String institutionContactPhoneNumber);
248:
249: public String getInstitutionContactEmailAddress();
250:
251: public void setInstitutionContactEmailAddress(
252: String institutionContactEmailAddress);
253:
254: public String getBillingName();
255:
256: public void setBillingName(String billingName);
257:
258: public String getBillingLine1Address();
259:
260: public void setBillingLine1Address(String billingLine1Address);
261:
262: public String getBillingLine2Address();
263:
264: public void setBillingLine2Address(String billingLine2Address);
265:
266: public String getBillingCityName();
267:
268: public void setBillingCityName(String billingCityName);
269:
270: public String getBillingStateCode();
271:
272: public void setBillingStateCode(String billingStateCode);
273:
274: public String getBillingPostalCode();
275:
276: public void setBillingPostalCode(String billingPostalCode);
277:
278: public String getBillingCountryCode();
279:
280: public void setBillingCountryCode(String billingCountryCode);
281:
282: public String getBillingPhoneNumber();
283:
284: public void setBillingPhoneNumber(String billingPhoneNumber);
285:
286: public String getExternalOrganizationB2bSupplierIdentifier();
287:
288: public void setExternalOrganizationB2bSupplierIdentifier(
289: String externalOrganizationB2bSupplierIdentifier);
290:
291: public boolean getPurchaseOrderAutomaticIndicator();
292:
293: public void setPurchaseOrderAutomaticIndicator(
294: boolean purchaseOrderAutomaticIndicator);
295:
296: public FundingSource getFundingSource();
297:
298: public void setFundingSource(FundingSource fundingSource);
299:
300: public RequisitionSource getRequisitionSource();
301:
302: /**
303: * @deprecated
304: */
305: public void setRequisitionSource(RequisitionSource requisitionSource);
306:
307: public PurchaseOrderTransmissionMethod getPurchaseOrderTransmissionMethod();
308:
309: /**
310: * @deprecated
311: */
312: public void setPurchaseOrderTransmissionMethod(
313: PurchaseOrderTransmissionMethod purchaseOrderTransmissionMethod);
314:
315: public PurchaseOrderCostSource getPurchaseOrderCostSource();
316:
317: /**
318: * @deprecated
319: */
320: public void setPurchaseOrderCostSource(
321: PurchaseOrderCostSource purchaseOrderCostSource);
322:
323: public DeliveryRequiredDateReason getDeliveryRequiredDateReason();
324:
325: /**
326: * @deprecated
327: */
328: public void setDeliveryRequiredDateReason(
329: DeliveryRequiredDateReason deliveryRequiredDateReason);
330:
331: public RecurringPaymentType getRecurringPaymentType();
332:
333: /**
334: * @deprecated
335: */
336: public void setRecurringPaymentType(
337: RecurringPaymentType recurringPaymentType);
338:
339: public Org getOrganization();
340:
341: /**
342: * @deprecated
343: */
344: public void setOrganization(Org organization);
345:
346: public Chart getChartOfAccounts();
347:
348: /**
349: * @deprecated
350: */
351: public void setChartOfAccounts(Chart chartOfAccounts);
352:
353: public Campus getDeliveryCampus();
354:
355: /**
356: * @deprecated
357: */
358: public void setDeliveryCampus(Campus deliveryCampus);
359:
360: public Chart getNonInstitutionFundOrgChartOfAccounts();
361:
362: /**
363: * @deprecated
364: */
365: public void setNonInstitutionFundOrgChartOfAccounts(
366: Chart nonInstitutionFundOrgChartOfAccounts);
367:
368: public Org getNonInstitutionFundOrganization();
369:
370: /**
371: * @deprecated
372: */
373: public void setNonInstitutionFundOrganization(
374: Org nonInstitutionFundOrganization);
375:
376: public Account getNonInstitutionFundAccount();
377:
378: /**
379: * @deprecated
380: */
381: public void setNonInstitutionFundAccount(
382: Account nonInstitutionFundAccount);
383:
384: public Chart getNonInstitutionFundChartOfAccounts();
385:
386: /**
387: * @deprecated
388: */
389: public void setNonInstitutionFundChartOfAccounts(
390: Chart nonInstitutionFundChartOfAccounts);
391:
392: public String getVendorPaymentTermsCode();
393:
394: public void setVendorPaymentTermsCode(String vendorPaymentTermsCode);
395:
396: public String getVendorShippingPaymentTermsCode();
397:
398: public void setVendorShippingPaymentTermsCode(
399: String vendorShippingPaymentTermsCode);
400:
401: public String getVendorShippingTitleCode();
402:
403: public void setVendorShippingTitleCode(
404: String vendorShippingTitleCode);
405:
406: public void setVendorContractName(String vendorContractName);
407:
408: public boolean isDeliveryBuildingOther();
409:
410: public List<PurApItem> getItems();
411:
412: public void setItems(List<PurApItem> items);
413:
414: /**
415: * @see org.kuali.module.purap.document.PurchasingAccountsPayableDocument#getItem(int)
416: */
417: public PurApItem getItem(int pos);
418:
419: /**
420: * @see org.kuali.module.purap.document.PurchasingAccountsPayableDocument#addItem(PurApItem item)
421: */
422: public void addItem(PurApItem item);
423:
424: /**
425: * @see org.kuali.module.purap.document.PurchasingAccountsPayableDocument#deleteItem(int lineNum)
426: */
427: public void deleteItem(int lineNum);
428:
429: /**
430: * @see org.kuali.kfs.document.AccountingDocumentBase#getTotalDollarAmount()
431: */
432: public KualiDecimal getTotalDollarAmount();
433:
434: /**
435: * Sets vendor detail fields based on the specified Vendor Detail.
436: *
437: * @param vendorDetail the specified Vendor Detail.
438: */
439: public void templateVendorDetail(VendorDetail vendorDetail);
440:
441: /**
442: * Sets vendor contract fields based on the specified Vendor Contract.
443: *
444: * @param vendorContract the specified Vendor Contract.
445: */
446: public void templateVendorContract(VendorContract vendorContract);
447:
448: /**
449: * Sets billing address fields based on the specified Billing Address.
450: *
451: * @param billingAddress the specified Billing Address.
452: */
453: public void templateBillingAddress(BillingAddress billingAddress);
454: }
|