| Added Methods |
String format(FormatterImpl, CustomField<?, ?, ?>, Object)
|
Formats the given value according to the custom field definitions, returning an empty string for null value |
void processAfterSave(EntityWithCustomValues<?, ?, ?, ?>)
|
Process actions over custom fields that require the entity to be saved first. |
void removeAll(boolean, EntityWithCustomValues<?, ?, ?, ?>)
|
Removes either all custom fields of the given owner (if the flag is false) or only the binaries,
taking care to properly remove any stored files for binary fields |
| Changed Methods |
Object getValue(CustomField<?, ?, ?>, <any>)
|
Change in signature from (CustomField<?, ?, ?>, ICustomFieldValue) to (CustomField<?, ?, ?>, <any>).
|
Returns the value (as entities when possible) for the given custom field value |
void setDefaultValues(EntityWithCustomValues<CF, C, PV, V>, List<CF>)
|
Change in signature from (O extends org.cyclos.entities.BaseEntity & org.cyclos.entities.system.EntityWithCustomValues, java.util.List) to (O extends org.cyclos.entities.SimpleEntity & org.cyclos.entities.system.EntityWithCustomValues, java.util.List).
|
Adds an empty field value for each field, and fill in the default values |
List<SimpleEntity> toLinkedEntityValues(CustomField<?, ?, ?>, Collection<?>)
|
Change in return type from List<BaseEntity> to List<SimpleEntity>.
|
Convert each of the given input value to a linked entity suited for the given custom field |
Map<String, Object> toMap(Class<CustomField<?, ?, ?>>, List<?, extends, <any>>)
|
Change in signature from (Class<CustomField<?, ?, ?>>, List<? extends ICustomFieldValue>) to (Class<CustomField<?, ?, ?>>, List<? extends <any>>).
|
Returns a Map, keyed by the custom field internal names, whose values are "server side" (example, Date,
not DateTime,
CustomFieldPossibleValue, not CustomFieldPossibleValueVO, etc) |
void setCustomValues(EntityWithCustomValues<CF, C, PV, V>, Collection<CF>, Collection<CF>, Collection<CustomFieldValueDTO>)
|
Change in signature from (EntityWithCustomValues<CF, C, PV, V>, Collection<CF>, Collection<CF>, Collection<? extends CustomFieldValueDTO>) to (EntityWithCustomValues<CF, C, PV, V>, Collection<CF>, Collection<CF>, Collection<CustomFieldValueDTO>).
|
Saves the custom values from DTOs to the given entity |