Package org.cxbox.core.dto.mapper
Class DtoConstructor<E extends BaseEntity,D extends org.cxbox.api.data.dto.DataResponseDTO>
- java.lang.Object
-
- org.cxbox.core.dto.mapper.DtoConstructor<E,D>
-
public abstract class DtoConstructor<E extends BaseEntity,D extends org.cxbox.api.data.dto.DataResponseDTO> extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected RequestValueSupplier<BaseEntity,org.cxbox.api.data.dto.DataResponseDTO,User>currentUserprotected RequestValueSupplier<BaseEntity,org.cxbox.api.data.dto.DataResponseDTO,Department>currentUserDeptprotected RequestValueSupplier<BaseEntity,org.cxbox.api.data.dto.DataResponseDTO,org.cxbox.api.data.dictionary.LOV>currentUserRole
-
Constructor Summary
Constructors Constructor Description DtoConstructor()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract Map<DtoField<? super D,?>,ValueSupplier<? super E,? super D,?>>buildValueSuppliers()Map<DtoField<? super D,?>,ValueSupplier<? super E,? super D,?>>getValueSuppliers()
-
-
-
Field Detail
-
currentUserDept
protected RequestValueSupplier<BaseEntity,org.cxbox.api.data.dto.DataResponseDTO,Department> currentUserDept
-
currentUser
protected RequestValueSupplier<BaseEntity,org.cxbox.api.data.dto.DataResponseDTO,User> currentUser
-
currentUserRole
protected RequestValueSupplier<BaseEntity,org.cxbox.api.data.dto.DataResponseDTO,org.cxbox.api.data.dictionary.LOV> currentUserRole
-
-