Package io.jmix.dynattrflowui.impl
Class AttributeDefaultValues
java.lang.Object
io.jmix.dynattrflowui.impl.AttributeDefaultValues
-
Field Summary
Modifier and TypeFieldDescriptionprotected final DataManager
protected final DynAttrMetadata
protected final Metadata
protected final ReferenceToEntitySupport
protected final TimeSource
-
Constructor Summary
ConstructorDescriptionAttributeDefaultValues
(Metadata metadata, DynAttrMetadata dynAttrMetadata, TimeSource timeSource, DataManager dataManager, ReferenceToEntitySupport referenceToEntitySupport) -
Method Summary
Modifier and TypeMethodDescriptionvoid
initDefaultAttributeValues
(Object entity) protected Object
reloadEntity
(AttributeDefinition attribute, Object entityId) protected void
setDefaultAttributeValue
(Object entity, AttributeDefinition attribute, Date currentTimestamp)
-
Field Details
-
metadata
-
dynAttrMetadata
-
timeSource
-
dataManager
-
referenceToEntitySupport
-
-
Constructor Details
-
AttributeDefaultValues
public AttributeDefaultValues(Metadata metadata, DynAttrMetadata dynAttrMetadata, TimeSource timeSource, DataManager dataManager, ReferenceToEntitySupport referenceToEntitySupport)
-
-
Method Details
-
initDefaultAttributeValues
-
setDefaultAttributeValue
protected void setDefaultAttributeValue(Object entity, AttributeDefinition attribute, Date currentTimestamp) -
reloadEntity
-