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.core.service;
17:
18: import java.util.List;
19:
20: import org.kuali.core.KualiModule;
21: import org.kuali.core.bo.user.KualiModuleUser;
22: import org.kuali.core.bo.user.UniversalUser;
23: import org.kuali.core.bo.user.UserId;
24: import org.kuali.core.dao.KualiModuleUserDao;
25: import org.kuali.core.exceptions.UserNotFoundException;
26:
27: public interface KualiModuleUserService<T extends KualiModuleUser> {
28:
29: T getModuleUser(UniversalUser universalUser)
30: throws UserNotFoundException;
31:
32: T getModuleUser(String moduleID, UserId userId)
33: throws UserNotFoundException;
34:
35: T getModuleUser(String moduleID, String personUniversalIdentifier)
36: throws UserNotFoundException;
37:
38: T getModuleUser(String moduleID, UniversalUser universalUser)
39: throws UserNotFoundException;
40:
41: List<String> getPropertyList();
42:
43: Class<T> getModuleUserClass();
44:
45: Object getUserActiveCriteria();
46:
47: KualiModule getModule();
48:
49: void setModule(KualiModule module);
50:
51: KualiModuleUserDao getKualiModuleUserDao();
52: }
|