public class ViewServiceImpl extends Object implements ViewService
ViewService
Provides methods for retrieving View instances and carrying out the View
lifecycle methods. Interacts with the configured ViewHelperService
during the view lifecycle
| Constructor and Description |
|---|
ViewServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected DataDictionaryService |
getDataDictionaryService() |
View |
getViewById(String viewId) |
View |
getViewByType(UifConstants.ViewType viewType,
Map<String,String> parameters)
Retrieves the
ViewTypeService for the given view type, then builds up the index based
on the supported view type parameters and queries the dictionary service to retrieve the view
based on its type and index |
String |
getViewIdForViewType(UifConstants.ViewType viewType,
Map<String,String> parameters) |
ViewTypeService |
getViewTypeService(UifConstants.ViewType viewType) |
List<ViewTypeService> |
getViewTypeServices() |
void |
setDataDictionaryService(DataDictionaryService dataDictionaryService) |
void |
setViewTypeServices(List<ViewTypeService> viewTypeServices) |
public ViewServiceImpl()
public View getViewById(String viewId)
getViewById in interface ViewServiceViewService.getViewById(java.lang.String)public View getViewByType(UifConstants.ViewType viewType, Map<String,String> parameters)
ViewTypeService for the given view type, then builds up the index based
on the supported view type parameters and queries the dictionary service to retrieve the view
based on its type and indexgetViewByType in interface ViewServiceorg.kuali.rice.krad.uif.service.ViewService#getViewByType(org.kuali.rice.krad.uif.UifConstants.ViewType,
java.util.Map) public String getViewIdForViewType(UifConstants.ViewType viewType, Map<String,String> parameters)
getViewIdForViewType in interface ViewServiceorg.kuali.rice.krad.uif.service.ViewService#getViewIdForViewType(org.kuali.rice.krad.uif.UifConstants.ViewType,
java.util.Map) public ViewTypeService getViewTypeService(UifConstants.ViewType viewType)
getViewTypeService in interface ViewServicepublic List<ViewTypeService> getViewTypeServices()
public void setViewTypeServices(List<ViewTypeService> viewTypeServices)
protected DataDictionaryService getDataDictionaryService()
public void setDataDictionaryService(DataDictionaryService dataDictionaryService)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.