public class DataDictionaryRemoteFieldBuilder extends Object
Constructor and Description |
---|
DataDictionaryRemoteFieldBuilder() |
Modifier and Type | Method and Description |
---|---|
org.kuali.rice.core.api.uif.RemotableAttributeField |
buildRemotableFieldFromAttributeDefinition(String componentClassName,
String attributeName) |
protected org.kuali.rice.core.api.uif.RemotableAbstractControl.Builder |
createControl(org.kuali.rice.krad.datadictionary.AttributeDefinition attr)
Creates a
RemotableAbstractControl instance based on the control definition within the given attribute definition |
protected org.kuali.rice.core.api.uif.RemotableQuickFinder.Builder |
createQuickFinder(Class<?> componentClass,
String attributeName)
Builds a
RemotableQuickFinder instance for the given attribute based on determined relationships |
protected org.kuali.rice.krad.service.DataDictionaryService |
getDataDictionaryService() |
protected org.kuali.rice.krad.service.DataObjectMetaDataService |
getDataObjectMetaDataService() |
protected org.kuali.rice.core.api.config.property.ConfigurationService |
getKualiConfigurationService() |
protected Map<String,String> |
getValues(org.kuali.rice.krad.datadictionary.AttributeDefinition attr)
Will first try to retrieve options configured on the control.
|
public DataDictionaryRemoteFieldBuilder()
public org.kuali.rice.core.api.uif.RemotableAttributeField buildRemotableFieldFromAttributeDefinition(String componentClassName, String attributeName)
DataDictionaryRemoteFieldService.buildRemotableFieldFromAttributeDefinition(java.lang.String,
java.lang.String)
protected org.kuali.rice.core.api.uif.RemotableAbstractControl.Builder createControl(org.kuali.rice.krad.datadictionary.AttributeDefinition attr)
RemotableAbstractControl
instance based on the control definition within the given attribute definitionattr
- - attribute definition instance to pull control fromprotected Map<String,String> getValues(org.kuali.rice.krad.datadictionary.AttributeDefinition attr)
attr
- - AttributeDefinitionprotected org.kuali.rice.core.api.uif.RemotableQuickFinder.Builder createQuickFinder(Class<?> componentClass, String attributeName)
RemotableQuickFinder
instance for the given attribute based on determined relationships
Uses the DataObjectMetaDataService
to find relationships the given attribute participates in within the given class.
If a relationship is not found, the title attribute is also checked to determine if a lookup should be rendered back to the
component class itself. If a relationship suitable for lookup is found, the associated field conversions and lookup
parameters are built
componentClass
- - class that attribute belongs to and should be checked for relationshipsattributeName
- - name of the attribute to determine quickfinder forprotected org.kuali.rice.krad.service.DataDictionaryService getDataDictionaryService()
protected org.kuali.rice.krad.service.DataObjectMetaDataService getDataObjectMetaDataService()
protected org.kuali.rice.core.api.config.property.ConfigurationService getKualiConfigurationService()
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.