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.
|
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 |
public DataDictionaryIndexMapper()
public Set<InactivationBlockingMetadata> getAllInactivationBlockingMetadatas(DataDictionaryIndex index, Class<?> blockedClass)
public List<String> getBusinessObjectClassNames(DataDictionaryIndex index)
getBusinessObjectClassNames
in interface DataDictionaryMapper
DataDictionaryMapper.getBusinessObjectClassNames(org.kuali.rice.krad.datadictionary.DataDictionaryIndex)
public Map<String,BusinessObjectEntry> getBusinessObjectEntries(DataDictionaryIndex index)
getBusinessObjectEntries
in interface DataDictionaryMapper
DataDictionaryMapper.getBusinessObjectEntries(org.kuali.rice.krad.datadictionary.DataDictionaryIndex)
public DataObjectEntry getDataObjectEntryForConcreteClass(DataDictionaryIndex ddIndex, String className)
DataDictionaryMapper
getDataObjectEntryForConcreteClass
in interface DataDictionaryMapper
DataDictionaryMapper.getDataObjectEntryForConcreteClass(org.kuali.rice.krad.datadictionary.DataDictionaryIndex,
java.lang.String)
public BusinessObjectEntry getBusinessObjectEntryForConcreteClass(DataDictionaryIndex ddIndex, String className)
DataDictionaryMapper
getBusinessObjectEntryForConcreteClass
in interface DataDictionaryMapper
org.kuali.rice.krad.datadictionary.DataDictionaryMapper#getBusinessObjectEntryForConcreteClass(java.lang.String)
public DataDictionaryEntry getDictionaryObjectEntry(DataDictionaryIndex ddIndex, String className)
getDictionaryObjectEntry
in interface DataDictionaryMapper
DataDictionaryMapper.getDictionaryObjectEntry(org.kuali.rice.krad.datadictionary.DataDictionaryIndex,
java.lang.String)
public DataObjectEntry getDataObjectEntry(DataDictionaryIndex index, String className)
getDataObjectEntry
in interface DataDictionaryMapper
DataDictionaryMapper.getDataObjectEntry(org.kuali.rice.krad.datadictionary.DataDictionaryIndex,
java.lang.String)
public BusinessObjectEntry getBusinessObjectEntry(DataDictionaryIndex index, String className)
getBusinessObjectEntry
in interface DataDictionaryMapper
public Map<String,DocumentEntry> getDocumentEntries(DataDictionaryIndex index)
getDocumentEntries
in interface DataDictionaryMapper
DataDictionaryMapper.getDocumentEntries(org.kuali.rice.krad.datadictionary.DataDictionaryIndex)
public DocumentEntry getDocumentEntry(DataDictionaryIndex index, String documentTypeDDKey)
DataDictionaryMapper
getDocumentEntry
in interface DataDictionaryMapper
documentTypeDDKey
- the KEW/workflow document type nameDataDictionaryMapper.getDocumentEntry(org.kuali.rice.krad.datadictionary.DataDictionaryIndex,
java.lang.String)
public String getDocumentTypeName(DataDictionaryIndex index, String documentTypeName)
DataDictionaryMapper
getDocumentTypeName
in interface DataDictionaryMapper
DataDictionaryMapper.getDocumentTypeName(org.kuali.rice.krad.datadictionary.DataDictionaryIndex,
java.lang.String)
public MaintenanceDocumentEntry getMaintenanceDocumentEntryForBusinessObjectClass(DataDictionaryIndex index, Class<?> businessObjectClass)
DataDictionaryMapper
getMaintenanceDocumentEntryForBusinessObjectClass
in interface DataDictionaryMapper
DataDictionaryMapper.getMaintenanceDocumentEntryForBusinessObjectClass(org.kuali.rice.krad.datadictionary.DataDictionaryIndex,
java.lang.Class)
public View getViewById(UifDictionaryIndex index, String viewId)
DataDictionaryMapper
getViewById
in interface DataDictionaryMapper
index
- - the view dictionary indexviewId
- - unique id for viewDataDictionaryMapper.getViewById(org.kuali.rice.krad.datadictionary.uif.UifDictionaryIndex,
java.lang.String)
public View getImmutableViewById(UifDictionaryIndex index, String viewId)
DataDictionaryMapper
getImmutableViewById
in interface DataDictionaryMapper
index
- the view dictionary indexviewId
- the unique id for the viewDataDictionaryMapper.getImmutableViewById(org.kuali.rice.krad.datadictionary.uif.UifDictionaryIndex,
java.lang.String)
public View getViewByTypeIndex(UifDictionaryIndex index, UifConstants.ViewType viewTypeName, Map<String,String> indexKey)
DataDictionaryMapper
View
instance that is of the given type
based on the index keygetViewByTypeIndex
in interface DataDictionaryMapper
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 instanceorg.kuali.rice.krad.datadictionary.DataDictionaryMapper#getViewByTypeIndex(UifDictionaryIndex,
java.lang.String, java.util.Map)
public String getViewIdByTypeIndex(UifDictionaryIndex index, UifConstants.ViewType viewTypeName, Map<String,String> indexKey)
DataDictionaryMapper
getViewIdByTypeIndex
in interface DataDictionaryMapper
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 instanceDataDictionaryMapper#getViewByTypeIndex(org.kuali.rice.krad.datadictionary.uif.UifDictionaryIndex,
org.kuali.rice.krad.uif.UifConstants.ViewType, java.util.Map)
public boolean viewByTypeExist(UifDictionaryIndex index, UifConstants.ViewType viewTypeName, Map<String,String> indexKey)
DataDictionaryMapper
View
exists for the given view type and index informationviewByTypeExist
in interface DataDictionaryMapper
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 instanceorg.kuali.rice.krad.datadictionary.DataDictionaryIndexMapper#viewByTypeExist(UifDictionaryIndex,
java.lang.String, java.util.Map)
public org.springframework.beans.PropertyValues getViewPropertiesById(UifDictionaryIndex index, String viewId)
DataDictionaryMapper
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
getViewPropertiesById
in interface DataDictionaryMapper
index
- - 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)
DataDictionaryMapper
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
getViewPropertiesByType
in interface DataDictionaryMapper
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 instanceorg.kuali.rice.krad.datadictionary.DataDictionaryIndexMapper#getViewPropertiesByType(UifDictionaryIndex,
java.lang.String, java.util.Map)
public List<View> getViewsForType(UifDictionaryIndex index, UifConstants.ViewType viewTypeName)
DataDictionaryMapper
View
prototypes configured for the given view type
namegetViewsForType
in interface DataDictionaryMapper
index
- - 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.