public interface ViewTypeService
View instance of certain types
The type service is invoked to handle type parameters that can be used for additional indexing of views and retrieval.
As the view dictionary entries are indexed the associated view type will be
retrieved and if there is an associated ViewTypeService it will
be invoked to provide parameter information for further indexing. This is
useful to index a view based on other properties, like a class name.
| Modifier and Type | Method and Description |
|---|---|
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
|
UifConstants.ViewType getViewTypeName()
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
Map<String,String> getParametersFromViewConfiguration(org.springframework.beans.PropertyValues propertyValues)
propertyValues - - property values configured on the view bean definitionMap<String,String> getParametersFromRequest(Map<String,String> requestParameters)
ViewService to retrieve a
View instance based on the incoming request parametersrequestParameters - - Map of request parameters to pull view type parameters fromCopyright © 2005–2016 The Kuali Foundation. All rights reserved.