1 package org.kuali.kpme.edo.reviewlayerdef.dao;
2
3 import org.kuali.kpme.edo.reviewlayerdef.EdoReviewLayerDefinitionBo;
4 import org.kuali.kpme.edo.reviewlayerdef.EdoSuppReviewLayerDefinitionBo;
5
6 import java.math.BigDecimal;
7 import java.util.List;
8 import java.util.Set;
9
10 public interface EdoReviewLayerDefinitionDao {
11
12
13
14
15
16
17
18
19
20
21
22 public EdoReviewLayerDefinitionBo getReviewLayerDefinitionById(String reviewLayerDefinitionId);
23 public EdoReviewLayerDefinitionBo getReviewLayerDefinition(String workflowId, String nodeName);
24 public List<EdoReviewLayerDefinitionBo> getReviewLayerDefinitions();
25
26 public List<EdoReviewLayerDefinitionBo> getReviewLayerDefinitions(Set<String> nodeNames);
27 public List<EdoReviewLayerDefinitionBo> getReviewLayerDefinitions(String workflowId);
28 public List<EdoReviewLayerDefinitionBo> getReviewLayerDefinitions(String nodeName, String voteType, String reviewLetter);
29 public List<EdoReviewLayerDefinitionBo> getReviewLayerDefinitions(String workflowId, Set<String> nodeNames);
30 public void saveOrUpdate(EdoReviewLayerDefinitionBo reviewLayerDefinition);
31 public List<String> getValidReviewLevelNodeNames();
32 public List<String> getValidReviewLevelNodeNames(String workflowId);
33
34
35
36 public List<EdoReviewLayerDefinitionBo> getReviewLayerDefinitionsToMax(String maxReviewLevel);
37
38 public EdoReviewLayerDefinitionBo getReviewLayerDefinitionBySupplementalNode(String suppNodeName);
39 public List<String> getDistinctWorkflowIds();
40 public List<EdoReviewLayerDefinitionBo> getReviewLayerDefinitionsByWorkflowId(String workflowId);
41 public String getLevelQualifierByWorkflowId(String workflowId, String nodeName);
42 public List<EdoReviewLayerDefinitionBo> getRouteLevelsWithReviewLayers();
43
44
45
46
47
48
49 }