org.kuali.rice.krad.uif.util
Class TestViewService
java.lang.Object
org.kuali.rice.krad.uif.util.TestViewService
- All Implemented Interfaces:
- Lifecycle, ViewService
public class TestViewService
- extends Object
- implements ViewService, Lifecycle
Simple view service implementation for supporting framework level UIF unit tests.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestViewService
public TestViewService()
getDataDictionary
public DataDictionary getDataDictionary()
- Returns:
- the dataDictionary
setDataDictionary
public void setDataDictionary(DataDictionary dataDictionary)
- Parameters:
dataDictionary
- the dataDictionary to set
start
public void start()
- Specified by:
start
in interface Lifecycle
- See Also:
InitializingBean.afterPropertiesSet()
stop
public void stop()
- Specified by:
stop
in interface Lifecycle
- See Also:
Lifecycle.stop()
isStarted
public boolean isStarted()
- Specified by:
isStarted
in interface Lifecycle
- See Also:
Lifecycle.isRunning()
getViewById
public View getViewById(String viewId)
- Specified by:
getViewById
in interface ViewService
- See Also:
ViewService.getViewById(java.lang.String)
getViewByType
public View getViewByType(UifConstants.ViewType viewType,
Map<String,String> parameters)
- Specified by:
getViewByType
in interface ViewService
- See Also:
ViewService.getViewByType(org.kuali.rice.krad.uif.UifConstants.ViewType, java.util.Map)
getViewIdForViewType
public String getViewIdForViewType(UifConstants.ViewType viewType,
Map<String,String> parameters)
- Specified by:
getViewIdForViewType
in interface ViewService
- See Also:
ViewService.getViewIdForViewType(org.kuali.rice.krad.uif.UifConstants.ViewType, java.util.Map)
getViewTypeService
public ViewTypeService getViewTypeService(UifConstants.ViewType viewType)
- Specified by:
getViewTypeService
in interface ViewService
- See Also:
ViewService.getViewTypeService(org.kuali.rice.krad.uif.UifConstants.ViewType)
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.