|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.datadictionary.DataDictionaryIndexMapper
public class DataDictionaryIndexMapper
A DataDictionaryMapper that simply consults the statically initialized DataDictionaryIndex mappings
Constructor Summary | |
---|---|
DataDictionaryIndexMapper()
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataDictionaryIndexMapper()
Method Detail |
---|
public Set<InactivationBlockingMetadata> getAllInactivationBlockingMetadatas(DataDictionaryIndex index, Class<?> blockedClass)
getAllInactivationBlockingMetadatas
in interface DataDictionaryMapper
DataDictionaryMapper.getAllInactivationBlockingMetadatas(org.kuali.rice.krad.datadictionary.DataDictionaryIndex,
java.lang.Class)
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 name
DataDictionaryMapper.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 view
org.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)
DataDictionaryMapper
View
instance that is of the given type
based on the index key
getViewByTypeIndex
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 instance
org.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)
DataDictionaryMapper
View
exists for the given view type and index information
viewByTypeExist
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 instance
org.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 retrieve
org.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 instance
org.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
name
getViewsForType
in interface DataDictionaryMapper
index
- - the view dictionary indexviewTypeName
- - view type name to retrieve
org.kuali.rice.krad.datadictionary.DataDictionaryMapper#getViewsForType(UifDictionaryIndex,
java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |