org.kuali.rice.krad.uif.service.impl
Class LookupViewTypeServiceImpl

java.lang.Object
  extended by org.kuali.rice.krad.uif.service.impl.LookupViewTypeServiceImpl
All Implemented Interfaces:
ViewTypeService

public class LookupViewTypeServiceImpl
extends Object
implements ViewTypeService

Type service implementation for Lookup views

Author:
Kuali Rice Team (rice.collab@kuali.org)

Constructor Summary
LookupViewTypeServiceImpl()
           
 
Method Summary
 Map<String,String> getParametersFromRequest(Map<String,String> requestParameters)
          Pulls entries from the given map that are supported parameters for the view type.
 Map<String,String> getParametersFromViewConfiguration(org.springframework.beans.PropertyValues propertyValues)
          Pulls values for the supported parameters from the views configured property values.
 UifConstants.ViewType getViewTypeName()
          Gives the view type name that is supported by the type service
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LookupViewTypeServiceImpl

public LookupViewTypeServiceImpl()
Method Detail

getViewTypeName

public UifConstants.ViewType getViewTypeName()
Description copied from interface: ViewTypeService
Gives the view type name that is supported by the type service

The name is used to associated a type (and thus a view type service) with a view instance through the view type name property. Thus must be unique among all view types implemented

Specified by:
getViewTypeName in interface ViewTypeService
Returns:
ViewType view type name
See Also:
ViewTypeService.getViewTypeName()

getParametersFromViewConfiguration

public Map<String,String> getParametersFromViewConfiguration(org.springframework.beans.PropertyValues propertyValues)
Description copied from interface: ViewTypeService
Pulls values for the supported parameters from the views configured property values. These name/value pairs are used to index the view for later retrieval

Specified by:
getParametersFromViewConfiguration in interface ViewTypeService
Parameters:
propertyValues - - property values configured on the view bean definition
Returns:
Map of parameters where map key is the parameter name, and the map value is the parameter value
See Also:
ViewTypeService.getParametersFromViewConfiguration(org.springframework.beans.PropertyValues)

getParametersFromRequest

public Map<String,String> getParametersFromRequest(Map<String,String> requestParameters)
Description copied from interface: ViewTypeService
Pulls entries from the given map that are supported parameters for the view type. In addition, defaults can be set or additional parameters set as needed. Used by the ViewService to retrieve a View instance based on the incoming request parameters

Specified by:
getParametersFromRequest in interface ViewTypeService
Parameters:
requestParameters - - Map of request parameters to pull view type parameters from
Returns:
Map of parameters where map key is the parameter name, and the map value is the parameter value
See Also:
ViewTypeService.getParametersFromRequest(java.util.Map)


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.