|
||||||||||
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 |
Map<String,DataObjectEntry> |
getDataObjectEntries(DataDictionaryIndex index)
|
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 |
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 Map<String,DataObjectEntry> getDataObjectEntries(DataDictionaryIndex index)
getDataObjectEntries
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)
getBusinessObjectEntryForConcreteClass
in interface DataDictionaryMapper
public DataDictionaryEntry getDictionaryObjectEntry(DataDictionaryIndex ddIndex, String className)
getDictionaryObjectEntry
in interface DataDictionaryMapper
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
index
- data dictionary indexdocumentTypeName
- document type name to check for
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
DataDictionaryMapper.getViewById(org.kuali.rice.krad.datadictionary.uif.UifDictionaryIndex,
java.lang.String)
public View getImmutableViewById(UifDictionaryIndex index, String viewId)
getImmutableViewById
in interface DataDictionaryMapper
index
- the view dictionary indexviewId
- the unique id for the view
public View getViewByTypeIndex(UifDictionaryIndex index, UifConstants.ViewType viewTypeName, Map<String,String> indexKey)
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
public String getViewIdByTypeIndex(UifDictionaryIndex index, UifConstants.ViewType viewTypeName, Map<String,String> indexKey)
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 instance
public boolean viewByTypeExist(UifDictionaryIndex index, UifConstants.ViewType viewTypeName, Map<String,String> indexKey)
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
public org.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
getViewPropertiesById
in interface DataDictionaryMapper
index
- - the view dictionary indexviewId
- - id for the view to retrieve
public org.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
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
public List<View> getViewsForType(UifDictionaryIndex index, UifConstants.ViewType viewTypeName)
View
prototypes configured for the given view type
name
getViewsForType
in interface DataDictionaryMapper
index
- - the view dictionary indexviewTypeName
- - view type name to retrieve
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |