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: /*
17: * Created on Aug 30, 2004
18: *
19: */
20: package org.kuali.module.pdp.service;
21:
22: import java.util.Iterator;
23:
24: import org.kuali.module.pdp.bo.GlPendingTransaction;
25: import org.kuali.module.pdp.bo.PaymentDetail;
26: import org.kuali.module.pdp.bo.PaymentGroup;
27: import org.springframework.transaction.annotation.Transactional;
28:
29: /**
30: * @author jsissom
31: */
32: @Transactional
33: public interface GlPendingTransactionService {
34: public void createProcessPaymentTransaction(PaymentDetail pd,
35: Boolean relieveLiabilities);
36:
37: public void createCancellationTransaction(PaymentGroup pg);
38:
39: public void createCancelReissueTransaction(PaymentGroup pg);
40:
41: /**
42: * Save a transaction
43: *
44: * @param tran
45: */
46: public void save(GlPendingTransaction tran);
47:
48: /**
49: * Get all of the GL transactions where the extract flag is null
50: *
51: * @return Iterator of all the transactions
52: */
53: public Iterator getUnextractedTransactions();
54: }
|