| Added Methods |
(CustomFieldValue<CF, C, PV, O>) buildFieldValue(CustomField<CF, C, PV>, Class<V>, QCustomFieldValue, Tuple)
|
Builds a field value from a projected custom field. |
Set<<any>> getProjectionPaths(CustomField<?, ?, ?>, QCustomFieldValue)
|
Returns the paths that should be projected for the given custom field |
void resolveReferences(Class<CF>, List<CustomFieldValueDTO>)
|
Resolves the references for all the given field values, given the custom field type |
void setCustomValues(EntityWithCustomValues<CF, C, PV, V>, Collection<CF>, Collection<CF>, Collection<?, extends, CustomFieldValueDTO>)
|
Saves the custom values from DTOs to the given entity |
void setCustomValues(BasicUser, Collection<UserCustomField>, Collection<UserCustomField>, Collection<UserCustomField>, Collection<UserCustomFieldValueDTO>)
|
Saves the custom values from DTOs to the given user |
void setDefaultValue(CustomFieldDetailedVO, Object)
|
Sets the default field value to the given value |
void sortAndRemoveMissing(List<?, extends, CustomFieldValueDTO>, List<?, extends, IEntity>)
|
Sorts the given list of CustomFieldValueDTO and remove a value if it's for a field not present in the
given list of allowed fields (i.e. |
void sortAndRemoveMissingFromVO(List<?, extends, CustomFieldValueVO>, List<?, extends, IEntity>)
|
Same as .sortAndRemoveMissing(List, List) but for a list of VOs
|
(List<CustomFieldPossibleValue<?, ?, ?>>) toCustomFieldPossibleValues(CustomField<?, ?, ?>, Collection<?>)
|
Converts each of the given input value to a custom field possible value of the given field |
String toReference(CustomField<?, ?, ?>, Object)
|
Converts the given field value to a valid reference value |