public class TestDataDictionaryService extends Object implements DataDictionaryService
Constructor and Description |
---|
TestDataDictionaryService() |
public TestDataDictionaryService()
public void setDataDictionary(DataDictionary dataDictionary)
dataDictionary
- the dataDictionary to setpublic void setAdditionalDictionaryFiles(Map<String,List<String>> additionalDictionaryFiles) throws IOException
setAdditionalDictionaryFiles
in interface DataDictionaryService
IOException
DataDictionaryService.setAdditionalDictionaryFiles(java.util.Map)
public void addDataDictionaryLocations(String namespaceCode, List<String> locations) throws IOException
addDataDictionaryLocations
in interface DataDictionaryService
IOException
DataDictionaryService.addDataDictionaryLocations(java.lang.String, java.util.List)
public DataDictionary getDataDictionary()
getDataDictionary
in interface DataDictionaryService
DataDictionaryService.getDataDictionary()
public ControlDefinition getAttributeControlDefinition(String entryName, String attributeName)
getAttributeControlDefinition
in interface DataDictionaryService
org.kuali.rice.krad.service.DataDictionaryService#getAttributeControlDefinition(java.lang.String)
public Integer getAttributeSize(String entryName, String attributeName)
getAttributeSize
in interface DataDictionaryService
org.kuali.rice.krad.service.DataDictionaryService#getAttributeSize(java.lang.String)
public Integer getAttributeMinLength(String entryName, String attributeName)
getAttributeMinLength
in interface DataDictionaryService
org.kuali.rice.krad.service.DataDictionaryService#getAttributeMinLength(java.lang.String)
public Integer getAttributeMaxLength(String entryName, String attributeName)
getAttributeMaxLength
in interface DataDictionaryService
org.kuali.rice.krad.service.DataDictionaryService#getAttributeMaxLength(java.lang.String)
public String getAttributeExclusiveMin(String entryName, String attributeName)
getAttributeExclusiveMin
in interface DataDictionaryService
DataDictionaryService.getAttributeExclusiveMin(java.lang.String, java.lang.String)
public String getAttributeInclusiveMax(String entryName, String attributeName)
getAttributeInclusiveMax
in interface DataDictionaryService
DataDictionaryService.getAttributeInclusiveMax(java.lang.String, java.lang.String)
public Pattern getAttributeValidatingExpression(String entryName, String attributeName)
getAttributeValidatingExpression
in interface DataDictionaryService
org.kuali.rice.krad.service.DataDictionaryService#getAttributeValidatingExpression(java.lang.String)
public String getAttributeLabel(String entryName, String attributeName)
getAttributeLabel
in interface DataDictionaryService
org.kuali.rice.krad.service.DataDictionaryService#getAttributeLabel(java.lang.String)
public String getAttributeShortLabel(String entryName, String attributeName)
getAttributeShortLabel
in interface DataDictionaryService
org.kuali.rice.krad.service.DataDictionaryService#getAttributeShortLabel(java.lang.String)
public String getAttributeErrorLabel(String entryName, String attributeName)
getAttributeErrorLabel
in interface DataDictionaryService
org.kuali.rice.krad.service.DataDictionaryService#getAttributeErrorLabel(java.lang.String)
public Class<? extends Formatter> getAttributeFormatter(String entryName, String attributeName)
getAttributeFormatter
in interface DataDictionaryService
org.kuali.rice.krad.service.DataDictionaryService#getAttributeFormatter(java.lang.String)
public Boolean getAttributeForceUppercase(String entryName, String attributeName) throws UnknownBusinessClassAttributeException
getAttributeForceUppercase
in interface DataDictionaryService
UnknownBusinessClassAttributeException
org.kuali.rice.krad.service.DataDictionaryService#getAttributeForceUppercase(java.lang.String)
public AttributeSecurity getAttributeSecurity(String entryName, String attributeName)
getAttributeSecurity
in interface DataDictionaryService
org.kuali.rice.krad.service.DataDictionaryService#getAttributeDisplayMask(java.lang.String, java.lang.String)
public String getAttributeSummary(String entryName, String attributeName)
getAttributeSummary
in interface DataDictionaryService
org.kuali.rice.krad.service.DataDictionaryService#getAttributeSummary(java.lang.String)
public String getAttributeDescription(String entryName, String attributeName)
getAttributeDescription
in interface DataDictionaryService
org.kuali.rice.krad.service.DataDictionaryService#getAttributeDescription(java.lang.String)
public Boolean isAttributeRequired(String entryName, String attributeName)
isAttributeRequired
in interface DataDictionaryService
DataDictionaryService.isAttributeRequired(java.lang.Class, java.lang.String)
public Boolean isAttributeDefined(String entryName, String attributeName)
isAttributeDefined
in interface DataDictionaryService
DataDictionaryService.isAttributeDefined(java.lang.Class, java.lang.String)
public Class<? extends KeyValuesFinder> getAttributeValuesFinderClass(String entryName, String attributeName)
getAttributeValuesFinderClass
in interface DataDictionaryService
org.kuali.rice.krad.service.DataDictionaryService#getAttributeValuesScopeId(java.lang.Class,
java.lang.String)
public String getCollectionLabel(String entryName, String collectionName)
getCollectionLabel
in interface DataDictionaryService
DataDictionaryService.getCollectionLabel(java.lang.Class, java.lang.String)
public String getCollectionShortLabel(String entryName, String collectionName)
getCollectionShortLabel
in interface DataDictionaryService
DataDictionaryService.getCollectionShortLabel(java.lang.Class, java.lang.String)
public String getCollectionElementLabel(String entryName, String collectionName, Class dataObjectClass)
getCollectionElementLabel
in interface DataDictionaryService
org.kuali.rice.krad.service.DataDictionaryService#getCollectionElementLabel(java.lang.Class,
java.lang.String)
public String getCollectionSummary(String entryName, String collectionName)
getCollectionSummary
in interface DataDictionaryService
DataDictionaryService.getCollectionSummary(java.lang.Class, java.lang.String)
public String getCollectionDescription(String entryName, String collectionName)
getCollectionDescription
in interface DataDictionaryService
DataDictionaryService.getCollectionDescription(java.lang.Class,
java.lang.String)
public Class<? extends BusinessObject> getRelationshipSourceClass(String entryName, String relationshipName)
getRelationshipSourceClass
in interface DataDictionaryService
public Class<? extends BusinessObject> getRelationshipTargetClass(String entryName, String relationshipName)
getRelationshipTargetClass
in interface DataDictionaryService
public List<String> getRelationshipSourceAttributes(String entryName, String relationshipName)
getRelationshipSourceAttributes
in interface DataDictionaryService
public List<String> getRelationshipTargetAttributes(String entryName, String relationshipName)
getRelationshipTargetAttributes
in interface DataDictionaryService
public List<String> getRelationshipEntriesForSourceAttribute(String entryName, String sourceAttributeName)
getRelationshipEntriesForSourceAttribute
in interface DataDictionaryService
public List<String> getRelationshipEntriesForTargetAttribute(String entryName, String targetAttributeName)
getRelationshipEntriesForTargetAttribute
in interface DataDictionaryService
public AttributeDefinition getAttributeDefinition(String entryName, String attributeName)
getAttributeDefinition
in interface DataDictionaryService
entryName
- - the qualified object name e.g. edu.sampleu.demo.kitchensink.TimeInfoattributeName
- - an attribute name e.g. startTimeAmPmIllegalArgumentException
- if the given Class is null or is not a BusinessObject classpublic Map<String,String> getRelationshipAttributeMap(String entryName, String relationshipName)
getRelationshipAttributeMap
in interface DataDictionaryService
DataDictionaryService.getRelationshipAttributeMap(java.lang.String, java.lang.String)
public boolean hasRelationship(String entryName, String relationshipName)
hasRelationship
in interface DataDictionaryService
public List<String> getRelationshipNames(String entryName)
getRelationshipNames
in interface DataDictionaryService
public ControlDefinition getAttributeControlDefinition(Class dataObjectClass, String attributeName)
getAttributeControlDefinition
in interface DataDictionaryService
DataDictionaryService.getAttributeControlDefinition(java.lang.String, java.lang.String)
public String getAttributeDescription(Class dataObjectClass, String attributeName)
getAttributeDescription
in interface DataDictionaryService
DataDictionaryService.getAttributeDescription(java.lang.String, java.lang.String)
public Boolean getAttributeForceUppercase(Class dataObjectClass, String attributeName)
getAttributeForceUppercase
in interface DataDictionaryService
DataDictionaryService.getAttributeForceUppercase(java.lang.String, java.lang.String)
public Class<? extends Formatter> getAttributeFormatter(Class dataObjectClass, String attributeName)
getAttributeFormatter
in interface DataDictionaryService
DataDictionaryService.getAttributeFormatter(java.lang.String, java.lang.String)
public String getAttributeLabel(Class dataObjectClass, String attributeName)
getAttributeLabel
in interface DataDictionaryService
DataDictionaryService.getAttributeLabel(java.lang.String, java.lang.String)
public Integer getAttributeMaxLength(Class dataObjectClass, String attributeName)
getAttributeMaxLength
in interface DataDictionaryService
DataDictionaryService.getAttributeMaxLength(java.lang.String, java.lang.String)
public String getAttributeShortLabel(Class dataObjectClass, String attributeName)
getAttributeShortLabel
in interface DataDictionaryService
DataDictionaryService.getAttributeShortLabel(java.lang.String, java.lang.String)
public String getAttributeErrorLabel(Class dataObjectClass, String attributeName)
getAttributeErrorLabel
in interface DataDictionaryService
DataDictionaryService.getAttributeErrorLabel(java.lang.String, java.lang.String)
public Integer getAttributeSize(Class dataObjectClass, String attributeName)
getAttributeSize
in interface DataDictionaryService
DataDictionaryService.getAttributeSize(java.lang.String, java.lang.String)
public String getAttributeSummary(Class dataObjectClass, String attributeName)
getAttributeSummary
in interface DataDictionaryService
DataDictionaryService.getAttributeSummary(java.lang.String, java.lang.String)
public Pattern getAttributeValidatingExpression(Class dataObjectClass, String attributeName)
getAttributeValidatingExpression
in interface DataDictionaryService
DataDictionaryService.getAttributeValidatingExpression(java.lang.String, java.lang.String)
public Class getAttributeValuesFinderClass(Class dataObjectClass, String attributeName)
getAttributeValuesFinderClass
in interface DataDictionaryService
DataDictionaryService.getAttributeValuesFinderClass(java.lang.String, java.lang.String)
public String getAttributeValidatingErrorMessageKey(String entryName, String attributeName)
public String[] getAttributeValidatingErrorMessageParameters(String entryName, String attributeName)
public String getCollectionDescription(Class dataObjectClass, String collectionName)
getCollectionDescription
in interface DataDictionaryService
DataDictionaryService.getCollectionDescription(java.lang.String, java.lang.String)
public String getCollectionLabel(Class dataObjectClass, String collectionName)
getCollectionLabel
in interface DataDictionaryService
DataDictionaryService.getCollectionLabel(java.lang.String, java.lang.String)
public String getCollectionShortLabel(Class dataObjectClass, String collectionName)
getCollectionShortLabel
in interface DataDictionaryService
DataDictionaryService.getCollectionShortLabel(java.lang.String, java.lang.String)
public String getCollectionSummary(Class dataObjectClass, String collectionName)
getCollectionSummary
in interface DataDictionaryService
DataDictionaryService.getCollectionSummary(java.lang.String, java.lang.String)
public Boolean isAttributeDefined(Class dataObjectClass, String attributeName)
isAttributeDefined
in interface DataDictionaryService
DataDictionaryService.isAttributeDefined(java.lang.String, java.lang.String)
public Boolean isAttributeRequired(Class dataObjectClass, String attributeName)
isAttributeRequired
in interface DataDictionaryService
DataDictionaryService.isAttributeRequired(java.lang.String, java.lang.String)
public String getDocumentLabelByClass(Class documentOrBusinessObjectClass)
getDocumentLabelByClass
in interface DataDictionaryService
DataDictionaryService.getDocumentLabelByClass(java.lang.Class)
public String getDocumentLabelByTypeName(String documentTypeName)
getDocumentLabelByTypeName
in interface DataDictionaryService
DataDictionaryService.getDocumentLabelByTypeName(java.lang.String)
public String getDocumentTypeNameByClass(Class documentClass)
getDocumentTypeNameByClass
in interface DataDictionaryService
DataDictionaryService.getDocumentTypeNameByClass(java.lang.Class)
public String getValidDocumentTypeNameByClass(Class documentClass)
getValidDocumentTypeNameByClass
in interface DataDictionaryService
DataDictionaryService.getValidDocumentTypeNameByClass(java.lang.Class)
public Class<? extends Document> getDocumentClassByTypeName(String documentTypeName)
getDocumentClassByTypeName
in interface DataDictionaryService
DataDictionaryService.getDocumentClassByTypeName(java.lang.String)
public Class<? extends Document> getValidDocumentClassByTypeName(String documentTypeName)
getValidDocumentClassByTypeName
in interface DataDictionaryService
DataDictionaryService.getValidDocumentClassByTypeName(java.lang.String)
public View getViewById(String viewId)
getViewById
in interface DataDictionaryService
DataDictionaryService.getViewById(java.lang.String)
public Object getDictionaryBean(String id)
getDictionaryBean
in interface DataDictionaryService
DataDictionaryService.getDictionaryBean(java.lang.String)
public boolean containsDictionaryBean(String id)
containsDictionaryBean
in interface DataDictionaryService
DataDictionaryService.containsDictionaryBean(java.lang.String)
public Object getDictionaryBeanProperty(String beanName, String propertyName)
getDictionaryBeanProperty
in interface DataDictionaryService
public View getViewByTypeIndex(UifConstants.ViewType viewTypeName, Map<String,String> indexKey)
getViewByTypeIndex
in interface DataDictionaryService
org.kuali.rice.krad.service.DataDictionaryService#getViewByTypeIndex(java.lang.String,
java.util.Map)
public String getViewIdByTypeIndex(UifConstants.ViewType viewTypeName, Map<String,String> indexKey)
getViewIdByTypeIndex
in interface DataDictionaryService
org.kuali.rice.krad.service.DataDictionaryService#getViewIdByTypeIndex(org.kuali.rice.krad.uif.UifConstants.ViewType,
java.util.Map)
public List<String> getGroupByAttributesForEffectiveDating(Class dataObjectClass)
getGroupByAttributesForEffectiveDating
in interface DataDictionaryService
DataDictionaryService.getGroupByAttributesForEffectiveDating(java.lang.Class)
public Set<InactivationBlockingMetadata> getAllInactivationBlockingDefinitions(Class inactivationBlockedBusinessObjectClass)
getAllInactivationBlockingDefinitions
in interface DataDictionaryService
DataDictionaryService.getAllInactivationBlockingDefinitions(java.lang.Class)
public Map<Class<?>,String> getPropertyEditorMap()
getPropertyEditorMap
in interface DataDictionaryService
public void setPropertyEditorMap(Map<Class<?>,String> propertyEditorMap)
propertyEditorMap
- mapping from property type to property editorgetPropertyEditorMap()
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.