public interface DataDictionaryMapper
Modifier and Type | Method and Description |
---|---|
Set<InactivationBlockingMetadata> |
getAllInactivationBlockingMetadatas(DataDictionaryIndex index,
Class<?> blockedClass) |
List<String> |
getBusinessObjectClassNames(DataDictionaryIndex index)
Deprecated.
|
Map<String,BusinessObjectEntry> |
getBusinessObjectEntries(DataDictionaryIndex index)
Deprecated.
|
BusinessObjectEntry |
getBusinessObjectEntry(DataDictionaryIndex index,
String className)
Deprecated.
|
BusinessObjectEntry |
getBusinessObjectEntryForConcreteClass(DataDictionaryIndex index,
String className)
Deprecated.
|
Map<String,DataObjectEntry> |
getDataObjectEntries(DataDictionaryIndex index) |
DataObjectEntry |
getDataObjectEntry(DataDictionaryIndex index,
String className) |
DataObjectEntry |
getDataObjectEntryForConcreteClass(DataDictionaryIndex index,
String className)
This method gets the DataOjectEntry (or subclass) for a concrete class
|
DataDictionaryEntry |
getDictionaryObjectEntry(DataDictionaryIndex index,
String className) |
Map<String,DocumentEntry> |
getDocumentEntries(DataDictionaryIndex index) |
DocumentEntry |
getDocumentEntry(DataDictionaryIndex index,
String documentTypeDDKey)
Returns the KNS document entry for the given lookup key.
|
String |
getDocumentTypeName(DataDictionaryIndex index,
String documentTypeName)
Returns mapped document type based on the given document type.
|
View |
getImmutableViewById(UifDictionaryIndex index,
String viewId)
Gets a view instance from the pool or factory but does not replace the view, meant for view readonly
access (not running the lifecycle but just checking configuration)
|
MaintenanceDocumentEntry |
getMaintenanceDocumentEntryForBusinessObjectClass(DataDictionaryIndex index,
Class<?> businessObjectClass)
Note: only MaintenanceDocuments are indexed by businessObject Class
This is a special case that is referenced in one location.
|
View |
getViewById(UifDictionaryIndex index,
String viewId)
Returns the View entry identified by the given id
|
View |
getViewByTypeIndex(UifDictionaryIndex index,
UifConstants.ViewType viewTypeName,
Map<String,String> indexKey)
Called to retrieve a
View instance that is of the given type
based on the index key |
String |
getViewIdByTypeIndex(UifDictionaryIndex index,
UifConstants.ViewType viewTypeName,
Map<String,String> indexKey)
Returns the view id for the view that matches the given view type and index
|
org.springframework.beans.PropertyValues |
getViewPropertiesById(UifDictionaryIndex index,
String viewId)
Retrieves the configured property values for the view bean definition associated with the given id
|
org.springframework.beans.PropertyValues |
getViewPropertiesByType(UifDictionaryIndex index,
UifConstants.ViewType viewTypeName,
Map<String,String> indexKey)
Retrieves the configured property values for the view bean definition associated with the given type and
index
|
List<View> |
getViewsForType(UifDictionaryIndex index,
UifConstants.ViewType viewTypeName)
Gets all
View prototypes configured for the given view type
name |
boolean |
viewByTypeExist(UifDictionaryIndex index,
UifConstants.ViewType viewTypeName,
Map<String,String> indexKey)
Indicates whether a
View exists for the given view type and index information |
@Deprecated BusinessObjectEntry getBusinessObjectEntryForConcreteClass(DataDictionaryIndex index, String className)
className
- DataObjectEntry getDataObjectEntryForConcreteClass(DataDictionaryIndex index, String className)
className
- @Deprecated List<String> getBusinessObjectClassNames(DataDictionaryIndex index)
@Deprecated BusinessObjectEntry getBusinessObjectEntry(DataDictionaryIndex index, String className)
className
- DataObjectEntry getDataObjectEntry(DataDictionaryIndex index, String className)
className
- @Deprecated Map<String,BusinessObjectEntry> getBusinessObjectEntries(DataDictionaryIndex index)
Map<String,DataObjectEntry> getDataObjectEntries(DataDictionaryIndex index)
DataDictionaryEntry getDictionaryObjectEntry(DataDictionaryIndex index, String className)
className
- DocumentEntry getDocumentEntry(DataDictionaryIndex index, String documentTypeDDKey)
documentTypeDDKey
- the KEW/workflow document type nameMaintenanceDocumentEntry getMaintenanceDocumentEntryForBusinessObjectClass(DataDictionaryIndex index, Class<?> businessObjectClass)
businessObjectClass
- Map<String,DocumentEntry> getDocumentEntries(DataDictionaryIndex index)
Set<InactivationBlockingMetadata> getAllInactivationBlockingMetadatas(DataDictionaryIndex index, Class<?> blockedClass)
String getDocumentTypeName(DataDictionaryIndex index, String documentTypeName)
index
- data dictionary indexdocumentTypeName
- document type name to check forView getViewById(UifDictionaryIndex index, String viewId)
index
- - the view dictionary indexviewId
- - unique id for viewView getImmutableViewById(UifDictionaryIndex index, String viewId)
index
- the view dictionary indexviewId
- the unique id for the viewView getViewByTypeIndex(UifDictionaryIndex index, UifConstants.ViewType viewTypeName, Map<String,String> indexKey)
View
instance that is of the given type
based on the index keyindex
- - the view dictionary indexviewTypeName
- - type name for the viewindexKey
- - Map of index key parameters, these are the parameters the
indexer used to index the view initially and needs to identify
an unique view instanceString getViewIdByTypeIndex(UifDictionaryIndex index, UifConstants.ViewType viewTypeName, Map<String,String> indexKey)
index
- the view dictionary indexviewTypeName
- type name for the viewindexKey
- Map of index key parameters, these are the parameters the
indexer used to index the view initially and needs to identify
an unique view instanceboolean viewByTypeExist(UifDictionaryIndex index, UifConstants.ViewType viewTypeName, Map<String,String> indexKey)
View
exists for the given view type and index informationindex
- - the view dictionary indexviewTypeName
- - type name for the viewindexKey
- - Map of index key parameters, these are the parameters the
indexer used to index the view initially and needs to identify
an unique view instanceList<View> getViewsForType(UifDictionaryIndex index, UifConstants.ViewType viewTypeName)
View
prototypes configured for the given view type
nameindex
- - the view dictionary indexviewTypeName
- - view type name to retrieveorg.springframework.beans.PropertyValues getViewPropertiesById(UifDictionaryIndex index, String viewId)
Since constructing the View object can be expensive, when metadata only is needed this method can be used to retrieve the configured property values. Note this looks at the merged bean definition
index
- - the view dictionary indexviewId
- - id for the view to retrieveorg.springframework.beans.PropertyValues getViewPropertiesByType(UifDictionaryIndex index, UifConstants.ViewType viewTypeName, Map<String,String> indexKey)
Since constructing the View object can be expensive, when metadata only is needed this method can be used to retrieve the configured property values. Note this looks at the merged bean definition
index
- - the view dictionary indexviewTypeName
- - type name for the viewindexKey
- - Map of index key parameters, these are the parameters the indexer used to index
the view initially and needs to identify an unique view instanceCopyright © 2005–2014 The Kuali Foundation. All rights reserved.