001/** 002 * Copyright 2012 The Kuali Foundation Licensed under the 003 * Educational Community License, Version 2.0 (the "License"); you may 004 * not use this file except in compliance with the License. You may 005 * obtain a copy of the License at 006 * 007 * http://www.osedu.org/licenses/ECL-2.0 008 * 009 * Unless required by applicable law or agreed to in writing, 010 * software distributed under the License is distributed on an "AS IS" 011 * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express 012 * or implied. See the License for the specific language governing 013 * permissions and limitations under the License. 014 * 015 */ 016 017package org.kuali.student.common.uif.service; 018 019import org.kuali.rice.krad.uif.service.ViewHelperService; 020import org.kuali.student.r2.common.dto.ContextInfo; 021import org.kuali.student.r2.core.class1.state.dto.StateInfo; 022import org.kuali.student.r2.core.class1.type.dto.TypeInfo; 023 024public interface KSViewHelperService extends ViewHelperService{ 025 026 public ContextInfo createContextInfo(); 027 028 public StateInfo getStateInfo(String stateKey); 029 030 public TypeInfo getTypeInfo(String typeKey); 031 032 public RuntimeException convertServiceExceptionsToUI(Exception ex); 033 034}