Class ViewServiceImpl

java.lang.Object
org.kuali.rice.krad.uif.service.impl.ViewServiceImpl
All Implemented Interfaces:
org.kuali.rice.krad.uif.service.ViewService

public class ViewServiceImpl extends Object implements 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 Details

    • ViewServiceImpl

      public ViewServiceImpl()
  • Method Details

    • getViewById

      public org.kuali.rice.krad.uif.view.View getViewById(String viewId)
      Specified by:
      getViewById in interface org.kuali.rice.krad.uif.service.ViewService
      See Also:
      • ViewService.getViewById(java.lang.String)
    • getViewByType

      public org.kuali.rice.krad.uif.view.View getViewByType(org.kuali.rice.krad.uif.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
      Specified by:
      getViewByType in interface org.kuali.rice.krad.uif.service.ViewService
      See Also:
      • ViewService.getViewByType(org.kuali.rice.krad.uif.UifConstants.ViewType, java.util.Map<java.lang.String,java.lang.String>)
    • getViewIdForViewType

      public String getViewIdForViewType(org.kuali.rice.krad.uif.UifConstants.ViewType viewType, Map<String,String> parameters)
      Specified by:
      getViewIdForViewType in interface org.kuali.rice.krad.uif.service.ViewService
      See Also:
      • ViewService.getViewIdForViewType(org.kuali.rice.krad.uif.UifConstants.ViewType, java.util.Map<java.lang.String,java.lang.String>)
    • getViewTypeService

      public org.kuali.rice.krad.uif.service.ViewTypeService getViewTypeService(org.kuali.rice.krad.uif.UifConstants.ViewType viewType)
      Specified by:
      getViewTypeService in interface org.kuali.rice.krad.uif.service.ViewService
    • getViewTypeServices

      public List<org.kuali.rice.krad.uif.service.ViewTypeService> 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)