01: /*
02: * Copyright 2006-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.kra.routingform.service;
17:
18: import java.util.List;
19:
20: import org.kuali.module.kra.budget.document.BudgetDocument;
21: import org.kuali.module.kra.budget.web.struts.form.BudgetOverviewFormHelper;
22: import org.kuali.module.kra.routingform.document.RoutingFormDocument;
23:
24: import edu.iu.uis.eden.exception.WorkflowException;
25:
26: /**
27: * Contains core routing form services.
28: */
29: public interface RoutingFormService {
30:
31: /**
32: * Prepares a Routing Form for save.
33: *
34: * @param RoutingFormDocument
35: * @throws WorkflowException
36: */
37: public void prepareRoutingFormForSave(
38: RoutingFormDocument RoutingFormDocument)
39: throws WorkflowException;
40:
41: public BudgetDocument retrieveBudgetForLinking(
42: String budgetDocumentNumber) throws WorkflowException;
43:
44: public void linkImportBudgetDataToRoutingForm(
45: RoutingFormDocument routingFormDocument,
46: String budgetDocumentHeaderId,
47: List<BudgetOverviewFormHelper> periodOverviews)
48: throws WorkflowException;
49:
50: public Long createAndRouteProposalMaintenanceDocument(
51: RoutingFormDocument routingFormDocument);
52: }
|