View Javadoc
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  	// commented out by IU
12  	//public EdoReviewLayerDefinition getReviewLayerDefinition(String nodeName, BigDecimal routeLevel);
13      //public EdoReviewLayerDefinition getReviewLayerDefinition(String nodeName);
14      //public BigDecimal getMaxRouteLevel();
15  	// end of commented out by IU
16  	
17  	// commented out by Tango
18  	//public EdoReviewLayerDefinitionBo getReviewLayerDefinition(String workflowId, BigDecimal reviewLayerDefinitionId);
19  	//public EdoReviewLayerDefinitionBo getReviewLayerDefinition(String workflowId, String nodeName, String routeLevel);
20  	// ********************* end of commented out by Tango ***********************
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      //supplemental auth nodes
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      // KPME-3711 Moved these to EdoSuppReviewLayerDefinition
45      /*
46      public List<String> getAuthorizedSupplementalNodes(String reviewLayerDefinitionId);
47      public EdoSuppReviewLayerDefinitionBo getSuppReviewLayerDefinition(String reviewLayerDefinitionId);
48      public String getSuppLevelQualifierByWorkflowId(String workflowId, String nodeName); */
49  }