public abstract class AbstractRuleBuilderFieldService extends Object implements RuleBuilderFieldService, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
Modifier and Type | Field and Description |
---|---|
protected org.springframework.context.ApplicationContext |
applicationContext |
protected DynamicEntityDao |
dynamicEntityDao |
protected RuleBuilderFieldServiceExtensionManager |
extensionManager |
protected List<FieldData> |
fields |
Constructor and Description |
---|
AbstractRuleBuilderFieldService() |
Modifier and Type | Method and Description |
---|---|
FieldWrapper |
buildFields() |
RuleBuilderFieldService |
clone() |
protected FieldDTO |
constructFieldDTOFromFieldData(FieldData field) |
abstract String |
getDtoClassName() |
FieldDTO |
getField(String fieldName) |
List<FieldData> |
getFields() |
String |
getOverrideFieldEntityKey(String fieldName) |
SupportedFieldType |
getSecondaryFieldType(String fieldName) |
SupportedFieldType |
getSupportedFieldType(String fieldName) |
abstract void |
init() |
void |
onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setFields(List<FieldData> fields) |
void |
setRuleBuilderFieldServiceExtensionManager(RuleBuilderFieldServiceExtensionManager extensionManager) |
protected void |
validateRuleBuilderState(RuleBuilderFieldService fieldService) |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName
protected DynamicEntityDao dynamicEntityDao
protected org.springframework.context.ApplicationContext applicationContext
protected RuleBuilderFieldServiceExtensionManager extensionManager
public void setRuleBuilderFieldServiceExtensionManager(RuleBuilderFieldServiceExtensionManager extensionManager)
setRuleBuilderFieldServiceExtensionManager
in interface RuleBuilderFieldService
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
public FieldWrapper buildFields()
buildFields
in interface RuleBuilderFieldService
public SupportedFieldType getSupportedFieldType(String fieldName)
getSupportedFieldType
in interface RuleBuilderFieldService
public SupportedFieldType getSecondaryFieldType(String fieldName)
getSecondaryFieldType
in interface RuleBuilderFieldService
public FieldDTO getField(String fieldName)
getField
in interface RuleBuilderFieldService
public List<FieldData> getFields()
getFields
in interface RuleBuilderFieldService
public void setFields(List<FieldData> fields)
setFields
in interface RuleBuilderFieldService
public String getOverrideFieldEntityKey(String fieldName)
getOverrideFieldEntityKey
in interface RuleBuilderFieldService
public RuleBuilderFieldService clone() throws CloneNotSupportedException
clone
in interface RuleBuilderFieldService
clone
in class Object
CloneNotSupportedException
public abstract String getDtoClassName()
public abstract void init()
public void onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event)
onApplicationEvent
in interface org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
protected void validateRuleBuilderState(RuleBuilderFieldService fieldService)
Copyright © 2022. All rights reserved.