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.kra.routingform.service;
17:
18: import java.util.List;
19:
20: import org.kuali.module.kra.routingform.bo.ResearchRiskType;
21: import org.kuali.module.kra.routingform.document.RoutingFormDocument;
22:
23: /**
24: * This interface defines methods that a RoutingFormResearchRiskService must provide
25: */
26: public interface RoutingFormResearchRiskService {
27:
28: /**
29: * Setup research risks in the document.
30: *
31: * @param routingFormDocument the doc to set up
32: */
33: public void setupResearchRisks(
34: RoutingFormDocument routingFormDocument);
35:
36: /**
37: * Get the list of active research risk types from the database.
38: *
39: * @param exceptCodes the codes of research risk types to exclude from the results
40: * @return List<ResearchRiskType>
41: */
42: public List<ResearchRiskType> getResearchRiskTypes(
43: String[] exceptCodes);
44:
45: public List<String> getNotificationWorkgroups(String documentNumber);
46: }
|