|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.krad.uif.service.impl.ViewServiceImpl
public class ViewServiceImpl
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
| Constructor Summary | |
|---|---|
ViewServiceImpl()
|
|
| Method Summary | |
|---|---|
protected DataDictionaryService |
getDataDictionaryService()
|
View |
getViewById(String viewId)
Returns the View entry identified by the given id |
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)
Retrieves the view id for the view associated with the given view type and view type parameters |
ViewTypeService |
getViewTypeService(UifConstants.ViewType viewType)
|
List<ViewTypeService> |
getViewTypeServices()
|
void |
setDataDictionaryService(DataDictionaryService dataDictionaryService)
|
void |
setViewTypeServices(List<ViewTypeService> viewTypeServices)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ViewServiceImpl()
| Method Detail |
|---|
public View getViewById(String viewId)
ViewServiceView entry identified by the given id
The id matches the id configured for the View through the dictionary. A new view instance is returned that is in the created state
getViewById in interface ViewServiceviewId - - unique id for view configured on its definition
ViewService.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 index
getViewByType in interface ViewServiceviewType - - name that identifies the view typeparameters - - Map of parameter key/value pairs that are used to select the
view, the parameters allowed depend on the view type
org.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)
ViewService
getViewIdForViewType in interface ViewServiceviewType - name that identifies the view typeparameters - Map of parameter key/value pairs that are used to select the
view, the parameters allowed depend on the view type
org.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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||