|
||||||||||
| 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.ViewDictionaryServiceImpl
public class ViewDictionaryServiceImpl
Implementation of ViewDictionaryService
Pulls view entries from the data dictionary to implement the various query methods
| Constructor Summary | |
|---|---|
ViewDictionaryServiceImpl()
|
|
| Method Summary | |
|---|---|
protected DataDictionary |
getDataDictionary()
|
protected DataDictionaryService |
getDataDictionaryService()
|
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)
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 |
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 MaintenanceView configured |
void |
setDataDictionaryService(DataDictionaryService dataDictionaryService)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ViewDictionaryServiceImpl()
| Method Detail |
|---|
public Inquirable getInquirable(Class<?> dataObjectClass,
String viewName)
ViewDictionaryServiceInquiryView 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 used
getInquirable in interface ViewDictionaryServicedataObjectClass - - class for the inquiry data objectviewName - - name of the inquiry view, can be blank in which case the
'default' name will be used
ViewDictionaryService.getInquirable(java.lang.Class,
java.lang.String)public boolean isInquirable(Class<?> dataObjectClass)
ViewDictionaryServiceInquiryView configured and thus can have inquiry links built
isInquirable in interface ViewDictionaryServicedataObjectClass - - object class to get inquiry view for
ViewDictionaryService.isInquirable(java.lang.Class)public boolean isLookupable(Class<?> dataObjectClass)
ViewDictionaryServiceLookupView configured and thus can have quickfinders
associated with the class
isLookupable in interface ViewDictionaryServicedataObjectClass - - object class to get lookup view for
ViewDictionaryService.isLookupable(java.lang.Class)public boolean isMaintainable(Class<?> dataObjectClass)
ViewDictionaryServiceMaintenanceView configured
isMaintainable in interface ViewDictionaryServicedataObjectClass - - object class to get maintenance view for
ViewDictionaryService.isMaintainable(java.lang.Class)public Integer getResultSetLimitForLookup(Class<?> dataObjectClass)
ViewDictionaryServiceLookupView 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
getResultSetLimitForLookup in interface ViewDictionaryServicedataObjectClass - - object class to get lookup view for
org.kuali.rice.krad.uif.service.impl.ViewDictionaryService#getResultSetLimitForLookup(java.lang.Class)protected DataDictionary getDataDictionary()
protected DataDictionaryService getDataDictionaryService()
public void setDataDictionaryService(DataDictionaryService dataDictionaryService)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||