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.chart.service;
17:
18: /**
19: *
20: * This service interface defines methods necessary for copying fiscal year information
21: */
22: public interface DateMakerService {
23:
24: /**
25: *
26: * use this when you want to copy the current fiscal year (as of today's date)
27: * into the coming fiscal year
28: * replaceMode = true overrides what's there in the target year
29: * = false only adds what isn't there, leaving anything existing for
30: * the target year undisturbed
31: * @param replaceMode
32: */
33: public void fiscalYearMakers(boolean replaceMode);
34:
35: /**
36: *
37: * use this when you want to start with a specified base year (which does not necessarily correspond to the current fiscal
38: * year). this could be used to implement a "budget year", for example = false only adds what isn't there, leaving anything
39: * existing for the target year undisturbed
40: * @param baseYear
41: * @param replaceMode
42: */
43: public void fiscalYearMakers(Integer baseYear, boolean replaceMode);
44:
45: // TODO: remove these
46: public void testRoutine();
47:
48: }
|