Generated by
JDiff

Interface org.cyclos.impl.system.CustomFieldValueHandler

Removed Methods
void cloneCustomValuesData(<any>, Collection<V>) Converts a collection of CustomFieldValues to a collection if CustomFieldValueDTOs and set it in the given model container but cloning the related custom field value's data.
 

Added Methods
void addDefaultValues(EntityWithCustomValues<CF, C, PV, V>, Collection<CF>, Collection<V>) Adds a custom field value setting its default if it is not present in the given collection according to the fields list.
List<V> cloneCustomValuesData(EntityWithCustomValues<CF, C, PV, V>, Collection<V>) Clones a collection of CustomFieldValue managing the special cases: CustomFieldType.FILE and CustomFieldType.IMAGE, i.e cloning the associated CustomFieldValueFile and CustomFieldValueImage entities too.
This method offers the same support as .cloneCustomValuesData(ModelWithCustomValues, Collection) but for entities.
void cloneCustomValuesData(<any>, Collection<V>) Converts a collection of CustomFieldValue to a collection if CustomFieldValueDTOs and set it in the given model container but cloning the related custom field value's data.
(CustomField<?, ?, ?>) getCustomField(CustomFieldVO) Converts the given CustomFieldVO to the corresponding CustomField The CustomFieldVO parameter must have set the corresponding field's nature.
(Class<CustomField<?, ?, ?>>) getCustomFieldClass(CustomFieldNature) Returns the CustomField'class for the given nature.
void remove(CustomFieldValue<?, ?, ?, ?>) Removes the given field value, properly removing any stored files for binary fields
 

Changed Methods
void setDefaultValues(EntityWithCustomValues<CF, C, PV, V>, Collection<CF>) Documentation changed from old to new.
Adds a custom field value setting its default if it is not present in the given entity according to the fields list.