|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.service.impl.DataDictionaryRemoteFieldServiceImpl
public class DataDictionaryRemoteFieldServiceImpl
Implementation of the DataDictionaryRemoteFieldService
service
Constructor Summary | |
---|---|
DataDictionaryRemoteFieldServiceImpl()
|
Method Summary | |
---|---|
RemotableAttributeField |
buildRemotableFieldFromAttributeDefinition(String componentClassName,
String attributeName)
Builds and returns an RemotableAttributeField instance based on the data dictionary attribute definition
that is associated with the given component class name (business object or data object entry) and the given
attribute name |
protected RemotableAbstractControl.Builder |
createControl(AttributeDefinition attr)
Creates a RemotableAbstractControl instance based on the control definition within the given
attribute definition |
protected RemotableQuickFinder.Builder |
createQuickFinder(Class<?> componentClass,
String attributeName)
Builds a RemotableQuickFinder instance for the given attribute based on determined relationships |
protected DataDictionaryService |
getDataDictionaryService()
|
protected DataObjectMetaDataService |
getDataObjectMetaDataService()
|
protected ConfigurationService |
getKualiConfigurationService()
|
protected Map<String,String> |
getValues(AttributeDefinition attr)
Will first try to retrieve options configured on the control. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataDictionaryRemoteFieldServiceImpl()
Method Detail |
---|
public RemotableAttributeField buildRemotableFieldFromAttributeDefinition(String componentClassName, String attributeName)
DataDictionaryRemoteFieldService
RemotableAttributeField
instance based on the data dictionary attribute definition
that is associated with the given component class name (business object or data object entry) and the given
attribute name
If an attribute definition is not found a runtime exception should be thrown
buildRemotableFieldFromAttributeDefinition
in interface DataDictionaryRemoteFieldService
componentClassName
- - class name for the attribute, used to find the data dictionary entryattributeName
- - name of the attribute whose definition should be used
DataDictionaryRemoteFieldService.buildRemotableFieldFromAttributeDefinition(java.lang.String,
java.lang.String)
protected RemotableAbstractControl.Builder createControl(AttributeDefinition attr)
RemotableAbstractControl
instance based on the control definition within the given
attribute definition
attr
- - attribute definition instance to pull control from
protected Map<String,String> getValues(AttributeDefinition attr)
attr
- - AttributeDefinition
protected 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 for
protected DataDictionaryService getDataDictionaryService()
protected DataObjectMetaDataService getDataObjectMetaDataService()
protected ConfigurationService getKualiConfigurationService()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |