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: package org.kuali.module.pdp.service;
17:
18: import java.util.Date;
19: import java.util.List;
20:
21: import org.kuali.module.pdp.bo.PdpUser;
22:
23: public interface FormatService {
24: // Get the customer profiles to list on the screen
25: public List getAllCustomerProfiles();
26:
27: // Get disbursement numbers to list on the screen
28: public List getAllDisbursementNumberRanges();
29:
30: // Find out if the format is already running somewhere
31: public Date getFormatProcessStartDate(String campus);
32:
33: // Mark the process log so a format only happens once per campus. Mark all the
34: // payments that will be formatted and return a summary. attachments will be Y, N or null for both.
35: public List startFormatProcess(PdpUser user, String campus,
36: List customers, Date paydate, boolean immediate,
37: String paymentTypes);
38:
39: // Mark the process as ended.
40: public void endFormatProcess(String campus);
41:
42: // Called from a struts action class, select data to format
43: public FormatSelection formatSelectionAction(PdpUser user,
44: boolean clearFormat);
45:
46: // Actually format the data for check printing.
47: // Return a list of Process Summaries to be displayed
48: public List performFormat(Integer procId);
49:
50: // If the start format process was run and the user doesn't want to continue,
51: // this needs to be run to set all payments back to open
52: public void clearUnfinishedFormat(Integer procId);
53:
54: // Get a list of FormatResults for a format
55: public List getFormatSummary(Integer procId);
56:
57: // Reset Payments after a format error
58: public void resetFormatPayments(Integer procId);
59:
60: // Gets the most current Processes for Format Summary Viewing
61: public List getMostCurrentProcesses();
62: }
|