@Deprecated public class DataDictionaryTypeServiceBase extends Object implements org.kuali.rice.kim.framework.type.KimTypeService
KimTypeService implementations which read attribute-related information from the Data
Dictionary. This implementation is currently written against the KNS apis for Data Dictionary. Additionally, it
supports the ability to read non-Data Dictionary attribute information from the KimTypeInfoService.| Modifier and Type | Class and Description |
|---|---|
protected static class |
DataDictionaryTypeServiceBase.KimTypeAttributeException
Deprecated.
|
protected static class |
DataDictionaryTypeServiceBase.KimTypeAttributeValidationException
Deprecated.
|
| Modifier and Type | Field and Description |
|---|---|
protected static String |
COMMA_SEPARATOR
Deprecated.
|
| Constructor and Description |
|---|
DataDictionaryTypeServiceBase()
Deprecated.
|
protected static final String COMMA_SEPARATOR
public DataDictionaryTypeServiceBase()
public String getWorkflowDocumentTypeName()
getWorkflowDocumentTypeName in interface org.kuali.rice.kim.framework.type.KimTypeServicepublic List<String> getWorkflowRoutingAttributes(String routeLevel)
getWorkflowRoutingAttributes in interface org.kuali.rice.kim.framework.type.KimTypeServicepublic List<KimAttributeField> getAttributeDefinitions(String kimTypeId)
getAttributeDefinitions in interface org.kuali.rice.kim.framework.type.KimTypeServicepublic List<RemotableAttributeError> validateAttributes(String kimTypeId, Map<String,String> attributes)
validateAttributes in interface org.kuali.rice.kim.framework.type.KimTypeServicepublic List<RemotableAttributeError> validateAttributesAgainstExisting(String kimTypeId, Map<String,String> newAttributes, Map<String,String> oldAttributes)
validateAttributesAgainstExisting in interface org.kuali.rice.kim.framework.type.KimTypeServiceprotected boolean performMatch(Map<String,String> inputAttributes, Map<String,String> storedAttributes)
protected Map<String,String> translateInputAttributes(Map<String,String> qualification)
protected List<RemotableAttributeError> validateReferencesExistAndActive(KimType kimType, Map<String,String> attributes, List<RemotableAttributeError> previousValidationErrors)
protected List<RemotableAttributeError> validateAttributeRequired(String kimTypeId, String objectClassName, String attributeName, Object attributeValue, String errorKey)
protected List<RemotableAttributeError> validateDataDictionaryAttribute(String kimTypeId, String entryName, Object object, PropertyDescriptor propertyDescriptor)
protected List<RemotableAttributeError> validatePrimitiveFromDescriptor(String kimTypeId, String entryName, Object object, PropertyDescriptor propertyDescriptor)
protected Pattern getAttributeValidatingExpression(KimAttributeField definition)
protected Formatter getAttributeFormatter(KimAttributeField definition)
protected Double getAttributeMinValue(KimAttributeField definition)
protected Double getAttributeMaxValue(KimAttributeField definition)
protected List<RemotableAttributeError> validateAttributeFormat(String kimTypeId, String objectClassName, String attributeName, String attributeValue, String errorKey)
protected List<String> extractErrorsFromGlobalVariablesErrorMap(String attributeName)
protected List<RemotableAttributeError> validateNonDataDictionaryAttribute(KimTypeAttribute attr, String key, String value)
protected List<RemotableAttributeError> validateDataDictionaryAttribute(KimTypeAttribute attr, String key, String value)
protected KimAttributeField getDataDictionaryAttributeDefinition(String namespaceCode, String kimTypeId, KimTypeAttribute typeAttribute, List<String> uniqueAttributes)
namespaceCode - typeAttribute - protected KimAttributeField getNonDataDictionaryAttributeDefinition(String namespaceCode, String kimTypeId, KimTypeAttribute typeAttribute, List<String> uniqueAttributes)
protected void validateRequiredAttributesAgainstReceived(Map<String,String> receivedAttributes)
public List<RemotableAttributeError> validateUniqueAttributes(String kimTypeId, Map<String,String> newAttributes, Map<String,String> oldAttributes)
validateUniqueAttributes in interface org.kuali.rice.kim.framework.type.KimTypeServiceprotected boolean areAttributesEqual(List<String> uniqueAttributeNames, Map<String,String> aSet1, Map<String,String> aSet2)
protected String getAttributeValue(Map<String,String> aSet, String attributeName)
protected List<String> getUniqueAttributes(String kimTypeId)
public List<RemotableAttributeError> validateUnmodifiableAttributes(String kimTypeId, Map<String,String> originalAttributes, Map<String,String> newAttributes)
validateUnmodifiableAttributes in interface org.kuali.rice.kim.framework.type.KimTypeServiceprotected List<String> getRequiredAttributes()
protected boolean isCheckRequiredAttributes()
protected String getClosestParentDocumentTypeName(org.kuali.rice.kew.api.doctype.DocumentType documentType, Set<String> potentialParentDocumentTypeNames)
protected KimTypeInfoService getTypeInfoService()
protected BusinessObjectService getBusinessObjectService()
protected DictionaryValidationService getDictionaryValidationService()
protected DataDictionaryService getDataDictionaryService()
protected org.kuali.rice.kew.api.doctype.DocumentTypeService getDocumentTypeService()
Copyright © 2005–2018 The Kuali Foundation. All rights reserved.