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 org.kuali.core.bo.user.UniversalUser;
19: import org.kuali.core.service.KualiModuleUserService;
20: import org.kuali.module.chart.bo.ChartUser;
21:
22: /**
23: *
24: * This service interface defines methods necessary for retrieving information from Kuali based on user information
25: */
26: public interface ChartUserService extends
27: KualiModuleUserService<ChartUser> {
28:
29: /**
30: *
31: * This checks to see if the given user is an administrator
32: * @param user
33: * @return true if this user is an administrator
34: */
35: public boolean isAdministratorUser(ChartUser user);
36:
37: /**
38: * Returns the default chart code based on universal user information.
39: * @param user
40: * @return the default chart code for this user
41: */
42: String getDefaultChartCode(UniversalUser user);
43:
44: /**
45: *
46: * Returns the default organization code based on universal user information.
47: * @param user
48: * @return the default organization code for this user
49: */
50: String getDefaultOrganizationCode(UniversalUser user);
51:
52: }
|