public class DataDictionaryIndexMapper extends Object implements DataDictionaryMapper
| Constructor and Description |
|---|
DataDictionaryIndexMapper() |
| Modifier and Type | Method and Description |
|---|---|
Set<InactivationBlockingMetadata> |
getAllInactivationBlockingMetadatas(DataDictionaryIndex index,
Class<?> blockedClass) |
List<String> |
getBusinessObjectClassNames(DataDictionaryIndex index) |
Map<String,BusinessObjectEntry> |
getBusinessObjectEntries(DataDictionaryIndex index) |
BusinessObjectEntry |
getBusinessObjectEntry(DataDictionaryIndex index,
String className) |
BusinessObjectEntry |
getBusinessObjectEntryForConcreteClass(DataDictionaryIndex ddIndex,
String className)
This method gets the business object entry for a concrete class
|
DataObjectEntry |
getDataObjectEntry(DataDictionaryIndex index,
String className) |
DataObjectEntry |
getDataObjectEntryForConcreteClass(DataDictionaryIndex ddIndex,
String className)
This method gets the DataOjectEntry (or subclass) for a concrete class
|
DataDictionaryEntry |
getDictionaryObjectEntry(DataDictionaryIndex ddIndex,
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.
|
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 |
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 |
public DataDictionaryIndexMapper()
public Set<InactivationBlockingMetadata> getAllInactivationBlockingMetadatas(DataDictionaryIndex index, Class<?> blockedClass)
public List<String> getBusinessObjectClassNames(DataDictionaryIndex index)
getBusinessObjectClassNames in interface DataDictionaryMapperDataDictionaryMapper.getBusinessObjectClassNames(org.kuali.rice.krad.datadictionary.DataDictionaryIndex)public Map<String,BusinessObjectEntry> getBusinessObjectEntries(DataDictionaryIndex index)
getBusinessObjectEntries in interface DataDictionaryMapperDataDictionaryMapper.getBusinessObjectEntries(org.kuali.rice.krad.datadictionary.DataDictionaryIndex)public DataObjectEntry getDataObjectEntryForConcreteClass(DataDictionaryIndex ddIndex, String className)
DataDictionaryMappergetDataObjectEntryForConcreteClass in interface DataDictionaryMapperDataDictionaryMapper.getDataObjectEntryForConcreteClass(org.kuali.rice.krad.datadictionary.DataDictionaryIndex, java.lang.String)public BusinessObjectEntry getBusinessObjectEntryForConcreteClass(DataDictionaryIndex ddIndex, String className)
DataDictionaryMappergetBusinessObjectEntryForConcreteClass in interface DataDictionaryMapperorg.kuali.rice.krad.datadictionary.DataDictionaryMapper#getBusinessObjectEntryForConcreteClass(java.lang.String)public DataDictionaryEntry getDictionaryObjectEntry(DataDictionaryIndex ddIndex, String className)
getDictionaryObjectEntry in interface DataDictionaryMapperDataDictionaryMapper.getDictionaryObjectEntry(org.kuali.rice.krad.datadictionary.DataDictionaryIndex, java.lang.String)public DataObjectEntry getDataObjectEntry(DataDictionaryIndex index, String className)
getDataObjectEntry in interface DataDictionaryMapperDataDictionaryMapper.getDataObjectEntry(org.kuali.rice.krad.datadictionary.DataDictionaryIndex, java.lang.String)public BusinessObjectEntry getBusinessObjectEntry(DataDictionaryIndex index, String className)
getBusinessObjectEntry in interface DataDictionaryMapperpublic Map<String,DocumentEntry> getDocumentEntries(DataDictionaryIndex index)
getDocumentEntries in interface DataDictionaryMapperDataDictionaryMapper.getDocumentEntries(org.kuali.rice.krad.datadictionary.DataDictionaryIndex)public DocumentEntry getDocumentEntry(DataDictionaryIndex index, String documentTypeDDKey)
DataDictionaryMappergetDocumentEntry in interface DataDictionaryMapperdocumentTypeDDKey - the KEW/workflow document type nameDataDictionaryMapper.getDocumentEntry(org.kuali.rice.krad.datadictionary.DataDictionaryIndex, java.lang.String)public String getDocumentTypeName(DataDictionaryIndex index, String documentTypeName)
DataDictionaryMappergetDocumentTypeName in interface DataDictionaryMapperDataDictionaryMapper.getDocumentTypeName(org.kuali.rice.krad.datadictionary.DataDictionaryIndex, java.lang.String)public MaintenanceDocumentEntry getMaintenanceDocumentEntryForBusinessObjectClass(DataDictionaryIndex index, Class<?> businessObjectClass)
DataDictionaryMappergetMaintenanceDocumentEntryForBusinessObjectClass in interface DataDictionaryMapperDataDictionaryMapper.getMaintenanceDocumentEntryForBusinessObjectClass(org.kuali.rice.krad.datadictionary.DataDictionaryIndex, java.lang.Class)public View getViewById(UifDictionaryIndex index, String viewId)
DataDictionaryMappergetViewById in interface DataDictionaryMapperindex - - the view dictionary indexviewId - - unique id for vieworg.kuali.rice.krad.datadictionary.DataDictionaryMapper#getViewById(org.kuali.rice.krad.datadictionary.view.ViewDictionaryIndex,
java.lang.String)public View getViewByTypeIndex(UifDictionaryIndex index, UifConstants.ViewType viewTypeName, Map<String,String> indexKey)
DataDictionaryMapperView instance that is of the given type
based on the index keygetViewByTypeIndex in interface DataDictionaryMapperindex - - 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 instanceorg.kuali.rice.krad.datadictionary.DataDictionaryMapper#getViewByTypeIndex(UifDictionaryIndex,
java.lang.String, java.util.Map)public boolean viewByTypeExist(UifDictionaryIndex index, UifConstants.ViewType viewTypeName, Map<String,String> indexKey)
DataDictionaryMapperView exists for the given view type and index informationviewByTypeExist in interface DataDictionaryMapperindex - - 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 instanceorg.kuali.rice.krad.datadictionary.DataDictionaryIndexMapper#viewByTypeExist(UifDictionaryIndex,
java.lang.String, java.util.Map)public org.springframework.beans.PropertyValues getViewPropertiesById(UifDictionaryIndex index, String viewId)
DataDictionaryMapperSince 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
getViewPropertiesById in interface DataDictionaryMapperindex - - the view dictionary indexviewId - - id for the view to retrieveorg.kuali.rice.krad.datadictionary.DataDictionaryMapper#getViewPropertiesById(org.kuali.rice.krad.datadictionary.view.ViewDictionaryIndex,
java.lang.String)public org.springframework.beans.PropertyValues getViewPropertiesByType(UifDictionaryIndex index, UifConstants.ViewType viewTypeName, Map<String,String> indexKey)
DataDictionaryMapperSince 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
getViewPropertiesByType in interface DataDictionaryMapperindex - - 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 instanceorg.kuali.rice.krad.datadictionary.DataDictionaryIndexMapper#getViewPropertiesByType(UifDictionaryIndex,
java.lang.String, java.util.Map)public List<View> getViewsForType(UifDictionaryIndex index, UifConstants.ViewType viewTypeName)
DataDictionaryMapperView prototypes configured for the given view type
namegetViewsForType in interface DataDictionaryMapperindex - - the view dictionary indexviewTypeName - - view type name to retrieveorg.kuali.rice.krad.datadictionary.DataDictionaryMapper#getViewsForType(UifDictionaryIndex,
java.lang.String)Copyright © 2005–2016 The Kuali Foundation. All rights reserved.