|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ViewDictionaryService
Provides methods to query the dictionary meta-data for view entries and their corresponding component entries
Method Summary | |
---|---|
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 |
Method Detail |
---|
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 used
dataObjectClass
- - class for the inquiry data objectviewName
- - name of the inquiry view, can be blank in which case the
'default' name will be used
boolean isInquirable(Class<?> dataObjectClass)
InquiryView
configured and thus can have inquiry links built
dataObjectClass
- - object class to get inquiry view for
boolean isLookupable(Class<?> dataObjectClass)
LookupView
configured and thus can have quickfinders
associated with the class
dataObjectClass
- - object class to get lookup view for
boolean isMaintainable(Class<?> dataObjectClass)
MaintenanceDocumentView
configured
dataObjectClass
- - object class to get maintenance view for
Integer 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 ID
dataObjectClass
- - object class to get lookup view forform
- - the LookupForm
ViewSessionPolicy getViewSessionPolicy(String viewId)
ViewSessionPolicy
instance associated with the given view id
viewId
- id for the view whose session policy should be retrieved
boolean isSessionStorageEnabled(String viewId)
viewId
- id for the view to check
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |