public interface ViewDictionaryService
Modifier and Type | Method and Description |
---|---|
Inquirable |
getInquirable(Class<?> dataObjectClass,
String viewName)
Queries the dictionary to find the
InquiryView configured
for the data object class and returns the configured Inquirable for the
view. |
Integer |
getResultSetLimitForLookup(Class<?> dataObjectClass,
LookupForm form)
Attempts to find an associated
LookupView for the
given data object class and if found returns the configured result
set limit, if multiple lookup views are found the default is used
unless the specific view can be found by view ID |
ViewSessionPolicy |
getViewSessionPolicy(String viewId)
Retrieves the
ViewSessionPolicy instance associated with the given view id |
boolean |
isInquirable(Class<?> dataObjectClass)
Indicates whether the given data object class has an associated
InquiryView configured and thus can have inquiry links built |
boolean |
isLookupable(Class<?> dataObjectClass)
Indicates whether the given data object class has an associated
LookupView configured and thus can have quickfinders
associated with the class |
boolean |
isMaintainable(Class<?> dataObjectClass)
Indicates whether the given data object class has an associated
MaintenanceDocumentView configured |
boolean |
isSessionStorageEnabled(String viewId)
Indicates whether session storage is enabled for the view associated with the given id
|
Inquirable getInquirable(Class<?> dataObjectClass, String viewName)
InquiryView
configured
for the data object class and returns the configured Inquirable for the
view. If more than one inquiry view exists for the data object class, the
one that matches the given viewName, or the default if viewName is blank
is useddataObjectClass
- - class for the inquiry data objectviewName
- - name of the inquiry view, can be blank in which case the
'default' name will be usedboolean isInquirable(Class<?> dataObjectClass)
InquiryView
configured and thus can have inquiry links builtdataObjectClass
- - object class to get inquiry view forboolean isLookupable(Class<?> dataObjectClass)
LookupView
configured and thus can have quickfinders
associated with the classdataObjectClass
- - object class to get lookup view forboolean isMaintainable(Class<?> dataObjectClass)
MaintenanceDocumentView
configureddataObjectClass
- - object class to get maintenance view forInteger getResultSetLimitForLookup(Class<?> dataObjectClass, LookupForm form)
LookupView
for the
given data object class and if found returns the configured result
set limit, if multiple lookup views are found the default is used
unless the specific view can be found by view IDdataObjectClass
- - object class to get lookup view forform
- - the LookupFormViewSessionPolicy getViewSessionPolicy(String viewId)
ViewSessionPolicy
instance associated with the given view idviewId
- id for the view whose session policy should be retrievedboolean isSessionStorageEnabled(String viewId)
viewId
- id for the view to checkCopyright © 2005–2014 The Kuali Foundation. All rights reserved.