Class ViewServiceImpl
java.lang.Object
org.kuali.rice.krad.uif.service.impl.ViewServiceImpl
- All Implemented Interfaces:
org.kuali.rice.krad.uif.service.ViewService
Implementation of
ViewService
Provides methods for retrieving View instances and carrying out the View
lifecycle methods. Interacts with the configured ViewHelperService
during the view lifecycle
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.kuali.rice.krad.service.DataDictionaryServiceorg.kuali.rice.krad.uif.view.ViewgetViewById(String viewId) org.kuali.rice.krad.uif.view.ViewgetViewByType(org.kuali.rice.krad.uif.UifConstants.ViewType viewType, Map<String, String> parameters) Retrieves theViewTypeServicefor 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 indexgetViewIdForViewType(org.kuali.rice.krad.uif.UifConstants.ViewType viewType, Map<String, String> parameters) org.kuali.rice.krad.uif.service.ViewTypeServicegetViewTypeService(org.kuali.rice.krad.uif.UifConstants.ViewType viewType) List<org.kuali.rice.krad.uif.service.ViewTypeService> voidsetDataDictionaryService(org.kuali.rice.krad.service.DataDictionaryService dataDictionaryService) voidsetViewTypeServices(List<org.kuali.rice.krad.uif.service.ViewTypeService> viewTypeServices)
-
Constructor Details
-
ViewServiceImpl
public ViewServiceImpl()
-
-
Method Details
-
getViewById
- Specified by:
getViewByIdin interfaceorg.kuali.rice.krad.uif.service.ViewService- See Also:
-
getViewByType
public org.kuali.rice.krad.uif.view.View getViewByType(org.kuali.rice.krad.uif.UifConstants.ViewType viewType, Map<String, String> parameters) Retrieves theViewTypeServicefor 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- Specified by:
getViewByTypein interfaceorg.kuali.rice.krad.uif.service.ViewService- See Also:
-
getViewIdForViewType
public String getViewIdForViewType(org.kuali.rice.krad.uif.UifConstants.ViewType viewType, Map<String, String> parameters) - Specified by:
getViewIdForViewTypein interfaceorg.kuali.rice.krad.uif.service.ViewService- See Also:
-
getViewTypeService
public org.kuali.rice.krad.uif.service.ViewTypeService getViewTypeService(org.kuali.rice.krad.uif.UifConstants.ViewType viewType) - Specified by:
getViewTypeServicein interfaceorg.kuali.rice.krad.uif.service.ViewService
-
getViewTypeServices
-
setViewTypeServices
public void setViewTypeServices(List<org.kuali.rice.krad.uif.service.ViewTypeService> viewTypeServices) -
getDataDictionaryService
protected org.kuali.rice.krad.service.DataDictionaryService getDataDictionaryService() -
setDataDictionaryService
public void setDataDictionaryService(org.kuali.rice.krad.service.DataDictionaryService dataDictionaryService)
-