Interface IEntityContentFieldsFiller
- All Known Implementing Classes:
EntityContentFieldsFiller
public interface IEntityContentFieldsFiller
- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptionvoidfillUpEntityContentFieldsFromContentFieldDtos(IEntity entity, IContainer<FieldDto> contentFieldDtos) Fills up the content fields of the given entity from the given contentFieldDtos.voidfillUpEntityContentFieldsFromEntityLoadingDto(IEntity entity, EntityLoadingDto entityLoadingDto) Fills up the content fields of the given entity from the given entityLoadingDto.
-
Method Details
-
fillUpEntityContentFieldsFromContentFieldDtos
void fillUpEntityContentFieldsFromContentFieldDtos(IEntity entity, IContainer<FieldDto> contentFieldDtos) Fills up the content fields of the given entity from the given contentFieldDtos.- Parameters:
entity-contentFieldDtos-- Throws:
RuntimeException- if the given entity is null.RuntimeException- if the given contentFieldDtos is null.RuntimeException- if one of the given contentFieldDtos is null.
-
fillUpEntityContentFieldsFromEntityLoadingDto
void fillUpEntityContentFieldsFromEntityLoadingDto(IEntity entity, EntityLoadingDto entityLoadingDto) Fills up the content fields of the given entity from the given entityLoadingDto.- Parameters:
entity-entityLoadingDto-- Throws:
RuntimeException- if the given entity is null.RuntimeException- if the given entityLoadingDto is null.
-