org.kuali.rice.krad.uif.util
Class TestViewDictionaryService

java.lang.Object
  extended by org.kuali.rice.krad.uif.util.TestViewDictionaryService
All Implemented Interfaces:
ViewDictionaryService

public class TestViewDictionaryService
extends Object
implements ViewDictionaryService

Provides basic view dictionary service functionality for unit tests.

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

Constructor Summary
TestViewDictionaryService()
           
 
Method Summary
 Inquirable getInquirable(Class<?> dataObjectClass, String viewName)
           
 Integer getResultSetLimitForLookup(Class<?> dataObjectClass, LookupForm form)
           
 ViewSessionPolicy getViewSessionPolicy(String viewId)
           
 boolean isInquirable(Class<?> dataObjectClass)
           
 boolean isLookupable(Class<?> dataObjectClass)
           
 boolean isMaintainable(Class<?> dataObjectClass)
           
 boolean isSessionStorageEnabled(String viewId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestViewDictionaryService

public TestViewDictionaryService()
Method Detail

getInquirable

public Inquirable getInquirable(Class<?> dataObjectClass,
                                String viewName)
Specified by:
getInquirable in interface ViewDictionaryService
See Also:
ViewDictionaryService.getInquirable(java.lang.Class, java.lang.String)

isInquirable

public boolean isInquirable(Class<?> dataObjectClass)
Specified by:
isInquirable in interface ViewDictionaryService
See Also:
ViewDictionaryService.isInquirable(java.lang.Class)

isLookupable

public boolean isLookupable(Class<?> dataObjectClass)
Specified by:
isLookupable in interface ViewDictionaryService
See Also:
ViewDictionaryService.isLookupable(java.lang.Class)

isMaintainable

public boolean isMaintainable(Class<?> dataObjectClass)
Specified by:
isMaintainable in interface ViewDictionaryService
See Also:
ViewDictionaryService.isMaintainable(java.lang.Class)

getResultSetLimitForLookup

public Integer getResultSetLimitForLookup(Class<?> dataObjectClass,
                                          LookupForm form)
Specified by:
getResultSetLimitForLookup in interface ViewDictionaryService
See Also:
org.kuali.rice.krad.uif.service.ViewDictionaryService#getResultSetLimitForLookup(java.lang.Class, org.kuali.rice.krad.web.form.LookupForm)

getViewSessionPolicy

public ViewSessionPolicy getViewSessionPolicy(String viewId)
Specified by:
getViewSessionPolicy in interface ViewDictionaryService
See Also:
ViewDictionaryService.getViewSessionPolicy(java.lang.String)

isSessionStorageEnabled

public boolean isSessionStorageEnabled(String viewId)
Specified by:
isSessionStorageEnabled in interface ViewDictionaryService
See Also:
ViewDictionaryService.isSessionStorageEnabled(java.lang.String)


Copyright © 2005–2014 The Kuali Foundation. All rights reserved.