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.chart.service;
17:
18: import java.util.List;
19: import java.util.Map;
20:
21: import org.kuali.module.chart.bo.OrganizationReversion;
22: import org.kuali.module.chart.bo.OrganizationReversionCategory;
23: import org.kuali.module.gl.service.OrganizationReversionCategoryLogic;
24:
25: /**
26: *
27: * This service interface defines methods necessary for retrieving fully populated OrganizationReversion business objects from the database
28: * that are necessary for transaction processing in the application. It also defines methods to retrieve org reversion categories
29: */
30: public interface OrganizationReversionService {
31: /**
32: * Get an organization reversion record
33: *
34: * @param fiscalYear Fiscal Year
35: * @param chartCode Chart
36: * @param organizationCode Organization code
37: * @return Org Reversion record
38: */
39: public OrganizationReversion getByPrimaryId(Integer fiscalYear,
40: String chartCode, String organizationCode);
41:
42: /**
43: * Get org reversion categories
44: *
45: * @return map of org reversion categories
46: */
47: public Map<String, OrganizationReversionCategoryLogic> getCategories();
48:
49: /**
50: * List of reversion categories in order of the sort code
51: *
52: * @return list of org reversion category codes
53: */
54: public List<OrganizationReversionCategory> getCategoryList();
55: }
|