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.financial.service;
17:
18: import org.kuali.module.financial.bo.ServiceBillingControl;
19:
20: /**
21: * This service interface defines methods that a ServiceBillingControlService implementation must provide.
22: *
23: */
24: public interface ServiceBillingControlService {
25:
26: /**
27: * Retrieves the ServiceBillingControl by its composite primary key (all passed in as parameters).
28: *
29: * @param chartOfAccountsCode Chart of accounts code used to perform lookup of ServiceBillingControl object.
30: * @param accountNumber Account number used to perform lookup of ServiceBillingControl object.
31: * @return A ServiceBillingControl object instance. Returns null if there is none with the given key.
32: */
33: public ServiceBillingControl getByPrimaryId(
34: String chartOfAccountsCode, String accountNumber);
35:
36: /**
37: * Retrieves all the ServiceBillingControls in the database.
38: *
39: * @return All the ServiceBillingControls in the database, or an empty array (not null) if there are none.
40: */
41: public ServiceBillingControl[] getAll();
42: }
|