@GeneratedType(value="net.datenwerke.dtoservices.dtogenerator.DtoAnnotationProcessor") public class Dto2UserPropertyGenerator extends java.lang.Object implements Dto2PosoGenerator<UserPropertyDto,UserProperty>
Constructor and Description |
---|
Dto2UserPropertyGenerator(Dto2PosoSupervisorDefaultImpl dto2PosoSupervisor,
<any> dtoServiceProvider,
<any> entityManagerProvider,
ReflectionService reflectionService) |
Modifier and Type | Method and Description |
---|---|
UserProperty |
createPoso(UserPropertyDto dto)
Creates a new Poso obejct with the data provided by the dto.
|
UserProperty |
createUnmanagedPoso(UserPropertyDto dto) |
UserProperty |
instantiatePoso() |
UserProperty |
loadAndMergePoso(UserPropertyDto dto) |
UserProperty |
loadPoso(UserPropertyDto dto)
Loads the poso referenced by the dto.
|
void |
mergePoso(UserPropertyDto dto,
UserProperty poso) |
void |
mergeUnmanagedPoso(UserPropertyDto dto,
UserProperty poso) |
void |
postProcessCreate(UserPropertyDto dto,
UserProperty poso) |
void |
postProcessCreateUnmanaged(UserPropertyDto dto,
UserProperty poso) |
void |
postProcessInstantiate(UserProperty poso) |
void |
postProcessLoad(UserPropertyDto dto,
UserProperty poso) |
void |
postProcessMerge(UserPropertyDto dto,
UserProperty poso) |
public Dto2UserPropertyGenerator(Dto2PosoSupervisorDefaultImpl dto2PosoSupervisor, <any> dtoServiceProvider, <any> entityManagerProvider, ReflectionService reflectionService)
public UserProperty loadPoso(UserPropertyDto dto)
Dto2PosoGenerator
loadPoso
in interface Dto2PosoGenerator<UserPropertyDto,UserProperty>
public UserProperty instantiatePoso()
instantiatePoso
in interface Dto2PosoGenerator<UserPropertyDto,UserProperty>
public UserProperty createPoso(UserPropertyDto dto) throws ExpectedException
Dto2PosoGenerator
createPoso
in interface Dto2PosoGenerator<UserPropertyDto,UserProperty>
ExpectedException
public UserProperty createUnmanagedPoso(UserPropertyDto dto) throws ExpectedException
createUnmanagedPoso
in interface Dto2PosoGenerator<UserPropertyDto,UserProperty>
ExpectedException
public void mergePoso(UserPropertyDto dto, UserProperty poso) throws ExpectedException
mergePoso
in interface Dto2PosoGenerator<UserPropertyDto,UserProperty>
ExpectedException
public void mergeUnmanagedPoso(UserPropertyDto dto, UserProperty poso) throws ExpectedException
mergeUnmanagedPoso
in interface Dto2PosoGenerator<UserPropertyDto,UserProperty>
ExpectedException
public UserProperty loadAndMergePoso(UserPropertyDto dto) throws ExpectedException
loadAndMergePoso
in interface Dto2PosoGenerator<UserPropertyDto,UserProperty>
ExpectedException
public void postProcessCreate(UserPropertyDto dto, UserProperty poso)
postProcessCreate
in interface Dto2PosoGenerator<UserPropertyDto,UserProperty>
public void postProcessCreateUnmanaged(UserPropertyDto dto, UserProperty poso)
postProcessCreateUnmanaged
in interface Dto2PosoGenerator<UserPropertyDto,UserProperty>
public void postProcessLoad(UserPropertyDto dto, UserProperty poso)
postProcessLoad
in interface Dto2PosoGenerator<UserPropertyDto,UserProperty>
public void postProcessMerge(UserPropertyDto dto, UserProperty poso)
postProcessMerge
in interface Dto2PosoGenerator<UserPropertyDto,UserProperty>
public void postProcessInstantiate(UserProperty poso)
postProcessInstantiate
in interface Dto2PosoGenerator<UserPropertyDto,UserProperty>