Class DtoAwarePersistentEntityFactory<T>
java.lang.Object
com.foreach.across.modules.entity.registry.PersistentEntityFactory<T>
com.foreach.across.modules.entity.registry.DtoAwarePersistentEntityFactory<T>
- All Implemented Interfaces:
EntityFactory<T>
- Since:
- 3.0.0
- Author:
- Arne Vandamme
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDtoAwarePersistentEntityFactory(org.springframework.data.mapping.PersistentEntity<T, ?> persistentEntity) -
Method Summary
Methods inherited from class com.foreach.across.modules.entity.registry.PersistentEntityFactory
createNew
-
Constructor Details
-
DtoAwarePersistentEntityFactory
public DtoAwarePersistentEntityFactory(org.springframework.data.mapping.PersistentEntity<T, ?> persistentEntity)
-
-
Method Details
-
createDto
Description copied from interface:EntityFactoryCreate a DTO of an existing entity.- Specified by:
createDtoin interfaceEntityFactory<T>- Overrides:
createDtoin classPersistentEntityFactory<T>- Parameters:
entity- to create a DTO for- Returns:
- dto
-