Coverage Report - org.kuali.student.core.proposal.ui.server.gwt.ProposalRpcGwtServlet
 
Classes in this File Line Coverage Branch Coverage Complexity
ProposalRpcGwtServlet
0%
0/6
N/A
4
 
 1  
 /**
 2  
  * Copyright 2010 The Kuali Foundation Licensed under the
 3  
  * Educational Community License, Version 2.0 (the "License"); you may
 4  
  * not use this file except in compliance with the License. You may
 5  
  * obtain a copy of the License at
 6  
  *
 7  
  * http://www.osedu.org/licenses/ECL-2.0
 8  
  *
 9  
  * Unless required by applicable law or agreed to in writing,
 10  
  * software distributed under the License is distributed on an "AS IS"
 11  
  * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 12  
  * or implied. See the License for the specific language governing
 13  
  * permissions and limitations under the License.
 14  
  */
 15  
 
 16  
 package org.kuali.student.core.proposal.ui.server.gwt;
 17  
 
 18  
 import org.apache.log4j.Logger;
 19  
 import org.kuali.student.common.ui.server.gwt.BaseRpcGwtServletAbstract;
 20  
 import org.kuali.student.core.proposal.dto.ProposalInfo;
 21  
 import org.kuali.student.core.proposal.service.ProposalService;
 22  
 import org.kuali.student.core.proposal.ui.client.service.ProposalRpcService;
 23  
 
 24  
 /**
 25  
  * For now this servlet just exposes the dictionary and search methods of the Proposal Service 
 26  
  * 
 27  
  * @author Kuali Student Team
 28  
  *
 29  
  */
 30  0
 public class ProposalRpcGwtServlet extends BaseRpcGwtServletAbstract<ProposalService> implements ProposalRpcService{
 31  
 
 32  
     private static final long serialVersionUID = 1L;
 33  
 
 34  0
     private final static Logger LOGGER = Logger.getLogger(ProposalRpcGwtServlet.class);
 35  
 
 36  
     @Override
 37  
     public ProposalInfo getProposalByWorkflowId(String workflowId) throws Exception {
 38  
         try {
 39  0
             return service.getProposalByWorkflowId(workflowId);
 40  0
         } catch (Exception e) {
 41  0
             LOGGER.error(e);
 42  0
             throw e;
 43  
         }
 44  
     }
 45  
 
 46  
 }